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.001131/0.001131, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001273/0.001273, allocations: 164.8 kB / 25.61 MB, free: 8.902 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 0.9868/0.9868, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1485/0.1485, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.144e-06/2.144e-06, allocations: 0 / 377.2 MB, free: 25.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.555e-05, allocations: 2.312 kB / 377.2 MB, free: 25.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004377/0.004402, allocations: 5.157 MB / 382.4 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003405/0.007807, allocations: 1.737 MB / 384.1 MB, free: 18.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005326/0.00834, allocations: 23.94 kB / 384.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009065/0.009246, allocations: 0.5524 MB / 384.7 MB, free: 18.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.0107, allocations: 0.9645 MB / 385.7 MB, free: 17.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.128e-05/0.0108, allocations: 23.84 kB / 385.7 MB, free: 17.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.01255, allocations: 2.599 MB / 388.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.01355, allocations: 1.101 MB / 389.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008988/0.01445, allocations: 0.865 MB / 390.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.01551, allocations: 1.033 MB / 391.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.01573, allocations: 88 kB / 391.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.01617, allocations: 259.6 kB / 391.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003627/0.01653, allocations: 0.7477 MB / 392.4 MB, free: 10.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.01687, allocations: 426.2 kB / 392.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.01825, allocations: 1.773 MB / 394.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.01825, allocations: 0 / 394.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.01825, allocations: 0 / 394.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.781e-05/0.0183, allocations: 0 / 394.6 MB, free: 8.238 MB / 314.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.002144/0.02045, allocations: 2.279 MB / 396.8 MB, free: 5.906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.02049, allocations: 11.98 kB / 396.9 MB, free: 5.895 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.02248, allocations: 0.8539 MB / 397.7 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/0.0233, allocations: 0.7242 MB / 398.4 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.02335, allocations: 90.41 kB / 398.5 MB, free: 4.191 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.02346, allocations: 108.3 kB / 398.6 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.02565, allocations: 2.852 MB / 401.5 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/0.02569, allocations: 23.75 kB / 401.5 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.02582, allocations: 63.91 kB / 401.6 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001042/0.02686, allocations: 1.026 MB / 402.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.02907, allocations: 1.202 MB / 403.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.04778, allocations: 25 MB / 428.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.04842, allocations: 332.8 kB / 429.1 MB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.04857, allocations: 116.8 kB / 429.2 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.04859, allocations: 8 kB / 429.2 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.04863, allocations: 49.38 kB / 429.3 MB, free: 3.801 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 3.968e-06/0.04863, allocations: 0 / 429.3 MB, free: 3.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=69): time 0.0007978/0.04943, allocations: 0.4931 MB / 429.8 MB, free: 3.305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/0.04951, allocations: 132.5 kB / 429.9 MB, free: 3.145 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.0516, allocations: 2.182 MB / 432.1 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.05163, allocations: 33.7 kB / 432.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.05311, allocations: 2.017 MB / 434.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.05338, allocations: 333.8 kB / 434.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006952/0.05407, allocations: 0.8761 MB / 435.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.05423, allocations: 0.5043 MB / 435.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.0546, allocations: 271.5 kB / 436.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/0.05713, allocations: 4.257 MB / 440.4 MB, free: 6.746 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004032/0.06116, allocations: 5.046 MB / 445.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/0.06128, allocations: 28 kB / 445.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004735/0.06601, allocations: 3.079 MB / 448.5 MB, free: 12.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.686e-05/0.06607, allocations: 44 kB / 448.6 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.561e-05/0.06617, allocations: 96.88 kB / 448.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.06627, allocations: 127.8 kB / 448.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.06809, allocations: 0.8577 MB / 449.6 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001309/0.06822, allocations: 187.2 kB / 449.8 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.07024, allocations: 0.5273 MB / 450.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/0.0705, allocations: 220 kB / 450.6 MB, free: 10.71 MB / 378.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.000711/0.07121, allocations: 496.3 kB / 451 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/0.07145, allocations: 182.8 kB / 451.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.07164, allocations: 155.9 kB / 451.4 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-05/0.07168, allocations: 27.88 kB / 451.4 MB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.07168, allocations: 11.94 kB / 451.4 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.07169, allocations: 3.984 kB / 451.4 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.07423, allocations: 1.277 MB / 452.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.07423, allocations: 0 / 452.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.07443, allocations: 55.92 kB / 452.8 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.07443, allocations: 0 / 452.8 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.07446, allocations: 12 kB / 452.8 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.07446, allocations: 0 / 452.8 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.07446, allocations: 4 kB / 452.8 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.0752, allocations: 0.9613 MB / 453.7 MB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.07538, allocations: 150.6 kB / 453.9 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.07549, allocations: 19.98 kB / 453.9 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.07583, allocations: 7.984 kB / 453.9 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.07589, allocations: 23.95 kB / 453.9 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.07592, allocations: 20 kB / 453.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008888/0.07681, allocations: 0.8307 MB / 454.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.07681, allocations: 0 / 454.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002369/0.07918, allocations: 0.5419 MB / 455.3 MB, free: 5.852 MB / 378.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.000258/0.07944, allocations: 135 kB / 455.4 MB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.0816, allocations: 1.498 MB / 456.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.0816, allocations: 4.125 kB / 457 MB, free: 4.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.0818, allocations: 148.7 kB / 457.1 MB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/0.08266, allocations: 151.8 kB / 457.2 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.08752, allocations: 3.237 MB / 460.5 MB, free: 0.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.08815, allocations: 0.5745 MB / 461.1 MB, free: 28 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008749/0.08902, allocations: 282.5 kB / 461.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/0.08938, allocations: 302.2 kB / 461.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.243e-06/0.08938, allocations: 4 kB / 461.6 MB, free: 15.45 MB / 394.7 MB Notification: Performance of Templates: time 0.02609/0.1155, allocations: 12.96 MB / 474.6 MB, free: 2.703 MB / 394.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.7559372959658504]