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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 104.7 kB / 17.63 MB, free: 5.336 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.001622/0.001623, allocations: 192 kB / 18.55 MB, free: 4.43 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.335/1.335, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2032/0.2032, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.92 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1178, allocations: 60.83 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0116/0.1295, allocations: 11.54 MB / 480.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006182/0.1357, allocations: 3.021 MB / 483.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.1373, allocations: 63.88 kB / 483.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002778/0.1401, allocations: 1.561 MB / 485.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.1434, allocations: 1.568 MB / 487 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.1438, allocations: 115.8 kB / 487.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004421/0.1482, allocations: 3.326 MB / 490.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.1506, allocations: 2.199 MB / 492.6 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.1525, allocations: 1.156 MB / 493.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003274/0.1558, allocations: 2.435 MB / 496.2 MB, free: 3.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006883/0.1565, allocations: 232 kB / 496.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.1582, allocations: 0.706 MB / 497.2 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001938/0.1602, allocations: 1.515 MB / 498.7 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002484/0.1627, allocations: 1.828 MB / 0.4888 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006162/0.1688, allocations: 5.681 MB / 0.4943 GB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.1689, allocations: 0 / 0.4943 GB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.1689, allocations: 0 / 0.4943 GB, free: 9.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002213/0.1691, allocations: 3.938 kB / 0.4943 GB, free: 9.258 MB / 382.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.009051/0.1782, allocations: 4.026 MB / 0.4983 GB, free: 5.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1783, allocations: 8.031 kB / 0.4983 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009577/0.1878, allocations: 2.967 MB / 0.5012 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/0.1916, allocations: 1.812 MB / 0.5029 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.1917, allocations: 184.9 kB / 0.5031 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2492/0.4409, allocations: 238.5 kB / 0.5033 GB, free: 45.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.4588, allocations: 9.756 MB / 0.5129 GB, free: 42.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.665e-05/0.4589, allocations: 19.66 kB / 0.5129 GB, free: 42.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003482/0.4593, allocations: 114.2 kB / 0.513 GB, free: 42.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004236/0.4635, allocations: 2.368 MB / 0.5153 GB, free: 42.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.4808, allocations: 8.948 MB / 0.524 GB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03743/0.5182, allocations: 29.72 MB / 0.5531 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005315/0.5236, allocations: 3.484 MB / 0.5565 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.5248, allocations: 1.111 MB / 0.5576 GB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.5349, allocations: 6.469 MB / 0.5639 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.5351, allocations: 43.22 kB / 0.5639 GB, free: 12.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=135): time 6.612e-06/0.5351, allocations: 0 / 0.5639 GB, free: 12.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=135): time 0.008105/0.5432, allocations: 3.134 MB / 0.567 GB, free: 9.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.5433, allocations: 115.5 kB / 0.5671 GB, free: 9.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/0.5477, allocations: 2.737 MB / 0.5698 GB, free: 6.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.5478, allocations: 41.7 kB / 0.5698 GB, free: 6.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.5498, allocations: 2.735 MB / 0.5725 GB, free: 3.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006424/0.5505, allocations: 0.5129 MB / 0.573 GB, free: 3.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.5516, allocations: 0.9323 MB / 0.5739 GB, free: 2.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.5517, allocations: 309.1 kB / 0.5742 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.5535, allocations: 1.399 MB / 0.5755 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003662/0.5572, allocations: 4.229 MB / 0.5797 GB, free: 11.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006312/0.5635, allocations: 6.154 MB / 0.5857 GB, free: 3.508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.497e-05/0.5636, allocations: 32 kB / 0.5857 GB, free: 3.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008502/0.5722, allocations: 5.451 MB / 0.591 GB, free: 14.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.183e-05/0.5722, allocations: 51.94 kB / 0.5911 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.359e-05/0.5723, allocations: 100 kB / 0.5912 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/0.5725, allocations: 132 kB / 0.5913 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.5751, allocations: 0.9942 MB / 0.5923 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001385/0.5753, allocations: 191.2 kB / 0.5925 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/0.5785, allocations: 0.6223 MB / 0.5931 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005344/0.5791, allocations: 280 kB / 0.5933 GB, free: 11.66 MB / 430.1 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.003552/0.5826, allocations: 1.985 MB / 0.5953 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004195/0.583, allocations: 232.8 kB / 0.5955 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.5835, allocations: 288.8 kB / 0.5958 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.967e-05/0.5835, allocations: 16 kB / 0.5958 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.5836, allocations: 0 / 0.5958 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.5836, allocations: 4.172 kB / 0.5958 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009058/0.5926, allocations: 6.192 MB / 0.6018 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.5927, allocations: 8 kB / 0.6018 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006788/0.5934, allocations: 172.6 kB / 0.602 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/0.5934, allocations: 12 kB / 0.602 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/0.5935, allocations: 31.98 kB / 0.6021 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.431e-05/0.5935, allocations: 16.19 kB / 0.6021 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.409e-05/0.5936, allocations: 15.88 kB / 0.6021 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.5962, allocations: 1.994 MB / 0.604 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007544/0.597, allocations: 313.8 kB / 0.6043 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.5973, allocations: 27.97 kB / 0.6044 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/0.5979, allocations: 43.97 kB / 0.6044 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.5981, allocations: 93.11 kB / 0.6045 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.159e-05/0.5982, allocations: 47.94 kB / 0.6045 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002323/0.6005, allocations: 1.674 MB / 0.6062 GB, free: 14.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6005, allocations: 0 / 0.6062 GB, free: 14.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00444/0.605, allocations: 1.04 MB / 0.6072 GB, free: 13.14 MB / 446.1 MB 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.0004009/0.6054, allocations: 164.2 kB / 0.6073 GB, free: 12.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00646/0.6119, allocations: 4.079 MB / 0.6113 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.6119, allocations: 4 kB / 0.6113 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009541/0.6129, allocations: 0.798 MB / 0.6121 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.6146, allocations: 305.3 kB / 0.6124 GB, free: 7.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.6263, allocations: 7.781 MB / 0.62 GB, free: 15.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/0.6295, allocations: 3.107 MB / 0.623 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003452/0.633, allocations: 1.552 MB / 0.6245 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/0.6334, allocations: 171.4 kB / 0.6247 GB, free: 11.07 MB / 462.1 MB Notification: Performance of SimCode: time 1.462e-06/0.6334, allocations: 0 / 0.6247 GB, free: 11.07 MB / 462.1 MB Notification: Performance of Templates: time 0.04086/0.6742, allocations: 19.71 MB / 0.644 GB, free: 7.445 MB / 478.1 MB 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","/var/lib/jenkins/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