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.0008684/0.0008684, allocations: 95.17 kB / 18 MB, free: 5.609 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.0009546/0.0009548, allocations: 176.6 kB / 18.91 MB, free: 4.738 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.322/1.322, allocations: 223.3 MB / 243 MB, free: 14.43 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.1946/0.1946, allocations: 44.25 MB / 338.3 MB, free: 2.402 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 8 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1148, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.009059/0.1239, allocations: 8.437 MB / 481.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004889/0.1288, allocations: 2.298 MB / 483.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.1301, allocations: 27.94 kB / 483.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007621/0.1309, allocations: 227 kB / 483.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.1332, allocations: 0.8644 MB / 484.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.1334, allocations: 15.98 kB / 484.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004103/0.1375, allocations: 3.235 MB / 488 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.1394, allocations: 0.9583 MB / 489 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008449/0.1402, allocations: 418 kB / 489.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.1415, allocations: 0.7666 MB / 490.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003117/0.1418, allocations: 59.94 kB / 490.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000811/0.1426, allocations: 295.5 kB / 490.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008762/0.1435, allocations: 0.701 MB / 491.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.1449, allocations: 0.8901 MB / 492.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.1474, allocations: 2.112 MB / 494.2 MB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1475, allocations: 0 / 494.2 MB, free: 7.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1475, allocations: 0 / 494.2 MB, free: 7.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001131/0.1476, allocations: 0 / 494.2 MB, free: 7.91 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.003321/0.1509, allocations: 1.707 MB / 495.9 MB, free: 6.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.151, allocations: 12.03 kB / 495.9 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.1563, allocations: 1.542 MB / 497.4 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.1581, allocations: 0.8526 MB / 498.3 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.747e-05/0.1582, allocations: 90.45 kB / 498.4 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000402/0.1586, allocations: 111.8 kB / 498.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007342/0.166, allocations: 4.968 MB / 0.4917 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-05/0.1661, allocations: 27.75 kB / 0.4917 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/0.1663, allocations: 59.91 kB / 0.4917 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001973/0.1683, allocations: 1.178 MB / 0.4929 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007469/0.1758, allocations: 4.25 MB / 0.497 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2857/0.4615, allocations: 20.61 MB / 0.5172 GB, free: 30.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.4629, allocations: 1.17 MB / 0.5183 GB, free: 30.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.4634, allocations: 347 kB / 0.5187 GB, free: 30.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.4634, allocations: 3.859 kB / 0.5187 GB, free: 30.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.4635, allocations: 43.41 kB / 0.5187 GB, free: 30.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.869e-06/0.4635, allocations: 0 / 0.5187 GB, free: 30.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001799/0.4653, allocations: 1.044 MB / 0.5197 GB, free: 30.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4653, allocations: 109.6 kB / 0.5198 GB, free: 30.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/0.4691, allocations: 2.478 MB / 0.5222 GB, free: 29.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.111e-05/0.4692, allocations: 31.78 kB / 0.5223 GB, free: 29.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.4705, allocations: 1.817 MB / 0.524 GB, free: 27.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/0.4708, allocations: 284.1 kB / 0.5243 GB, free: 27.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004565/0.4713, allocations: 336.5 kB / 0.5246 GB, free: 27.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4714, allocations: 352 kB / 0.525 GB, free: 27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.4734, allocations: 1.025 MB / 0.526 GB, free: 26.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002742/0.4762, allocations: 3.728 MB / 0.5296 GB, free: 22.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004657/0.4808, allocations: 5.174 MB / 0.5347 GB, free: 17.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.204e-05/0.4809, allocations: 28.88 kB / 0.5347 GB, free: 17.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007134/0.4881, allocations: 4.468 MB / 0.5391 GB, free: 16.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.4882, allocations: 46.75 kB / 0.5391 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/0.4884, allocations: 102.8 kB / 0.5392 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.4885, allocations: 123.5 kB / 0.5393 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/0.4908, allocations: 0.8897 MB / 0.5402 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001339/0.4909, allocations: 188.7 kB / 0.5404 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/0.4937, allocations: 0.5593 MB / 0.5409 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/0.494, allocations: 254.2 kB / 0.5412 GB, free: 15.56 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001476/0.4955, allocations: 1.19 MB / 0.5423 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.4958, allocations: 190.6 kB / 0.5425 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.4961, allocations: 228.7 kB / 0.5427 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.4962, allocations: 11.17 kB / 0.5427 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.4962, allocations: 0 / 0.5427 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4962, allocations: 5.359 kB / 0.5427 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.4996, allocations: 2.043 MB / 0.5447 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4997, allocations: 0 / 0.5447 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.4999, allocations: 67.89 kB / 0.5448 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5, allocations: 0 / 0.5448 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.5, allocations: 8 kB / 0.5448 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5, allocations: 4 kB / 0.5448 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5, allocations: 0 / 0.5448 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.5009, allocations: 1.056 MB / 0.5458 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.5013, allocations: 254.5 kB / 0.5461 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.5016, allocations: 4 kB / 0.5461 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006044/0.5022, allocations: 27.91 kB / 0.5461 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.5023, allocations: 15.98 kB / 0.5461 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/0.5023, allocations: 24.92 kB / 0.5462 GB, free: 11.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001997/0.5043, allocations: 1.518 MB / 0.5476 GB, free: 10.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5043, allocations: 0 / 0.5476 GB, free: 10.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002725/0.5071, allocations: 0.5385 MB / 0.5482 GB, free: 9.887 MB / 382.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 (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.0002745/0.5073, allocations: 122.2 kB / 0.5483 GB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003362/0.5107, allocations: 2.322 MB / 0.5505 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5107, allocations: 0 / 0.5505 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.5111, allocations: 335.7 kB / 0.5509 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.5125, allocations: 169.3 kB / 0.551 GB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007057/0.5196, allocations: 5.15 MB / 0.5561 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.5214, allocations: 1.862 MB / 0.5579 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/0.5219, allocations: 159.4 kB / 0.558 GB, free: 15.73 MB / 398.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5219, allocations: 0 / 0.558 GB, free: 15.73 MB / 398.1 MB Notification: Performance of Templates: time 0.04611/0.568, allocations: 27.44 MB / 0.5848 GB, free: 4.32 MB / 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/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