Skip to content

Passed

tests / testsuite-compliance / ModelicaCompliance.Arrays.Operations.Arithmetic.ArraySubtractionIncorrect1.ArraySubtractionIncorrect1 (from omc OMCompiler v1.14.1-v1.14.1.3+ge7881aca3a compliance suite 3.2)

Took 0.26 sec.

Standard Output

Failed to build model: ModelicaCompliance.Arrays.Operations.Arithmetic.ArraySubtractionIncorrect1[/var/lib/jenkins3/ws/OpenModelica_maintenance_v1.14/build/lib/omlibrary/ModelicaCompliance 3.2/Arrays/Operations/Arithmetic/ArraySubtractionIncorrect1.mo:6:3-6:35:writable] Error: Incompatible argument types to operation vector subtraction in component <NO COMPONENT>, left type: Integer[3], right type: Integer[2]
[/var/lib/jenkins3/ws/OpenModelica_maintenance_v1.14/build/lib/omlibrary/ModelicaCompli
...[truncated 154 chars]...
in component <NO COMPONENT>, left type: Real[3], right type: Real[2]
[/var/lib/jenkins3/ws/OpenModelica_maintenance_v1.14/build/lib/omlibrary/ModelicaCompliance 3.2/Arrays/Operations/Arithmetic/ArraySubtractionIncorrect1.mo:6:3-6:35:writable] Error: Cannot resolve type of expression {1, 2, 3} - {1, 2}. The operands have types Integer[3], Integer[2] in component <NO COMPONENT>.
Error: Error occurred while flattening model ModelicaCompliance.Arrays.Operations.Arithmetic.ArraySubtractionIncorrect1