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.001399/0.001399, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001563/0.001563, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.3117/0.3117, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.104e-06/2.104e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.835e-05, allocations: 7.016 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007577/0.007606, allocations: 5.215 MB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.01185, allocations: 1.795 MB / 330.2 MB, free: 2.652 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007593/0.01261, allocations: 27.88 kB / 330.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.01391, allocations: 0.5445 MB / 330.8 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.01603, allocations: 0.9723 MB / 331.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.127e-05/0.01612, allocations: 11.94 kB / 331.8 MB, free: 1.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002258/0.01837, allocations: 2.598 MB / 334.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009918/0.01937, allocations: 0.9816 MB / 335.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.02041, allocations: 0.8494 MB / 336.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009453/0.02136, allocations: 0.9274 MB / 337.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.0215, allocations: 88 kB / 337.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.02195, allocations: 275.5 kB / 337.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005015/0.02245, allocations: 0.7399 MB / 338.2 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004025/0.02286, allocations: 430.2 kB / 338.7 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.02451, allocations: 1.773 MB / 340.4 MB, free: 8.398 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.02452, allocations: 8 kB / 340.5 MB, free: 8.391 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.02452, allocations: 0 / 340.5 MB, free: 8.391 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.128e-05/0.02455, allocations: 0 / 340.5 MB, free: 8.391 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.001833/0.02639, allocations: 1.9 MB / 342.4 MB, free: 6.453 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.02643, allocations: 12.03 kB / 342.4 MB, free: 6.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.02817, allocations: 0.664 MB / 343 MB, free: 5.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/0.02887, allocations: 0.6357 MB / 343.7 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.02892, allocations: 90.47 kB / 343.8 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.02905, allocations: 112.3 kB / 343.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.03108, allocations: 2.469 MB / 346.3 MB, free: 1.973 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.03112, allocations: 23.81 kB / 346.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.03123, allocations: 63.89 kB / 346.4 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009105/0.03214, allocations: 1.026 MB / 347.4 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.0337, allocations: 1.211 MB / 348.7 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.04441, allocations: 17.46 MB / 366.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.04485, allocations: 380.8 kB / 366.5 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.04495, allocations: 91.31 kB / 366.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.04497, allocations: 8 kB / 366.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.045, allocations: 46.59 kB / 366.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 2.906e-06/0.045, allocations: 0 / 366.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=69): time 0.0005241/0.04553, allocations: 338.7 kB / 367 MB, free: 12.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.04558, allocations: 140.4 kB / 367.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.04669, allocations: 1.699 MB / 368.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.04671, allocations: 33.7 kB / 368.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008101/0.04752, allocations: 1.831 MB / 370.7 MB, free: 8.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.0477, allocations: 309.8 kB / 371 MB, free: 8.418 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008251/0.04853, allocations: 0.7428 MB / 371.7 MB, free: 7.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.04864, allocations: 333.9 kB / 372 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.04904, allocations: 405.2 kB / 372.4 MB, free: 6.938 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.05056, allocations: 2.934 MB / 375.4 MB, free: 2.676 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.05357, allocations: 3.793 MB / 379.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.785e-05/0.05363, allocations: 28 kB / 379.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.003103/0.05674, allocations: 2.631 MB / 381.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.05678, allocations: 44.94 kB / 381.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.055e-05/0.05686, allocations: 96 kB / 381.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.883e-05/0.05694, allocations: 124 kB / 382.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.05837, allocations: 0.8967 MB / 383 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.843e-05/0.05847, allocations: 183.3 kB / 383.1 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.06029, allocations: 0.5273 MB / 383.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.06048, allocations: 220 kB / 383.9 MB, free: 8.797 MB / 362.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.0006459/0.06113, allocations: 448.4 kB / 384.3 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.0613, allocations: 95.89 kB / 384.4 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.06149, allocations: 163.9 kB / 384.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-05/0.06153, allocations: 16 kB / 384.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.06154, allocations: 7.938 kB / 384.6 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.06155, allocations: 7.984 kB / 384.6 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.06339, allocations: 1.201 MB / 385.8 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.0634, allocations: 4 kB / 385.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.06355, allocations: 59.84 kB / 385.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.06356, allocations: 0 / 385.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.06358, allocations: 12 kB / 385.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.06358, allocations: 4 kB / 385.9 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.06359, allocations: 0 / 385.9 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.06409, allocations: 0.758 MB / 386.6 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.06424, allocations: 162.6 kB / 386.8 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-05/0.06432, allocations: 12 kB / 386.8 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.06454, allocations: 4 kB / 386.8 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.06459, allocations: 31.94 kB / 386.9 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.06462, allocations: 12 kB / 386.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005695/0.06519, allocations: 0.6262 MB / 387.5 MB, free: 5.098 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.06519, allocations: 4 kB / 387.5 MB, free: 5.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001931/0.06713, allocations: 0.5457 MB / 388 MB, free: 4.547 MB / 362.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.0002686/0.06739, allocations: 112.3 kB / 388.1 MB, free: 4.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.06911, allocations: 1.439 MB / 389.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.673e-05/0.06921, allocations: 59.94 kB / 389.6 MB, free: 2.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.06934, allocations: 113.9 kB / 389.8 MB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.06995, allocations: 152.9 kB / 389.9 MB, free: 2.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.07401, allocations: 3.314 MB / 393.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.07445, allocations: 0.5669 MB / 393.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006018/0.07505, allocations: 286.3 kB / 394.1 MB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.07532, allocations: 275.4 kB / 394.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.07533, allocations: 4 kB / 394.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of Templates: time 0.0208/0.09613, allocations: 12.71 MB / 407.1 MB, free: 1.531 MB / 378.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 -s gbode -gbm=radauIIA3 -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.3396206507459283]