Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.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.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008735/0.0008734, allocations: 99.25 kB / 17 MB, free: 6.387 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.001161/0.001162, allocations: 181 kB / 17.89 MB, free: 5.914 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.469/1.469, allocations: 223.3 MB / 241.9 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2703/0.2703, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003929, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.009964/0.1575, allocations: 7.908 MB / 479.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005513/0.1631, allocations: 2.174 MB / 481.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009716/0.1641, allocations: 31.94 kB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009423/0.1651, allocations: 382.2 kB / 482.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.1681, allocations: 1.296 MB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.1682, allocations: 19.98 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03995/0.2082, allocations: 30.03 MB / 0.5014 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/0.2103, allocations: 0.9021 MB / 0.5023 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009375/0.2112, allocations: 486.1 kB / 0.5027 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.2123, allocations: 0.7475 MB / 0.5035 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.2125, allocations: 56 kB / 0.5035 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006029/0.2131, allocations: 279.5 kB / 0.5038 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000642/0.2138, allocations: 0.6661 MB / 0.5044 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.2142, allocations: 388.5 kB / 0.5048 GB, free: 244 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3027/0.5169, allocations: 2.118 MB / 0.5069 GB, free: 40.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.517, allocations: 1.375 kB / 0.5069 GB, free: 40.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.517, allocations: 1.188 kB / 0.5069 GB, free: 40.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.073e-05/0.5171, allocations: 0 / 0.5069 GB, free: 40.43 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.003499/0.5206, allocations: 1.723 MB / 0.5086 GB, free: 39.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.5206, allocations: 9.406 kB / 0.5086 GB, free: 39.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005179/0.5258, allocations: 1.544 MB / 0.5101 GB, free: 39.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.5275, allocations: 0.8399 MB / 0.5109 GB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.479e-05/0.5277, allocations: 86.88 kB / 0.511 GB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.5279, allocations: 109.4 kB / 0.5111 GB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007941/0.5359, allocations: 4.969 MB / 0.5159 GB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.735e-05/0.536, allocations: 27.5 kB / 0.516 GB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.5362, allocations: 62.06 kB / 0.516 GB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002352/0.5386, allocations: 1.182 MB / 0.5172 GB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008518/0.5471, allocations: 4.23 MB / 0.5213 GB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02295/0.5701, allocations: 20.61 MB / 0.5414 GB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.5717, allocations: 1.165 MB / 0.5426 GB, free: 19.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.5722, allocations: 343.5 kB / 0.5429 GB, free: 19.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.5722, allocations: 8.031 kB / 0.5429 GB, free: 19.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5722, allocations: 37.97 kB / 0.5429 GB, free: 19.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.785e-06/0.5722, allocations: 0 / 0.5429 GB, free: 19.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001523/0.5738, allocations: 1.042 MB / 0.544 GB, free: 18.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.5738, allocations: 108.5 kB / 0.5441 GB, free: 18.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.5767, allocations: 2.47 MB / 0.5465 GB, free: 16.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.5767, allocations: 30.88 kB / 0.5465 GB, free: 16.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009049/0.5777, allocations: 1.828 MB / 0.5483 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.5779, allocations: 273.7 kB / 0.5486 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.578, allocations: 80 kB / 0.5486 GB, free: 13.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.5782, allocations: 0.5171 MB / 0.5491 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.5795, allocations: 1.007 MB / 0.5501 GB, free: 12.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.5818, allocations: 3.709 MB / 0.5537 GB, free: 7.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.584, allocations: 1.944 MB / 0.5556 GB, free: 5.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.555e-05/0.584, allocations: 28 kB / 0.5557 GB, free: 5.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005936/0.59, allocations: 4.432 MB / 0.56 GB, free: 1.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/0.59, allocations: 50.19 kB / 0.56 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-05/0.5901, allocations: 96.88 kB / 0.5601 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001043/0.5902, allocations: 144 kB / 0.5603 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/0.5923, allocations: 0.8889 MB / 0.5611 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001617/0.5925, allocations: 187.3 kB / 0.5613 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.5953, allocations: 0.5562 MB / 0.5619 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003469/0.5956, allocations: 257.2 kB / 0.5621 GB, free: 15.13 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (484): * Single equations (assignments): 481 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002009/0.5977, allocations: 1.194 MB / 0.5633 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.598, allocations: 185.5 kB / 0.5634 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.5984, allocations: 227.8 kB / 0.5637 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.5984, allocations: 15.95 kB / 0.5637 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.5984, allocations: 0 / 0.5637 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5985, allocations: 0 / 0.5637 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.6021, allocations: 2.033 MB / 0.5657 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.6022, allocations: 4 kB / 0.5657 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.6025, allocations: 59.91 kB / 0.5657 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.6025, allocations: 4 kB / 0.5657 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.6025, allocations: 11.98 kB / 0.5657 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.6026, allocations: 7.938 kB / 0.5658 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6026, allocations: 4 kB / 0.5658 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.6037, allocations: 1.044 MB / 0.5668 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.6042, allocations: 254.5 kB / 0.567 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.6043, allocations: 8 kB / 0.567 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.6048, allocations: 15.52 kB / 0.567 GB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.6049, allocations: 27.97 kB / 0.5671 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.6049, allocations: 16 kB / 0.5671 GB, free: 9.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002204/0.6071, allocations: 1.51 MB / 0.5686 GB, free: 8.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6071, allocations: 0 / 0.5686 GB, free: 8.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002932/0.6101, allocations: 0.5384 MB / 0.5691 GB, free: 7.867 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003216/0.6104, allocations: 129.7 kB / 0.5692 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004208/0.6146, allocations: 2.305 MB / 0.5715 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6147, allocations: 0 / 0.5715 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.6151, allocations: 331.7 kB / 0.5718 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.6164, allocations: 171.7 kB / 0.5719 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.6269, allocations: 4.703 MB / 0.5765 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003629/0.6306, allocations: 1.854 MB / 0.5783 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003572/0.6342, allocations: 1.267 MB / 0.5796 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.6347, allocations: 135.4 kB / 0.5797 GB, free: 12.93 MB / 414.1 MB Notification: Performance of SimCode: time 2.184e-06/0.6347, allocations: 4 kB / 0.5797 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Templates: time 0.03129/0.666, allocations: 12.59 MB / 0.592 GB, free: 432 kB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches