Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009825/0.0009825, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.00237, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.002176, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8961/0.8961, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/0.9995, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.443e-05, allocations: 6.812 kB / 239.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007965/0.00799, allocations: 9.984 MB / 249.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006827/0.01482, allocations: 3.889 MB / 253.4 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.01594, allocations: 75.62 kB / 253.5 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002428/0.01837, allocations: 2.359 MB / 255.9 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.02154, allocations: 1.765 MB / 257.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008787/0.02242, allocations: 0.6315 MB / 258.3 MB, free: 392 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0034/0.02582, allocations: 3.701 MB / 262 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/0.02812, allocations: 2.568 MB / 264.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.03006, allocations: 2.186 MB / 266.7 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.03191, allocations: 1.898 MB / 268.6 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.0322, allocations: 296 kB / 268.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.0335, allocations: 1.135 MB / 270 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009468/0.03444, allocations: 1.644 MB / 271.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008615/0.03531, allocations: 0.9426 MB / 272.6 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1136/0.1489, allocations: 3.799 MB / 276.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.031e-05/0.1489, allocations: 0 / 276.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1489, allocations: 0.5 kB / 276.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002345/0.1491, allocations: 3.5 kB / 276.4 MB, free: 9.277 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.007705/0.1568, allocations: 4.785 MB / 281.2 MB, free: 7.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1569, allocations: 9.875 kB / 281.2 MB, free: 7.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/0.1597, allocations: 0.9854 MB / 282.2 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.1618, allocations: 1.566 MB / 283.8 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.1619, allocations: 210.7 kB / 284 MB, free: 6.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005121/0.1624, allocations: 363.6 kB / 284.3 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004316/0.1667, allocations: 4.459 MB / 288.8 MB, free: 5.191 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-05/0.1668, allocations: 38.66 kB / 288.8 MB, free: 5.191 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.1671, allocations: 135 kB / 289 MB, free: 5.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001089/0.1681, allocations: 1.486 MB / 290.4 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.1712, allocations: 2.344 MB / 292.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0172/0.1884, allocations: 27.49 MB / 320.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/0.1914, allocations: 1.62 MB / 321.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.1918, allocations: 360.8 kB / 322.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004069/0.1959, allocations: 3.57 MB / 325.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.1959, allocations: 50.58 kB / 325.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.976e-06/0.1959, allocations: 0 / 325.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=139): time 0.009122/0.205, allocations: 3.987 MB / 329.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007121/0.2057, allocations: 1.474 MB / 331.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/0.2081, allocations: 2.819 MB / 334.1 MB, free: 2.359 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.123e-05/0.2082, allocations: 45.7 kB / 334.2 MB, free: 2.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.2094, allocations: 2.737 MB / 336.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004081/0.2098, allocations: 0.5899 MB / 337.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008616/0.2107, allocations: 1.033 MB / 338.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.785e-05/0.2107, allocations: 309.1 kB / 338.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.2118, allocations: 0.7327 MB / 339.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.2143, allocations: 4.047 MB / 343.6 MB, free: 7.633 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004102/0.2184, allocations: 5.356 MB / 349 MB, free: 1.074 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.334e-05/0.2184, allocations: 36 kB / 349 MB, free: 1.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.006944/0.2254, allocations: 4.222 MB / 353.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.433e-05/0.2254, allocations: 60.03 kB / 353.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003136/0.2286, allocations: 0.9633 MB / 354.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003109/0.2317, allocations: 0.5674 MB / 354.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/0.2341, allocations: 1.348 MB / 356.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/0.2372, allocations: 3.165 MB / 359.3 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/0.2397, allocations: 247.8 kB / 359.6 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000393/0.2401, allocations: 300 kB / 359.9 MB, free: 5.969 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001478/0.2416, allocations: 0.5632 MB / 360.4 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/0.2419, allocations: 191 kB / 360.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.2436, allocations: 1.074 MB / 361.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001181/0.2447, allocations: 0.6921 MB / 362.4 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.2447, allocations: 0 / 362.4 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2447, allocations: 7.984 kB / 362.4 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006389/0.2511, allocations: 3.698 MB / 366.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.2511, allocations: 8 kB / 366.1 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/0.2519, allocations: 215.8 kB / 366.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/0.2524, allocations: 265.9 kB / 366.6 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/0.254, allocations: 0.4981 MB / 367.1 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.2541, allocations: 31.97 kB / 367.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.2566, allocations: 2.863 MB / 370 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006553/0.2572, allocations: 1.34 MB / 371.3 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/0.2602, allocations: 1.857 MB / 373.2 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004133/0.2606, allocations: 27.98 kB / 373.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/0.2614, allocations: 20 kB / 373.2 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.2616, allocations: 100.3 kB / 373.3 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/0.2617, allocations: 30.88 kB / 373.3 MB, free: 8.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00131/0.263, allocations: 1.007 MB / 374.4 MB, free: 7.414 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.263, allocations: 0 / 374.4 MB, free: 7.414 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004221/0.2673, allocations: 1.019 MB / 375.4 MB, free: 6.395 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004336/0.2677, allocations: 179 kB / 375.5 MB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.011/0.2787, allocations: 2.689 MB / 378.2 MB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002206/0.2789, allocations: 98.78 kB / 378.3 MB, free: 3.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.2804, allocations: 0.85 MB / 379.2 MB, free: 2.602 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/0.2918, allocations: 0.7573 MB / 379.9 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03608/0.3278, allocations: 6.783 MB / 386.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.3291, allocations: 1.076 MB / 387.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005443/0.3345, allocations: 431.9 kB / 388.2 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009093/0.3355, allocations: 0.4884 MB / 388.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.3355, allocations: 7.391 kB / 388.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of Templates: time 0.1511/0.4865, allocations: 35.27 MB / 424 MB, free: 119 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.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.772796987555921]