Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 174 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.72/1.72, allocations: 225.7 MB / 243.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008121/0.0008121, allocations: 91.94 kB / 295.1 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3166/0.3166, allocations: 44.31 MB / 390.5 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 8 kB / 463.1 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3331, allocations: 61.9 MB / 0.5127 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02083/0.354, allocations: 26.22 MB / 0.5383 GB, free: 19.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.3663, allocations: 7.578 MB / 0.5457 GB, free: 13.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004713/0.3711, allocations: 123.6 kB / 0.5459 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.3722, allocations: 413.3 kB / 0.5462 GB, free: 13.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.3757, allocations: 1.506 MB / 0.5477 GB, free: 12.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.376, allocations: 105.9 kB / 0.5478 GB, free: 12.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005062/0.3811, allocations: 4.896 MB / 0.5526 GB, free: 10.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003926/0.385, allocations: 3.151 MB / 0.5557 GB, free: 9.211 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.3866, allocations: 0.9867 MB / 0.5566 GB, free: 8.871 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003982/0.3906, allocations: 2.739 MB / 0.5593 GB, free: 7.996 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005804/0.3912, allocations: 121.3 kB / 0.5594 GB, free: 7.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.3928, allocations: 0.6206 MB / 0.56 GB, free: 7.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.3942, allocations: 1.399 MB / 0.5614 GB, free: 7.391 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.3958, allocations: 1.73 MB / 0.5631 GB, free: 6.113 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006028/0.4018, allocations: 5.494 MB / 0.5685 GB, free: 3.258 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4019, allocations: 1.25 kB / 0.5685 GB, free: 3.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4019, allocations: 0 / 0.5685 GB, free: 3.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001725/0.4021, allocations: 4 kB / 0.5685 GB, free: 3.254 MB / 378.7 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.006536/0.4086, allocations: 3.297 MB / 0.5717 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4087, allocations: 12.03 kB / 0.5717 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009293/0.418, allocations: 3.045 MB / 0.5747 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004074/0.4221, allocations: 1.819 MB / 0.5764 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.4223, allocations: 184.9 kB / 0.5766 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006922/0.423, allocations: 239.8 kB / 0.5768 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/0.4395, allocations: 9.737 MB / 0.5864 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/0.4396, allocations: 15.88 kB / 0.5864 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003493/0.4399, allocations: 111.8 kB / 0.5865 GB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003443/0.4434, allocations: 2.377 MB / 0.5888 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.4595, allocations: 8.897 MB / 0.5975 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04093/0.5005, allocations: 29.76 MB / 0.6265 GB, free: 7.414 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005984/0.5065, allocations: 3.475 MB / 0.6299 GB, free: 3.699 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.508, allocations: 1.102 MB / 0.631 GB, free: 2.594 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009559/0.5175, allocations: 6.469 MB / 0.6373 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.5176, allocations: 55.14 kB / 0.6374 GB, free: 11.63 MB / 458.7 MB Notification: Performance of pre-optimization done (n=135): time 3.888e-06/0.5176, allocations: 0 / 0.6374 GB, free: 11.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=135): time 0.007157/0.5248, allocations: 3.11 MB / 0.6404 GB, free: 8.512 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.5249, allocations: 119.4 kB / 0.6405 GB, free: 8.371 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/0.5285, allocations: 2.714 MB / 0.6432 GB, free: 5.637 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.841e-05/0.5286, allocations: 37.7 kB / 0.6432 GB, free: 5.594 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.5303, allocations: 2.738 MB / 0.6459 GB, free: 2.812 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.5307, allocations: 0.5169 MB / 0.6464 GB, free: 2.289 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.5309, allocations: 91.98 kB / 0.6465 GB, free: 2.199 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002924/0.5312, allocations: 0.5043 MB / 0.647 GB, free: 1.688 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.5331, allocations: 1.383 MB / 0.6483 GB, free: 304 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003717/0.5368, allocations: 4.205 MB / 0.6524 GB, free: 10.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006152/0.543, allocations: 6.131 MB / 0.6584 GB, free: 3.145 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.566e-05/0.543, allocations: 28 kB / 0.6585 GB, free: 3.117 MB / 474.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008394/0.5514, allocations: 5.412 MB / 0.6637 GB, free: 13.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.933e-05/0.5515, allocations: 48 kB / 0.6638 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.5516, allocations: 100 kB / 0.6639 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.5518, allocations: 132 kB / 0.664 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/0.5544, allocations: 0.9981 MB / 0.665 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001467/0.5546, allocations: 199.2 kB / 0.6652 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/0.5573, allocations: 0.6187 MB / 0.6658 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/0.5576, allocations: 292 kB / 0.6661 GB, free: 11.31 MB / 490.7 MB 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.003428/0.5611, allocations: 1.97 MB / 0.668 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.5615, allocations: 232.8 kB / 0.6682 GB, free: 9.098 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004598/0.5619, allocations: 292.8 kB / 0.6685 GB, free: 8.805 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/0.562, allocations: 23.97 kB / 0.6685 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.562, allocations: 4 kB / 0.6685 GB, free: 8.777 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.562, allocations: 3.984 kB / 0.6685 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00916/0.5712, allocations: 6.184 MB / 0.6746 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.5712, allocations: 12.19 kB / 0.6746 GB, free: 2.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.5719, allocations: 167.7 kB / 0.6747 GB, free: 2.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.5719, allocations: 12 kB / 0.6747 GB, free: 2.234 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/0.572, allocations: 28 kB / 0.6748 GB, free: 2.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.656e-05/0.572, allocations: 19.92 kB / 0.6748 GB, free: 2.188 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.075e-05/0.572, allocations: 11.94 kB / 0.6748 GB, free: 2.176 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.5743, allocations: 1.986 MB / 0.6767 GB, free: 72 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005927/0.5749, allocations: 325.7 kB / 0.677 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.5752, allocations: 31.97 kB / 0.6771 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/0.5758, allocations: 43.95 kB / 0.6771 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.5759, allocations: 80.3 kB / 0.6772 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.269e-05/0.576, allocations: 44 kB / 0.6772 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002449/0.5785, allocations: 1.658 MB / 0.6789 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5785, allocations: 0 / 0.6789 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003424/0.5819, allocations: 1.05 MB / 0.6799 GB, free: 12.81 MB / 0.4948 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.0003046/0.5822, allocations: 163.7 kB / 0.68 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004356/0.5866, allocations: 3.233 MB / 0.6832 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5866, allocations: 0 / 0.6832 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008927/0.5875, allocations: 0.7896 MB / 0.684 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/0.5915, allocations: 304.9 kB / 0.6843 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2824/0.8739, allocations: 9.787 MB / 0.6938 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/0.8774, allocations: 3.099 MB / 0.6968 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003554/0.881, allocations: 1.555 MB / 0.6984 GB, free: 146 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.8814, allocations: 170.8 kB / 0.6985 GB, free: 146 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.8814, allocations: 1.859 kB / 0.6985 GB, free: 146 MB / 0.4948 GB Notification: Performance of Templates: time 0.0412/0.9226, allocations: 18.97 MB / 0.717 GB, free: 143.8 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches