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.001507/0.001507, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001727/0.001727, allocations: 179.9 kB / 18.71 MB, free: 4.367 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2088/0.2088, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3502, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01238/0.3627, allocations: 11.55 MB / 0.5297 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008293/0.371, allocations: 3.03 MB / 0.5326 GB, free: 8.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.3735, allocations: 61.72 kB / 0.5327 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.377, allocations: 1.552 MB / 0.5342 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.3815, allocations: 1.625 MB / 0.5358 GB, free: 6.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.3821, allocations: 111.5 kB / 0.5359 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005198/0.3873, allocations: 3.331 MB / 0.5392 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003297/0.3907, allocations: 2.189 MB / 0.5413 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.3931, allocations: 1.155 MB / 0.5424 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003915/0.397, allocations: 2.433 MB / 0.5448 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008903/0.3979, allocations: 228 kB / 0.545 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.3998, allocations: 0.7099 MB / 0.5457 GB, free: 60 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001827/0.4017, allocations: 1.527 MB / 0.5472 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002549/0.4042, allocations: 1.836 MB / 0.549 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006903/0.4112, allocations: 5.966 MB / 0.5548 GB, free: 6.691 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4112, allocations: 0 / 0.5548 GB, free: 6.691 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.4112, allocations: 4 kB / 0.5548 GB, free: 6.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001788/0.4114, allocations: 0 / 0.5548 GB, free: 6.688 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.00804/0.4194, allocations: 4.022 MB / 0.5588 GB, free: 2.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4195, allocations: 8.031 kB / 0.5588 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001432/0.4209, allocations: 0.6993 MB / 0.5595 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009398/0.4303, allocations: 2.959 MB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003853/0.4342, allocations: 1.839 MB / 0.5641 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.4344, allocations: 188.6 kB / 0.5643 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/0.4355, allocations: 235.8 kB / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01715/0.4526, allocations: 9.76 MB / 0.5741 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.4528, allocations: 15.88 kB / 0.5741 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00112/0.4539, allocations: 111.8 kB / 0.5742 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003986/0.4579, allocations: 2.369 MB / 0.5765 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01692/0.4749, allocations: 8.948 MB / 0.5852 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04415/0.5191, allocations: 29.5 MB / 0.6141 GB, free: 8.777 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006655/0.5258, allocations: 3.479 MB / 0.6174 GB, free: 5.047 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.5276, allocations: 1.107 MB / 0.6185 GB, free: 3.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.5391, allocations: 6.476 MB / 0.6249 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.5392, allocations: 43.22 kB / 0.6249 GB, free: 12.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 6.062e-06/0.5392, allocations: 0 / 0.6249 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.008022/0.5472, allocations: 3.13 MB / 0.628 GB, free: 9.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.5473, allocations: 115.4 kB / 0.6281 GB, free: 9.699 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00472/0.552, allocations: 2.734 MB / 0.6307 GB, free: 6.945 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.5522, allocations: 45.69 kB / 0.6308 GB, free: 6.895 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00205/0.5543, allocations: 2.734 MB / 0.6334 GB, free: 4.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006614/0.555, allocations: 0.5207 MB / 0.634 GB, free: 3.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/0.5566, allocations: 0.9284 MB / 0.6349 GB, free: 2.648 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5567, allocations: 301.1 kB / 0.6351 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.5589, allocations: 1.403 MB / 0.6365 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/0.5631, allocations: 4.233 MB / 0.6407 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006908/0.57, allocations: 6.147 MB / 0.6467 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.779e-05/0.5701, allocations: 28 kB / 0.6467 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009379/0.5795, allocations: 5.461 MB / 0.652 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.5797, allocations: 48 kB / 0.6521 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/0.5798, allocations: 100 kB / 0.6522 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.58, allocations: 132.8 kB / 0.6523 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/0.583, allocations: 0.9944 MB / 0.6533 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001879/0.5832, allocations: 199.2 kB / 0.6534 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/0.5863, allocations: 0.6146 MB / 0.654 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005585/0.5869, allocations: 288 kB / 0.6543 GB, free: 11.88 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.00323/0.5901, allocations: 1.973 MB / 0.6562 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.5906, allocations: 236.8 kB / 0.6565 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/0.5913, allocations: 288.8 kB / 0.6567 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.795e-05/0.5913, allocations: 16 kB / 0.6568 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.5913, allocations: 8 kB / 0.6568 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.5914, allocations: 4.172 kB / 0.6568 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.6031, allocations: 6.188 MB / 0.6628 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.6031, allocations: 11.98 kB / 0.6628 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/0.6038, allocations: 167.7 kB / 0.663 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-05/0.6038, allocations: 12 kB / 0.663 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.646e-05/0.6039, allocations: 24 kB / 0.663 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.808e-05/0.604, allocations: 19.92 kB / 0.663 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.604, allocations: 11.94 kB / 0.6631 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.6065, allocations: 2.01 MB / 0.665 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006182/0.6071, allocations: 305.8 kB / 0.6653 GB, free: 304 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004024/0.6075, allocations: 24 kB / 0.6653 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008285/0.6084, allocations: 43.95 kB / 0.6654 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.6085, allocations: 84.3 kB / 0.6655 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.621e-05/0.6086, allocations: 51.97 kB / 0.6655 GB, free: 100 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002976/0.6116, allocations: 1.674 MB / 0.6671 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6116, allocations: 0 / 0.6671 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004028/0.6157, allocations: 1.038 MB / 0.6682 GB, free: 13.37 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.003184/0.6189, allocations: 2.652 MB / 0.6707 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004952/0.6239, allocations: 3.279 MB / 0.6739 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.6239, allocations: 8 kB / 0.6739 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009549/0.6249, allocations: 0.795 MB / 0.6747 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.6266, allocations: 300.2 kB / 0.675 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04642/0.6731, allocations: 30.92 MB / 0.7052 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004506/0.6776, allocations: 3.096 MB / 0.7082 GB, free: 184 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003501/0.6811, allocations: 1.552 MB / 0.7097 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/0.6834, allocations: 1.604 MB / 0.7113 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/0.6834, allocations: 0 / 0.7113 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3534/1.037, allocations: 41.51 MB / 0.7518 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.85, allocations: 14.19 kB / 0.7519 GB, free: 163.5 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