Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Planes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 109.5 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 188.8 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2156/0.2156, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.88 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3373, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01177/0.3491, allocations: 11.54 MB / 0.5297 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007711/0.3569, allocations: 3.029 MB / 0.5326 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.3593, allocations: 62.84 kB / 0.5327 GB, free: 8.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003828/0.3632, allocations: 1.559 MB / 0.5342 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.3677, allocations: 1.58 MB / 0.5358 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006587/0.3684, allocations: 111.1 kB / 0.5359 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005278/0.3737, allocations: 3.339 MB / 0.5391 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003642/0.3774, allocations: 2.189 MB / 0.5413 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.38, allocations: 1.148 MB / 0.5424 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004052/0.3841, allocations: 2.435 MB / 0.5448 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.3852, allocations: 228 kB / 0.545 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.3874, allocations: 0.7177 MB / 0.5457 GB, free: 112 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.3896, allocations: 1.523 MB / 0.5472 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003145/0.3928, allocations: 1.828 MB / 0.549 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008073/0.4009, allocations: 5.97 MB / 0.5548 GB, free: 6.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.401, allocations: 0 / 0.5548 GB, free: 6.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.401, allocations: 0 / 0.5548 GB, free: 6.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000212/0.4012, allocations: 0 / 0.5548 GB, free: 6.75 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.009962/0.4112, allocations: 4.03 MB / 0.5587 GB, free: 2.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4112, allocations: 12.03 kB / 0.5587 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001688/0.4129, allocations: 0.6877 MB / 0.5594 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.4232, allocations: 2.963 MB / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004842/0.4281, allocations: 1.839 MB / 0.5641 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.4283, allocations: 192.6 kB / 0.5643 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.4294, allocations: 239.8 kB / 0.5645 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.4471, allocations: 9.753 MB / 0.574 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.533e-05/0.4472, allocations: 15.88 kB / 0.574 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009829/0.4482, allocations: 119.8 kB / 0.5742 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004013/0.4523, allocations: 2.366 MB / 0.5765 GB, free: 36 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01829/0.4706, allocations: 8.944 MB / 0.5852 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05046/0.5211, allocations: 29.5 MB / 0.614 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006741/0.5279, allocations: 3.484 MB / 0.6174 GB, free: 5.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.5297, allocations: 1.099 MB / 0.6185 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01278/0.5425, allocations: 6.465 MB / 0.6248 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.5425, allocations: 47.16 kB / 0.6248 GB, free: 13.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 5.21e-06/0.5426, allocations: 0 / 0.6248 GB, free: 13.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.0086/0.5512, allocations: 3.13 MB / 0.6279 GB, free: 9.895 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.5513, allocations: 115.5 kB / 0.628 GB, free: 9.758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00542/0.5567, allocations: 2.734 MB / 0.6307 GB, free: 7.004 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.5569, allocations: 45.7 kB / 0.6307 GB, free: 6.953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002317/0.5593, allocations: 2.734 MB / 0.6334 GB, free: 4.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007744/0.5601, allocations: 0.5207 MB / 0.6339 GB, free: 3.648 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001814/0.5619, allocations: 0.9284 MB / 0.6348 GB, free: 2.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.562, allocations: 301.1 kB / 0.6351 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/0.5644, allocations: 1.406 MB / 0.6365 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00462/0.5691, allocations: 4.233 MB / 0.6406 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007363/0.5765, allocations: 6.143 MB / 0.6466 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.88e-05/0.5766, allocations: 28 kB / 0.6466 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01063/0.5873, allocations: 5.465 MB / 0.652 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.5875, allocations: 48 kB / 0.652 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/0.5876, allocations: 100 kB / 0.6521 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.5878, allocations: 132.8 kB / 0.6522 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/0.591, allocations: 0.9942 MB / 0.6532 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001929/0.5912, allocations: 203.2 kB / 0.6534 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003582/0.5948, allocations: 0.6107 MB / 0.654 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009205/0.5957, allocations: 288 kB / 0.6543 GB, free: 11.93 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 543 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003622/0.5994, allocations: 1.969 MB / 0.6562 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005707/0.6, allocations: 232.8 kB / 0.6564 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008093/0.6008, allocations: 292.8 kB / 0.6567 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-05/0.6009, allocations: 16.19 kB / 0.6567 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.6009, allocations: 4 kB / 0.6567 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.6009, allocations: 7.969 kB / 0.6567 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.614, allocations: 6.196 MB / 0.6628 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.025e-05/0.614, allocations: 8 kB / 0.6628 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007047/0.6148, allocations: 163.7 kB / 0.6629 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.804e-05/0.6148, allocations: 12 kB / 0.6629 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.6149, allocations: 31.98 kB / 0.663 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.611e-05/0.6149, allocations: 15.94 kB / 0.663 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.615, allocations: 11.94 kB / 0.663 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.6176, allocations: 2.002 MB / 0.665 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006596/0.6183, allocations: 309.7 kB / 0.6653 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004269/0.6187, allocations: 27.98 kB / 0.6653 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008487/0.6196, allocations: 47.95 kB / 0.6653 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.6198, allocations: 80.28 kB / 0.6654 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.6199, allocations: 44 kB / 0.6654 GB, free: 164 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003115/0.623, allocations: 1.678 MB / 0.6671 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.31e-07/0.6231, allocations: 0 / 0.6671 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004728/0.6278, allocations: 1.042 MB / 0.6681 GB, free: 13.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003313/0.6311, allocations: 2.648 MB / 0.6707 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0051/0.6363, allocations: 3.29 MB / 0.6739 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.6363, allocations: 0 / 0.6739 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6374, allocations: 0.7872 MB / 0.6747 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.6394, allocations: 311.9 kB / 0.675 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05191/0.6913, allocations: 30.92 MB / 0.7052 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00586/0.6972, allocations: 3.1 MB / 0.7082 GB, free: 232 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004204/0.7015, allocations: 1.552 MB / 0.7097 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0029/0.7044, allocations: 1.597 MB / 0.7113 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of SimCode: time 1.663e-06/0.7044, allocations: 0 / 0.7113 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3201/1.024, allocations: 42.01 MB / 0.7523 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.25, allocations: 14.12 kB / 0.7523 GB, free: 175.9 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Planes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches