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.001769/0.001769, allocations: 118.4 kB / 17.78 MB, free: 5.266 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.002258/0.002258, allocations: 183 kB / 18.72 MB, free: 4.34 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.473/1.473, 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.2125/0.2125, allocations: 44.19 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3928, allocations: 60.82 MB / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01224/0.405, allocations: 11.56 MB / 0.5302 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008748/0.4138, allocations: 3.022 MB / 0.5331 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.4162, allocations: 62.72 kB / 0.5332 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.4194, allocations: 1.559 MB / 0.5347 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004085/0.4236, allocations: 1.617 MB / 0.5363 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.424, allocations: 115.5 kB / 0.5364 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004961/0.4289, allocations: 3.328 MB / 0.5396 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.4321, allocations: 2.203 MB / 0.5418 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.4346, allocations: 1.149 MB / 0.5429 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004077/0.4387, allocations: 2.435 MB / 0.5453 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006769/0.4394, allocations: 232 kB / 0.5455 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.4413, allocations: 0.7098 MB / 0.5462 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001814/0.4431, allocations: 1.523 MB / 0.5477 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002609/0.4457, allocations: 1.824 MB / 0.5495 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007427/0.4532, allocations: 5.982 MB / 0.5553 GB, free: 6.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4532, allocations: 0 / 0.5553 GB, free: 6.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4532, allocations: 0 / 0.5553 GB, free: 6.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001423/0.4534, allocations: 0 / 0.5553 GB, free: 6.598 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.007374/0.4608, allocations: 4.03 MB / 0.5593 GB, free: 2.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4608, allocations: 8.031 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.4709, allocations: 2.959 MB / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.4747, allocations: 1.835 MB / 0.5639 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.4749, allocations: 188.9 kB / 0.5641 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007269/0.4757, allocations: 239.8 kB / 0.5643 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/0.4908, allocations: 9.753 MB / 0.5739 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-05/0.4909, allocations: 19.81 kB / 0.5739 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003333/0.4913, allocations: 115.8 kB / 0.574 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003611/0.4949, allocations: 2.366 MB / 0.5763 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01694/0.5118, allocations: 8.944 MB / 0.585 GB, free: 7.641 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04288/0.5548, allocations: 29.5 MB / 0.6139 GB, free: 9.395 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006368/0.5612, allocations: 3.484 MB / 0.6173 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.5627, allocations: 1.103 MB / 0.6183 GB, free: 4.547 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009367/0.5721, allocations: 6.461 MB / 0.6246 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.5721, allocations: 51.09 kB / 0.6247 GB, free: 13.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 3.927e-06/0.5721, allocations: 0 / 0.6247 GB, free: 13.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.00789/0.58, allocations: 3.134 MB / 0.6278 GB, free: 10.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.5801, allocations: 111.5 kB / 0.6279 GB, free: 10.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/0.5841, allocations: 2.738 MB / 0.6305 GB, free: 7.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.5842, allocations: 37.7 kB / 0.6306 GB, free: 7.523 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.5862, allocations: 2.742 MB / 0.6332 GB, free: 4.738 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006165/0.5868, allocations: 0.5129 MB / 0.6337 GB, free: 4.219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.5879, allocations: 0.9323 MB / 0.6347 GB, free: 3.273 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.588, allocations: 301.1 kB / 0.6349 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.5902, allocations: 1.406 MB / 0.6363 GB, free: 1.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004509/0.5947, allocations: 4.225 MB / 0.6404 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007222/0.6019, allocations: 6.155 MB / 0.6465 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.974e-05/0.602, allocations: 28 kB / 0.6465 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008869/0.6109, allocations: 5.458 MB / 0.6518 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.005e-05/0.611, allocations: 48 kB / 0.6519 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.6111, allocations: 100 kB / 0.652 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.6112, allocations: 132 kB / 0.6521 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/0.614, allocations: 0.9942 MB / 0.653 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001498/0.6141, allocations: 195.8 kB / 0.6532 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/0.6172, allocations: 0.6146 MB / 0.6538 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003617/0.6175, allocations: 288.2 kB / 0.6541 GB, free: 12.5 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.003167/0.6207, allocations: 1.977 MB / 0.656 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.6211, allocations: 244.8 kB / 0.6563 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005269/0.6216, allocations: 288.8 kB / 0.6565 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.6216, allocations: 16 kB / 0.6566 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.6217, allocations: 0 / 0.6566 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.6217, allocations: 3.984 kB / 0.6566 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00909/0.6308, allocations: 6.196 MB / 0.6626 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.6308, allocations: 8 kB / 0.6626 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/0.6314, allocations: 163.7 kB / 0.6628 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.6315, allocations: 12 kB / 0.6628 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.6315, allocations: 31.98 kB / 0.6628 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-05/0.6316, allocations: 12 kB / 0.6628 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.6316, allocations: 11.94 kB / 0.6628 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.6339, allocations: 2.009 MB / 0.6648 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.6344, allocations: 305.8 kB / 0.6651 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.6346, allocations: 23.98 kB / 0.6651 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.6353, allocations: 43.97 kB / 0.6652 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.6354, allocations: 88.2 kB / 0.6653 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-05/0.6355, allocations: 48 kB / 0.6653 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002243/0.6377, allocations: 1.678 MB / 0.6669 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6378, allocations: 4 kB / 0.6669 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006557/0.6443, allocations: 1.034 MB / 0.6679 GB, free: 13.99 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.0006308/0.645, allocations: 158.9 kB / 0.6681 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007747/0.6528, allocations: 3.279 MB / 0.6713 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.6528, allocations: 4 kB / 0.6713 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.6543, allocations: 0.7985 MB / 0.6721 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.657, allocations: 303 kB / 0.6724 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/0.6767, allocations: 7.68 MB / 0.6799 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006952/0.6837, allocations: 3.096 MB / 0.6829 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005899/0.6896, allocations: 1.548 MB / 0.6844 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007255/0.6904, allocations: 167.4 kB / 0.6846 GB, free: 12.82 MB / 0.545 GB Notification: Performance of SimCode: time 1.452e-06/0.6904, allocations: 0 / 0.6846 GB, free: 12.82 MB / 0.545 GB Notification: Performance of Templates: time 0.04109/0.7315, allocations: 17.76 MB / 0.7019 GB, free: 11.15 MB / 0.5606 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","/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