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.001418/0.001418, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001757/0.001757, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.444/1.444, allocations: 222.9 MB / 242.4 MB, free: 15.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.2011/0.2011, allocations: 44.18 MB / 336.8 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001582, allocations: 59.81 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1235, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01064/0.1342, allocations: 8.924 MB / 478.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006331/0.1406, allocations: 2.321 MB / 480.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.1422, allocations: 27.94 kB / 480.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.1437, allocations: 0.4945 MB / 480.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.1462, allocations: 0.8644 MB / 481.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.1464, allocations: 23.97 kB / 481.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004146/0.1506, allocations: 3.222 MB / 485 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.152, allocations: 0.7505 MB / 485.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009974/0.1531, allocations: 449.9 kB / 486.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.1545, allocations: 0.7823 MB / 487 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004159/0.1549, allocations: 64 kB / 487.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009758/0.1559, allocations: 299.5 kB / 487.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000934/0.1568, allocations: 0.7049 MB / 488.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.1581, allocations: 0.8768 MB / 488.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.1606, allocations: 2.163 MB / 491.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1606, allocations: 0 / 491.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1607, allocations: 0 / 491.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001055/0.1608, allocations: 0 / 491.1 MB, free: 8.797 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.004546/0.1653, allocations: 2.058 MB / 493.2 MB, free: 6.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.1654, allocations: 11.97 kB / 493.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/0.1704, allocations: 1.499 MB / 494.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.1722, allocations: 0.8565 MB / 495.5 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-05/0.1723, allocations: 86.47 kB / 495.6 MB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004406/0.1728, allocations: 111.8 kB / 495.7 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007187/0.18, allocations: 4.976 MB / 0.489 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-05/0.1801, allocations: 19.81 kB / 0.489 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/0.1804, allocations: 67.89 kB / 0.4891 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001882/0.1823, allocations: 1.185 MB / 0.4902 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007134/0.1894, allocations: 4.25 MB / 0.4944 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2485/0.4379, allocations: 20.59 MB / 0.5145 GB, free: 32.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.4393, allocations: 1.173 MB / 0.5156 GB, free: 32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/0.4399, allocations: 342 kB / 0.5159 GB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.4399, allocations: 9.516 kB / 0.516 GB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.4399, allocations: 40.16 kB / 0.516 GB, free: 31.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.635e-06/0.4399, allocations: 0 / 0.516 GB, free: 31.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001855/0.4418, allocations: 1.054 MB / 0.517 GB, free: 31.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.4419, allocations: 111.9 kB / 0.5171 GB, free: 31.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003625/0.4455, allocations: 2.472 MB / 0.5195 GB, free: 30.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.4456, allocations: 34.97 kB / 0.5196 GB, free: 30.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.4467, allocations: 1.823 MB / 0.5214 GB, free: 29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00025/0.447, allocations: 277.6 kB / 0.5216 GB, free: 28.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.4481, allocations: 0.7937 MB / 0.5224 GB, free: 28.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4482, allocations: 355.4 kB / 0.5227 GB, free: 28.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.45, allocations: 1.021 MB / 0.5237 GB, free: 27.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.4524, allocations: 3.733 MB / 0.5274 GB, free: 23.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/0.4566, allocations: 5.174 MB / 0.5324 GB, free: 18.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.954e-05/0.4567, allocations: 28.5 kB / 0.5325 GB, free: 18.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005908/0.4626, allocations: 4.46 MB / 0.5368 GB, free: 17.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/0.4627, allocations: 53.75 kB / 0.5369 GB, free: 17.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.596e-05/0.4628, allocations: 101 kB / 0.537 GB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.104e-05/0.4629, allocations: 126.2 kB / 0.5371 GB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.4648, allocations: 0.887 MB / 0.5379 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-05/0.4649, allocations: 184.4 kB / 0.5381 GB, free: 17.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.4672, allocations: 0.5566 MB / 0.5387 GB, free: 16.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002157/0.4674, allocations: 249.4 kB / 0.5389 GB, free: 16.68 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.0012/0.4686, allocations: 1.204 MB / 0.5401 GB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.4689, allocations: 190.1 kB / 0.5403 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.4693, allocations: 223.9 kB / 0.5405 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.4693, allocations: 6.938 kB / 0.5405 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.4693, allocations: 2.312 kB / 0.5405 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.4693, allocations: 0 / 0.5405 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.472, allocations: 2.052 MB / 0.5425 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.472, allocations: 0 / 0.5425 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.4723, allocations: 67.91 kB / 0.5426 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4723, allocations: 0 / 0.5426 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.4723, allocations: 8.562 kB / 0.5426 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.4723, allocations: 4 kB / 0.5426 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4724, allocations: 3.984 kB / 0.5426 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007985/0.4732, allocations: 1.05 MB / 0.5436 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.4734, allocations: 246.5 kB / 0.5438 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.4736, allocations: 8 kB / 0.5438 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.474, allocations: 19.97 kB / 0.5439 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.4741, allocations: 20.48 kB / 0.5439 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.4741, allocations: 23.94 kB / 0.5439 GB, free: 12.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001398/0.4755, allocations: 1.514 MB / 0.5454 GB, free: 11.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.22e-07/0.4755, allocations: 0 / 0.5454 GB, free: 11.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002299/0.4779, allocations: 0.5367 MB / 0.5459 GB, free: 10.67 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.0002259/0.4781, allocations: 135.3 kB / 0.546 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002421/0.4805, allocations: 2.311 MB / 0.5483 GB, free: 8.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4805, allocations: 0 / 0.5483 GB, free: 8.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.4809, allocations: 335.7 kB / 0.5486 GB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000906/0.4818, allocations: 166.1 kB / 0.5488 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005427/0.4872, allocations: 5.119 MB / 0.5538 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.4886, allocations: 1.871 MB / 0.5556 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004186/0.4891, allocations: 159.4 kB / 0.5557 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4891, allocations: 0 / 0.5557 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of Templates: time 0.04007/0.5292, allocations: 27.83 MB / 0.5829 GB, free: 4.766 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