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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 162.5 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2827/0.2827, allocations: 32.81 MB / 294.6 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.726e-06/2.726e-06, allocations: 0 / 376 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.32e-05/3.593e-05, allocations: 9.547 kB / 376 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005031/0.005067, allocations: 5.259 MB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.00769, allocations: 1.752 MB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003749/0.008065, allocations: 23.94 kB / 383 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.009104, allocations: 0.564 MB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.01058, allocations: 0.9451 MB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.499e-05/0.01066, allocations: 23.86 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.01267, allocations: 2.595 MB / 387.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.01372, allocations: 1.09 MB / 388.2 MB, free: 8.695 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009285/0.01465, allocations: 0.865 MB / 389.1 MB, free: 7.828 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000994/0.01564, allocations: 1.021 MB / 390.1 MB, free: 6.805 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.01578, allocations: 88 kB / 390.2 MB, free: 6.719 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.0162, allocations: 267.5 kB / 390.4 MB, free: 6.457 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004357/0.01664, allocations: 0.7399 MB / 391.2 MB, free: 5.715 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003594/0.017, allocations: 430.2 kB / 391.6 MB, free: 5.293 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.0185, allocations: 1.773 MB / 393.4 MB, free: 3.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.01851, allocations: 0 / 393.4 MB, free: 3.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01851, allocations: 0 / 393.4 MB, free: 3.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.01854, allocations: 0 / 393.4 MB, free: 3.512 MB / 362.7 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.002051/0.02059, allocations: 2.276 MB / 395.7 MB, free: 1.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.02063, allocations: 8.031 kB / 395.7 MB, free: 1.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.02373, allocations: 1.758 MB / 397.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.02477, allocations: 0.7595 MB / 398.2 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.393e-05/0.02482, allocations: 94.39 kB / 398.3 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.02498, allocations: 104.3 kB / 398.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/0.02778, allocations: 3.028 MB / 401.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.02781, allocations: 27.75 kB / 401.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.02794, allocations: 59.84 kB / 401.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001128/0.02907, allocations: 1.181 MB / 402.7 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.03148, allocations: 1.452 MB / 404.1 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.04648, allocations: 25.04 MB / 429.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.04713, allocations: 385.2 kB / 429.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.0473, allocations: 136.5 kB / 429.7 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.04732, allocations: 8 kB / 429.7 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.04734, allocations: 45.38 kB / 429.7 MB, free: 13.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.777e-06/0.04735, allocations: 0 / 429.7 MB, free: 13.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.000817/0.04817, allocations: 0.5402 MB / 430.3 MB, free: 12.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.04823, allocations: 140.5 kB / 430.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.05022, allocations: 2.18 MB / 432.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.05026, allocations: 29.7 kB / 432.6 MB, free: 10.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.05145, allocations: 1.997 MB / 434.6 MB, free: 8.441 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.05168, allocations: 329.8 kB / 434.9 MB, free: 8.117 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006609/0.05234, allocations: 0.8646 MB / 435.8 MB, free: 7.242 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.05246, allocations: 0.5004 MB / 436.3 MB, free: 6.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.05297, allocations: 347.4 kB / 436.6 MB, free: 6.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.0552, allocations: 4.293 MB / 440.9 MB, free: 284 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/0.05867, allocations: 5.11 MB / 446 MB, free: 9.336 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.404e-05/0.05873, allocations: 28 kB / 446.1 MB, free: 9.309 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.003961/0.06269, allocations: 3.273 MB / 449.3 MB, free: 6.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/0.06274, allocations: 48 kB / 449.4 MB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.84e-05/0.0628, allocations: 96 kB / 449.5 MB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.061e-05/0.06288, allocations: 127.9 kB / 449.6 MB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.06426, allocations: 0.8616 MB / 450.5 MB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-05/0.06435, allocations: 187.2 kB / 450.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.06585, allocations: 0.5473 MB / 451.2 MB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.06606, allocations: 252 kB / 451.4 MB, free: 3.922 MB / 426.7 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.0006664/0.06672, allocations: 484.3 kB / 451.9 MB, free: 3.438 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.06689, allocations: 186.8 kB / 452.1 MB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.06705, allocations: 155.9 kB / 452.3 MB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/0.06709, allocations: 23.92 kB / 452.3 MB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.0671, allocations: 7.938 kB / 452.3 MB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.06711, allocations: 0 / 452.3 MB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.06931, allocations: 1.752 MB / 454 MB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.06931, allocations: 4 kB / 454 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.06948, allocations: 67.89 kB / 454.1 MB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.06949, allocations: 4 kB / 454.1 MB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.06951, allocations: 8 kB / 454.1 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.06951, allocations: 0 / 454.1 MB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.06951, allocations: 4 kB / 454.1 MB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.07016, allocations: 0.9877 MB / 455.1 MB, free: 172 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.07031, allocations: 146.7 kB / 455.3 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-05/0.0704, allocations: 19.98 kB / 455.3 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1671/0.2375, allocations: 13.22 kB / 455.3 MB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/0.2376, allocations: 24.41 kB / 455.3 MB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.2376, allocations: 21.88 kB / 455.3 MB, free: 112.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001243/0.2389, allocations: 0.892 MB / 456.2 MB, free: 112.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2389, allocations: 0 / 456.2 MB, free: 112.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002198/0.2411, allocations: 0.5437 MB / 456.8 MB, free: 112.2 MB / 426.7 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.0002754/0.2413, allocations: 134 kB / 456.9 MB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.2435, allocations: 1.574 MB / 458.5 MB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2435, allocations: 0 / 458.5 MB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.2437, allocations: 152.6 kB / 458.6 MB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.2444, allocations: 162 kB / 458.8 MB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.2482, allocations: 3.22 MB / 462 MB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.2486, allocations: 0.5738 MB / 462.6 MB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001394/0.25, allocations: 1.086 MB / 463.7 MB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.2502, allocations: 123.8 kB / 463.8 MB, free: 110.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/0.2502, allocations: 0 / 463.8 MB, free: 110.3 MB / 426.7 MB Notification: Performance of Templates: time 0.01957/0.2698, allocations: 11.71 MB / 475.5 MB, free: 109.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7920133790466934]