Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001006/0.001006, 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.001733/0.001733, 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.9895/0.9895, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1413/0.1413, allocations: 34.26 MB / 296.8 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 379.2 MB, free: 23.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.494e-05, allocations: 2.312 kB / 379.2 MB, free: 23.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005738/0.005763, allocations: 5.164 MB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00361/0.009374, allocations: 1.733 MB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/0.009979, allocations: 31.81 kB / 386.2 MB, free: 16.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.01114, allocations: 0.5485 MB / 386.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.01299, allocations: 0.9684 MB / 387.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.667e-05/0.01309, allocations: 15.92 kB / 387.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002453/0.01554, allocations: 2.606 MB / 390.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.01676, allocations: 1.09 MB / 391.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008594/0.01762, allocations: 0.8689 MB / 392.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008692/0.01848, allocations: 1.025 MB / 393.3 MB, free: 9.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.01863, allocations: 92 kB / 393.4 MB, free: 9.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003795/0.01901, allocations: 263.5 kB / 393.6 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.01933, allocations: 0.7438 MB / 394.4 MB, free: 8.246 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.0196, allocations: 430.2 kB / 394.8 MB, free: 7.824 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.02073, allocations: 1.77 MB / 396.6 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.02074, allocations: 0 / 396.6 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02074, allocations: 4 kB / 396.6 MB, free: 6.043 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.02077, allocations: 0 / 396.6 MB, free: 6.043 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.001694/0.02246, allocations: 2.271 MB / 398.9 MB, free: 3.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.0225, allocations: 12.03 kB / 398.9 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.02448, allocations: 0.854 MB / 399.7 MB, free: 2.852 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007558/0.02523, allocations: 0.7164 MB / 400.4 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.02528, allocations: 86.47 kB / 400.5 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.02541, allocations: 108.3 kB / 400.6 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.02744, allocations: 2.86 MB / 403.5 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/0.02747, allocations: 27.8 kB / 403.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.02759, allocations: 59.91 kB / 403.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009712/0.02857, allocations: 1.033 MB / 404.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.03082, allocations: 1.187 MB / 405.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01486/0.04567, allocations: 25 MB / 430.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.04621, allocations: 344.8 kB / 431.1 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.04634, allocations: 118.7 kB / 431.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.04636, allocations: 4 kB / 431.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.04638, allocations: 45.33 kB / 431.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 2.294e-06/0.04638, allocations: 0 / 431.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=69): time 0.0007846/0.04717, allocations: 0.4901 MB / 431.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.04723, allocations: 136.5 kB / 431.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.04906, allocations: 2.186 MB / 434.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.04909, allocations: 33.7 kB / 434.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.05012, allocations: 2.017 MB / 436.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.05035, allocations: 333.8 kB / 436.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006912/0.05104, allocations: 0.8839 MB / 437.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.05118, allocations: 0.4964 MB / 437.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.05154, allocations: 275.4 kB / 438.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.05389, allocations: 4.245 MB / 442.4 MB, free: 4.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003614/0.05751, allocations: 5.053 MB / 447.4 MB, free: 13.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.165e-05/0.0576, allocations: 28 kB / 447.5 MB, free: 13.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004333/0.06193, allocations: 3.066 MB / 450.5 MB, free: 10.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.06199, allocations: 52.06 kB / 450.6 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-05/0.06208, allocations: 96 kB / 450.7 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.794e-05/0.06217, allocations: 127.9 kB / 450.8 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.06361, allocations: 0.8616 MB / 451.7 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001176/0.06372, allocations: 187.1 kB / 451.8 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.06543, allocations: 0.5235 MB / 452.4 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.06564, allocations: 228 kB / 452.6 MB, free: 8.516 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.0006337/0.06627, allocations: 484.3 kB / 453.1 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.06647, allocations: 186.8 kB / 453.2 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.06663, allocations: 159.9 kB / 453.4 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-05/0.06667, allocations: 27.92 kB / 453.4 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.06667, allocations: 0 / 453.4 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.06668, allocations: 48 / 453.4 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.06851, allocations: 1.284 MB / 454.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.06851, allocations: 3.938 kB / 454.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.06866, allocations: 43.98 kB / 454.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.06867, allocations: 4 kB / 454.8 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.06868, allocations: 11.98 kB / 454.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.06869, allocations: 7.938 kB / 454.8 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.06869, allocations: 4 kB / 454.8 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.06933, allocations: 0.9575 MB / 455.7 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.06949, allocations: 158.6 kB / 455.9 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.161e-05/0.06957, allocations: 12 kB / 455.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.06981, allocations: 8 kB / 455.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.06985, allocations: 31.89 kB / 455.9 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.06988, allocations: 20 kB / 456 MB, free: 5.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006966/0.07057, allocations: 0.8307 MB / 456.8 MB, free: 4.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.07057, allocations: 0 / 456.8 MB, free: 4.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001847/0.07242, allocations: 0.5535 MB / 457.3 MB, free: 3.641 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.0002328/0.07265, allocations: 123.1 kB / 457.5 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.07439, allocations: 1.5 MB / 459 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.07439, allocations: 0 / 459 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.07455, allocations: 148.7 kB / 459.1 MB, free: 1.879 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.07523, allocations: 151.6 kB / 459.3 MB, free: 1.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.07926, allocations: 3.233 MB / 462.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.07973, allocations: 0.5745 MB / 463.1 MB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006151/0.08034, allocations: 286.3 kB / 463.3 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.08062, allocations: 306.2 kB / 463.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.08062, allocations: 0 / 463.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of Templates: time 0.02179/0.1024, allocations: 12.96 MB / 476.6 MB, free: 0.5078 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.54206890007481]