Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000986/0.000986, allocations: 88.73 kB / 21.5 MB, free: 2.98 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001058/0.001058, allocations: 163.2 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.025/1.025, allocations: 177 MB / 205.2 MB, free: 5.402 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2629/0.2629, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.111e-05, allocations: 6.109 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004863/0.004884, allocations: 5.224 MB / 331.1 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.007617, allocations: 1.803 MB / 332.9 MB, free: 92 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.007908, allocations: 19.94 kB / 333 MB, free: 72 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009665/0.008874, allocations: 0.5561 MB / 333.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.01005, allocations: 0.949 MB / 334.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.755e-05/0.01012, allocations: 27.91 kB / 334.5 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.01165, allocations: 2.602 MB / 337.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000647/0.01229, allocations: 0.974 MB / 338.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.01288, allocations: 0.8533 MB / 338.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007041/0.01359, allocations: 0.9274 MB / 339.9 MB, free: 9.152 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.654e-05/0.01368, allocations: 88 kB / 339.9 MB, free: 9.066 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.01401, allocations: 271.6 kB / 340.2 MB, free: 8.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005142/0.01452, allocations: 0.7399 MB / 340.9 MB, free: 8.059 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.01478, allocations: 438.2 kB / 341.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.01589, allocations: 1.773 MB / 343.1 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.01589, allocations: 0 / 343.1 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01589, allocations: 0 / 343.1 MB, free: 5.848 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.0159, allocations: 0 / 343.1 MB, free: 5.848 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.001332/0.01723, allocations: 1.9 MB / 345 MB, free: 3.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.01726, allocations: 12.03 kB / 345.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.01889, allocations: 0.664 MB / 345.7 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.01945, allocations: 0.6318 MB / 346.4 MB, free: 2.578 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.01949, allocations: 86.47 kB / 346.4 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.01962, allocations: 116.3 kB / 346.6 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.02164, allocations: 2.474 MB / 349 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.02167, allocations: 19.81 kB / 349 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.02177, allocations: 59.91 kB / 349.1 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008942/0.02267, allocations: 1.029 MB / 350.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.02406, allocations: 1.222 MB / 351.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009187/0.03324, allocations: 17.45 MB / 368.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005655/0.03381, allocations: 379.7 kB / 369.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/0.03391, allocations: 96.06 kB / 369.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.03392, allocations: 8.094 kB / 369.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.03395, allocations: 42.5 kB / 369.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 1.894e-06/0.03395, allocations: 0 / 369.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=69): time 0.0004603/0.03441, allocations: 331.6 kB / 369.6 MB, free: 9.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.03447, allocations: 148.4 kB / 369.8 MB, free: 9.812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.0356, allocations: 1.692 MB / 371.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.03563, allocations: 37.69 kB / 371.5 MB, free: 8.027 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007883/0.03642, allocations: 1.831 MB / 373.4 MB, free: 6.176 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.03659, allocations: 313.7 kB / 373.7 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005094/0.03709, allocations: 0.735 MB / 374.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.03719, allocations: 337.9 kB / 374.7 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.03761, allocations: 401.1 kB / 375.1 MB, free: 4.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.03935, allocations: 2.941 MB / 378.1 MB, free: 128 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.04202, allocations: 3.794 MB / 381.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.542e-05/0.04205, allocations: 28 kB / 381.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.002377/0.04442, allocations: 2.623 MB / 384.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.04447, allocations: 48 kB / 384.5 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.401e-05/0.04453, allocations: 96 kB / 384.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-05/0.04461, allocations: 124 kB / 384.8 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.04588, allocations: 0.8967 MB / 385.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.48e-05/0.04596, allocations: 183.8 kB / 385.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.04716, allocations: 0.5273 MB / 386.4 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.04734, allocations: 220 kB / 386.6 MB, free: 6.25 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.0005563/0.0479, allocations: 444.3 kB / 387 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.04803, allocations: 99.88 kB / 387.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.04817, allocations: 155.9 kB / 387.3 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/0.0482, allocations: 23.98 kB / 387.3 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.04821, allocations: 3.938 kB / 387.3 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.04821, allocations: 0 / 387.3 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.04991, allocations: 1.201 MB / 388.5 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.04991, allocations: 4 kB / 388.5 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.05005, allocations: 59.86 kB / 388.6 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.05005, allocations: 4 kB / 388.6 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.05007, allocations: 11.98 kB / 388.6 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.05007, allocations: 4 kB / 388.6 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.05008, allocations: 7.984 kB / 388.6 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.05053, allocations: 0.7552 MB / 389.3 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.05064, allocations: 158.6 kB / 389.5 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.0507, allocations: 7.938 kB / 389.5 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.0509, allocations: 8 kB / 389.5 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.05095, allocations: 23.95 kB / 389.5 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.05097, allocations: 27.98 kB / 389.6 MB, free: 3.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00045/0.05142, allocations: 0.6301 MB / 390.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.05142, allocations: 0 / 390.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001357/0.05278, allocations: 0.5457 MB / 390.7 MB, free: 1.996 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.000179/0.05296, allocations: 104.3 kB / 390.8 MB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.05408, allocations: 1.45 MB / 392.3 MB, free: 460 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.852e-05/0.05416, allocations: 52.88 kB / 392.3 MB, free: 400 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.05427, allocations: 113.9 kB / 392.4 MB, free: 284 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.05479, allocations: 153.7 kB / 392.6 MB, free: 128 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.05787, allocations: 3.318 MB / 395.9 MB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.05829, allocations: 0.5669 MB / 396.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005415/0.05883, allocations: 294.2 kB / 396.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.05909, allocations: 279.3 kB / 397 MB, free: 11.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.05909, allocations: 0 / 397 MB, free: 11.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01806/0.07715, allocations: 12.7 MB / 409.7 MB, free: 15.02 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.18913699593395]