Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.002427/0.002427, allocations: 99.53 kB / 20.96 MB, free: 3.453 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.002075/0.002075, allocations: 164.8 kB / 24.27 MB, free: 152 kB / 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.56/1.56, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_trunk_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.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.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.96e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01981/0.01984, allocations: 10.08 MB / 282.3 MB, free: 7.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008725/0.02857, allocations: 3.749 MB / 286 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.03025, allocations: 75.62 kB / 286.1 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005768/0.03602, allocations: 2.476 MB / 288.6 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1193/0.1554, allocations: 1.755 MB / 290.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1568, allocations: 0.6733 MB / 291 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00529/0.1621, allocations: 3.873 MB / 294.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003507/0.1656, allocations: 2.78 MB / 297.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/0.1689, allocations: 2.073 MB / 299.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002967/0.1719, allocations: 1.989 MB / 301.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007215/0.1726, allocations: 300.1 kB / 302 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.1747, allocations: 1.079 MB / 303.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001254/0.1759, allocations: 1.816 MB / 304.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.1772, allocations: 1.13 MB / 306.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.1823, allocations: 6.265 MB / 312.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1823, allocations: 0 / 312.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1823, allocations: 0 / 312.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001634/0.1824, allocations: 0 / 312.3 MB, free: 7.504 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.007637/0.1901, allocations: 4.997 MB / 317.3 MB, free: 2.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1901, allocations: 15.98 kB / 317.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006531/0.1966, allocations: 2.332 MB / 319.7 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00487/0.2015, allocations: 1.86 MB / 321.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.2017, allocations: 210 kB / 321.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.2027, allocations: 364.9 kB / 322.1 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.2173, allocations: 5.983 MB / 328.1 MB, free: 7.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.2174, allocations: 32.83 kB / 328.1 MB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004054/0.2178, allocations: 138.9 kB / 328.2 MB, free: 7.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002853/0.2207, allocations: 1.639 MB / 329.9 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.232, allocations: 3.41 MB / 333.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0547/0.2867, allocations: 42.23 MB / 375.5 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008045/0.2948, allocations: 2.037 MB / 377.6 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.2959, allocations: 0.5455 MB / 378.1 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.3061, allocations: 4.204 MB / 382.3 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/0.3062, allocations: 50.05 kB / 382.4 MB, free: 376 kB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 4.168e-06/0.3062, allocations: 0 / 382.4 MB, free: 376 kB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.02669/0.3329, allocations: 8.295 MB / 390.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002084/0.335, allocations: 2.048 MB / 392.7 MB, free: 5.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006372/0.3413, allocations: 3.961 MB / 396.7 MB, free: 1.828 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003127/0.3417, allocations: 48.52 kB / 396.7 MB, free: 1.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003368/0.345, allocations: 3.232 MB / 399.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/0.3461, allocations: 0.6475 MB / 400.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002238/0.3483, allocations: 1.4 MB / 402 MB, free: 12.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.3486, allocations: 480.7 kB / 402.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.3504, allocations: 0.686 MB / 403.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006879/0.3572, allocations: 5.974 MB / 409.1 MB, free: 3.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/0.3675, allocations: 7.363 MB / 416.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/0.3676, allocations: 36 kB / 416.5 MB, free: 9.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01957/0.3872, allocations: 6.358 MB / 422.9 MB, free: 3.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.3873, allocations: 59.94 kB / 422.9 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0105/0.3978, allocations: 2.217 MB / 425.1 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/0.4089, allocations: 1.839 MB / 427 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004741/0.4137, allocations: 1.267 MB / 428.3 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009018/0.4227, allocations: 4.837 MB / 433.1 MB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004989/0.4277, allocations: 423.4 kB / 433.5 MB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009421/0.4286, allocations: 336 kB / 433.8 MB, free: 7.766 MB / 394.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.002157/0.4308, allocations: 0.7035 MB / 434.5 MB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007367/0.4315, allocations: 330 kB / 434.9 MB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007966/0.4323, allocations: 319.4 kB / 435.2 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003953/0.4363, allocations: 1.18 MB / 436.3 MB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4363, allocations: 4 kB / 436.3 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.4363, allocations: 15.97 kB / 436.4 MB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1406/0.5769, allocations: 6.406 MB / 442.8 MB, free: 124.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.5769, allocations: 1.719 kB / 442.8 MB, free: 124.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.578, allocations: 229.4 kB / 443 MB, free: 124.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/0.5809, allocations: 0.5752 MB / 443.6 MB, free: 124.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/0.581, allocations: 33.67 kB / 443.6 MB, free: 124.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003813/0.5848, allocations: 4.281 MB / 447.9 MB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007484/0.5856, allocations: 1.92 MB / 449.8 MB, free: 118.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005739/0.5913, allocations: 2.685 MB / 452.5 MB, free: 118 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008205/0.5922, allocations: 283.9 kB / 452.8 MB, free: 118 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/0.5925, allocations: 32.02 kB / 452.8 MB, free: 118 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.594, allocations: 153.1 kB / 452.9 MB, free: 118 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.5943, allocations: 86.47 kB / 453 MB, free: 118 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.5944, allocations: 40.94 kB / 453.1 MB, free: 118 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002458/0.5969, allocations: 1.61 MB / 454.7 MB, free: 117.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5969, allocations: 0 / 454.7 MB, free: 117.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004184/0.6011, allocations: 0.9994 MB / 455.7 MB, free: 117.8 MB / 394.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.0003984/0.6015, allocations: 176.8 kB / 455.9 MB, free: 117.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007209/0.6087, allocations: 3.647 MB / 459.5 MB, free: 117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6087, allocations: 0 / 459.5 MB, free: 117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00328/0.612, allocations: 1.374 MB / 460.9 MB, free: 116.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.6142, allocations: 373 kB / 461.2 MB, free: 116.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009671/0.6239, allocations: 6.919 MB / 468.2 MB, free: 113.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/0.626, allocations: 2.136 MB / 470.3 MB, free: 113.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002927/0.6289, allocations: 1.442 MB / 471.7 MB, free: 113.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.6295, allocations: 202.9 kB / 471.9 MB, free: 113.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.904e-06/0.6295, allocations: 0 / 471.9 MB, free: 113.2 MB / 394.7 MB Notification: Performance of Templates: time 0.04913/0.6786, allocations: 31.87 MB / 0.492 GB, free: 83.9 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.347690935013816]