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.001466/0.001466, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001587/0.001588, allocations: 187 kB / 19.34 MB, free: 3.641 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.365/1.365, allocations: 222.9 MB / 243 MB, free: 15.12 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.2093/0.2093, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.58 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.118, allocations: 60.84 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006317/0.1243, allocations: 5.406 MB / 476.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.1274, allocations: 1.756 MB / 477.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003716/0.1278, allocations: 20 kB / 477.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.1289, allocations: 0.5135 MB / 478.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.1306, allocations: 0.9223 MB / 479.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.1307, allocations: 8 kB / 479.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.1324, allocations: 1.556 MB / 480.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008483/0.1333, allocations: 0.7503 MB / 481.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005744/0.1338, allocations: 0.5135 MB / 482.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.1355, allocations: 1.508 MB / 483.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.1357, allocations: 88 kB / 483.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.1362, allocations: 315.6 kB / 484.1 MB, free: 216 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005689/0.1368, allocations: 0.7127 MB / 484.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006751/0.1375, allocations: 0.8846 MB / 485.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.1397, allocations: 2.825 MB / 488.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1398, allocations: 4 kB / 488.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1398, allocations: 0 / 488.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.332e-05/0.1398, allocations: 0 / 488.5 MB, free: 11.77 MB / 366.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.002592/0.1424, allocations: 2.072 MB / 490.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1425, allocations: 8.031 kB / 490.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004586/0.147, allocations: 1.503 MB / 492.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.1488, allocations: 0.8565 MB / 492.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.1489, allocations: 86.47 kB / 493 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/0.1492, allocations: 115.8 kB / 493.1 MB, free: 7.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0061/0.1553, allocations: 4.98 MB / 498.1 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.1553, allocations: 23.8 kB / 498.1 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.1555, allocations: 63.91 kB / 498.2 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001759/0.1573, allocations: 1.178 MB / 499.4 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006541/0.1638, allocations: 4.262 MB / 0.4918 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2576/0.4215, allocations: 20.5 MB / 0.5118 GB, free: 32.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.4229, allocations: 1.225 MB / 0.513 GB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.4234, allocations: 379.3 kB / 0.5134 GB, free: 31.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.4234, allocations: 8.5 kB / 0.5134 GB, free: 31.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.4234, allocations: 40.77 kB / 0.5134 GB, free: 31.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 2.705e-06/0.4234, allocations: 1.125 kB / 0.5134 GB, free: 31.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.001692/0.4251, allocations: 1.146 MB / 0.5146 GB, free: 31.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.4252, allocations: 141.3 kB / 0.5147 GB, free: 31.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003146/0.4283, allocations: 2.429 MB / 0.5171 GB, free: 30.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.4284, allocations: 32.42 kB / 0.5171 GB, free: 30.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.4294, allocations: 1.802 MB / 0.5189 GB, free: 28.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.4297, allocations: 306 kB / 0.5192 GB, free: 28.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.4307, allocations: 0.7819 MB / 0.5199 GB, free: 28.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4309, allocations: 353.5 kB / 0.5203 GB, free: 27.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.4329, allocations: 1.031 MB / 0.5213 GB, free: 27.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/0.4357, allocations: 3.695 MB / 0.5249 GB, free: 23.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004114/0.4399, allocations: 5.162 MB / 0.5299 GB, free: 18.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.719e-05/0.4399, allocations: 27.41 kB / 0.5299 GB, free: 18.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006818/0.4468, allocations: 4.454 MB / 0.5343 GB, free: 17.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.4468, allocations: 44.69 kB / 0.5343 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.871e-05/0.4469, allocations: 95.62 kB / 0.5344 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/0.447, allocations: 127.2 kB / 0.5345 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.449, allocations: 0.8661 MB / 0.5354 GB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/0.4492, allocations: 190.8 kB / 0.5356 GB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.4514, allocations: 0.5532 MB / 0.5361 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.4516, allocations: 254.9 kB / 0.5364 GB, free: 16.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * 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 (476): * Single equations (assignments): 472 * Array equations: 4 * 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.001126/0.4527, allocations: 1.181 MB / 0.5375 GB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.453, allocations: 195.8 kB / 0.5377 GB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.4532, allocations: 219.4 kB / 0.5379 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.541e-05/0.4533, allocations: 25.58 kB / 0.5379 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.4533, allocations: 3.969 kB / 0.5379 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4533, allocations: 4 kB / 0.5379 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.4564, allocations: 2.067 MB / 0.54 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4564, allocations: 4 kB / 0.54 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.4567, allocations: 59.89 kB / 0.54 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4567, allocations: 4 kB / 0.54 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.4567, allocations: 11.2 kB / 0.54 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4567, allocations: 4 kB / 0.54 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4567, allocations: 0 / 0.54 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/0.4576, allocations: 1.207 MB / 0.5412 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002822/0.4579, allocations: 250.4 kB / 0.5414 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.458, allocations: 8 kB / 0.5415 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004909/0.4585, allocations: 15.98 kB / 0.5415 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.4586, allocations: 31.91 kB / 0.5415 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.4586, allocations: 27.42 kB / 0.5415 GB, free: 13.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00139/0.46, allocations: 1.498 MB / 0.543 GB, free: 11.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.46, allocations: 0 / 0.543 GB, free: 11.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002219/0.4622, allocations: 0.5198 MB / 0.5435 GB, free: 11.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.00024/0.4625, allocations: 133 kB / 0.5436 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.4652, allocations: 2.359 MB / 0.5459 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4652, allocations: 0.9375 kB / 0.5459 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.4656, allocations: 371 kB / 0.5463 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4666, allocations: 169.8 kB / 0.5464 GB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.4716, allocations: 4.001 MB / 0.5504 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/0.4729, allocations: 1.877 MB / 0.5522 GB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002237/0.4751, allocations: 1.243 MB / 0.5534 GB, free: 1.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.4754, allocations: 139.4 kB / 0.5535 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4754, allocations: 0 / 0.5535 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of Templates: time 0.02546/0.5009, allocations: 11.88 MB / 0.5651 GB, free: 5.109 MB / 398.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches