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.001511/0.001511, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.002035/0.002035, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9692/0.9692, allocations: 177 MB / 205.2 MB, free: 5.055 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.2437/0.2437, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 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.422e-06/1.422e-06, allocations: 0 / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.685e-05, allocations: 2.312 kB / 325.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004947/0.004964, allocations: 5.174 MB / 331.1 MB, free: 2.004 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.007186, allocations: 1.803 MB / 332.9 MB, free: 196 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.00741, allocations: 23.94 kB / 332.9 MB, free: 172 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.008474, allocations: 0.5562 MB / 333.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.00963, allocations: 0.9684 MB / 334.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.64e-05/0.009696, allocations: 15.94 kB / 334.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.01185, allocations: 2.596 MB / 337 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007861/0.01263, allocations: 1.13 MB / 338.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006996/0.01333, allocations: 0.865 MB / 339 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007681/0.0141, allocations: 0.9313 MB / 339.9 MB, free: 9.074 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.932e-05/0.01419, allocations: 88 kB / 340 MB, free: 8.988 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.01452, allocations: 259.6 kB / 340.3 MB, free: 8.734 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004085/0.01493, allocations: 0.7476 MB / 341 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.01521, allocations: 434.2 kB / 341.5 MB, free: 7.559 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.01647, allocations: 1.77 MB / 343.2 MB, free: 5.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.01648, allocations: 0 / 343.2 MB, free: 5.781 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01648, allocations: 0 / 343.2 MB, free: 5.781 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.01649, allocations: 0 / 343.2 MB, free: 5.781 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.001975/0.01847, allocations: 1.904 MB / 345.1 MB, free: 3.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.0185, allocations: 12.03 kB / 345.1 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.02011, allocations: 0.6718 MB / 345.8 MB, free: 3.156 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.02071, allocations: 0.6318 MB / 346.4 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.02075, allocations: 86.45 kB / 346.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.02088, allocations: 108.3 kB / 346.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.02265, allocations: 2.47 MB / 349.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.02268, allocations: 23.81 kB / 349.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.02279, allocations: 63.89 kB / 349.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008622/0.02365, allocations: 1.029 MB / 350.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.02517, allocations: 1.222 MB / 351.4 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009125/0.03429, allocations: 17.44 MB / 368.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.03465, allocations: 380.7 kB / 369.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.26e-05/0.03474, allocations: 99.55 kB / 369.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.03475, allocations: 11.94 kB / 369.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.03477, allocations: 42.55 kB / 369.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 2.013e-06/0.03478, allocations: 0 / 369.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=69): time 0.0004144/0.03519, allocations: 330.4 kB / 369.7 MB, free: 9.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.03524, allocations: 136.5 kB / 369.9 MB, free: 9.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009879/0.03623, allocations: 1.699 MB / 371.6 MB, free: 8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.03626, allocations: 33.7 kB / 371.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.0374, allocations: 1.827 MB / 373.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.03754, allocations: 313.7 kB / 373.7 MB, free: 5.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/0.03803, allocations: 0.7429 MB / 374.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.023e-05/0.03811, allocations: 333.9 kB / 374.8 MB, free: 4.723 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.0385, allocations: 409 kB / 375.2 MB, free: 4.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.04019, allocations: 2.937 MB / 378.1 MB, free: 56 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.04256, allocations: 3.79 MB / 381.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.04259, allocations: 32 kB / 382 MB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.002664/0.04525, allocations: 2.622 MB / 384.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.0453, allocations: 44 kB / 384.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.883e-05/0.04536, allocations: 108.1 kB / 384.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-05/0.04543, allocations: 124 kB / 384.8 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.04664, allocations: 0.8576 MB / 385.7 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.763e-05/0.04673, allocations: 187.3 kB / 385.9 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.04788, allocations: 0.5273 MB / 386.4 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.04805, allocations: 220 kB / 386.6 MB, free: 6.207 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.000478/0.04853, allocations: 448.3 kB / 387.1 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.04864, allocations: 91.89 kB / 387.2 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.04878, allocations: 167.9 kB / 387.3 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/0.04881, allocations: 12 kB / 387.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.04881, allocations: 7.938 kB / 387.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.04882, allocations: 3.984 kB / 387.3 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.05017, allocations: 1.208 MB / 388.6 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.05017, allocations: 0 / 388.6 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.0503, allocations: 59.84 kB / 388.6 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.81e-06/0.0503, allocations: 4 kB / 388.6 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.05032, allocations: 8 kB / 388.6 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.05032, allocations: 0 / 388.6 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.05032, allocations: 0 / 388.6 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.05074, allocations: 0.764 MB / 389.4 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.05086, allocations: 158.6 kB / 389.5 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.376e-05/0.05093, allocations: 8 kB / 389.5 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.05113, allocations: 11.98 kB / 389.6 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.05117, allocations: 23.95 kB / 389.6 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.05119, allocations: 16 kB / 389.6 MB, free: 3.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004573/0.05164, allocations: 0.6262 MB / 390.2 MB, free: 2.512 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05164, allocations: 0 / 390.2 MB, free: 2.512 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00135/0.05299, allocations: 0.5496 MB / 390.8 MB, free: 1.961 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.0002001/0.05319, allocations: 112.3 kB / 390.9 MB, free: 1.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.05457, allocations: 1.449 MB / 392.3 MB, free: 420 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.588e-05/0.05465, allocations: 51.94 kB / 392.4 MB, free: 360 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.05475, allocations: 114.3 kB / 392.5 MB, free: 244 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.05527, allocations: 156.5 kB / 392.6 MB, free: 88 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.05819, allocations: 3.315 MB / 396 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.05861, allocations: 0.5669 MB / 396.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005399/0.05915, allocations: 289.7 kB / 396.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.05939, allocations: 283.3 kB / 397.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.05939, allocations: 0 / 397.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of Templates: time 0.01776/0.07715, allocations: 12.7 MB / 409.8 MB, free: 14.99 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 -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.285300944931805]