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.0007862/0.0007862, allocations: 94.94 kB / 17.35 MB, free: 6.344 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.0007967/0.0007967, allocations: 168.8 kB / 18.25 MB, free: 5.508 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.399/1.399, allocations: 223.3 MB / 242.3 MB, free: 196 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.2074/0.2074, allocations: 44.25 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003126, allocations: 8 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 61.92 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008179/0.1353, allocations: 8.433 MB / 480.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004714/0.1401, allocations: 2.298 MB / 483 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007613/0.1409, allocations: 27.94 kB / 483 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.1415, allocations: 227 kB / 483.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.1434, allocations: 0.8644 MB / 484.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.179e-05/0.1435, allocations: 15.98 kB / 484.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003412/0.1469, allocations: 3.234 MB / 487.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.1483, allocations: 0.9543 MB / 488.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006215/0.149, allocations: 426 kB / 488.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009052/0.1499, allocations: 0.7706 MB / 489.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.15, allocations: 56 kB / 489.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005623/0.1506, allocations: 295.4 kB / 489.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000586/0.1512, allocations: 0.6971 MB / 490.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007128/0.1519, allocations: 0.8863 MB / 491.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.1543, allocations: 2.608 MB / 494 MB, free: 7.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1543, allocations: 0 / 494 MB, free: 7.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1543, allocations: 0 / 494 MB, free: 7.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.859e-05/0.1544, allocations: 0 / 494 MB, free: 7.461 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.002409/0.1568, allocations: 1.713 MB / 495.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.1568, allocations: 12.03 kB / 495.7 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004907/0.1618, allocations: 1.542 MB / 497.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.1632, allocations: 0.8487 MB / 498.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.1632, allocations: 90.45 kB / 498.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.1635, allocations: 111.8 kB / 498.3 MB, free: 3.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005773/0.1692, allocations: 4.964 MB / 0.4915 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/0.1693, allocations: 31.75 kB / 0.4915 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.1695, allocations: 63.89 kB / 0.4916 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001788/0.1713, allocations: 1.185 MB / 0.4927 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006458/0.1778, allocations: 4.25 MB / 0.4969 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2873/0.4651, allocations: 20.61 MB / 0.517 GB, free: 31.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.4665, allocations: 1.171 MB / 0.5182 GB, free: 30.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.4671, allocations: 346.9 kB / 0.5185 GB, free: 30.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.4671, allocations: 11.7 kB / 0.5185 GB, free: 30.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.4671, allocations: 40.62 kB / 0.5185 GB, free: 30.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.587e-06/0.4671, allocations: 0 / 0.5185 GB, free: 30.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001789/0.4689, allocations: 1.045 MB / 0.5196 GB, free: 30.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.469, allocations: 108.2 kB / 0.5197 GB, free: 30.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/0.4723, allocations: 2.476 MB / 0.5221 GB, free: 29.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.4724, allocations: 33.53 kB / 0.5221 GB, free: 29.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.4735, allocations: 1.82 MB / 0.5239 GB, free: 27.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.4737, allocations: 276.1 kB / 0.5242 GB, free: 27.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000496/0.4742, allocations: 335.7 kB / 0.5245 GB, free: 27.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4743, allocations: 356.9 kB / 0.5248 GB, free: 27.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.4759, allocations: 1.026 MB / 0.5258 GB, free: 26.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.4786, allocations: 3.726 MB / 0.5295 GB, free: 22.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004298/0.4829, allocations: 5.182 MB / 0.5345 GB, free: 18.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-05/0.4829, allocations: 27.91 kB / 0.5345 GB, free: 18.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006292/0.4892, allocations: 4.466 MB / 0.5389 GB, free: 16.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.4893, allocations: 45.84 kB / 0.5389 GB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-05/0.4894, allocations: 95.44 kB / 0.539 GB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/0.4895, allocations: 131.4 kB / 0.5392 GB, free: 16.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/0.4915, allocations: 0.8862 MB / 0.54 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001063/0.4916, allocations: 189.4 kB / 0.5402 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.4938, allocations: 0.5578 MB / 0.5408 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/0.4941, allocations: 252.2 kB / 0.541 GB, free: 15.73 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.001319/0.4954, allocations: 1.193 MB / 0.5422 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.4956, allocations: 197.4 kB / 0.5424 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.4959, allocations: 224 kB / 0.5426 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.4959, allocations: 9.625 kB / 0.5426 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4959, allocations: 0.9375 kB / 0.5426 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4959, allocations: 7.734 kB / 0.5426 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.4985, allocations: 2.04 MB / 0.5446 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4985, allocations: 0 / 0.5446 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.4988, allocations: 63.89 kB / 0.5446 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4988, allocations: 4 kB / 0.5446 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.4988, allocations: 8 kB / 0.5446 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.4988, allocations: 5.188 kB / 0.5447 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4988, allocations: 0 / 0.5447 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000792/0.4996, allocations: 1.051 MB / 0.5457 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.4999, allocations: 254.4 kB / 0.5459 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.5, allocations: 15.94 kB / 0.5459 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.5004, allocations: 19.97 kB / 0.546 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.5005, allocations: 23.91 kB / 0.546 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.5005, allocations: 20 kB / 0.546 GB, free: 11.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001467/0.502, allocations: 1.514 MB / 0.5475 GB, free: 10.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.502, allocations: 0 / 0.5475 GB, free: 10.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00245/0.5045, allocations: 0.5317 MB / 0.548 GB, free: 9.504 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.0002558/0.5047, allocations: 133.4 kB / 0.5481 GB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002793/0.5075, allocations: 2.318 MB / 0.5504 GB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.5076, allocations: 0 / 0.5504 GB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.5079, allocations: 335.7 kB / 0.5507 GB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.509, allocations: 167.4 kB / 0.5509 GB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.5142, allocations: 4.906 MB / 0.5557 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.5156, allocations: 1.852 MB / 0.5575 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00288/0.5185, allocations: 1.275 MB / 0.5587 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.5188, allocations: 127.4 kB / 0.5588 GB, free: 14.36 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5188, allocations: 0 / 0.5588 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Templates: time 0.03001/0.5488, allocations: 12.79 MB / 0.5713 GB, free: 1.648 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 -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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches