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.001878/0.001878, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001989/0.001989, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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 1.54/1.54, allocations: 173.4 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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.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_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.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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.451e-05, allocations: 10.25 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.02644/0.02647, allocations: 10.12 MB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01509/0.04156, allocations: 3.75 MB / 281.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.04367, allocations: 75.56 kB / 281.3 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009814/0.05349, allocations: 2.476 MB / 283.7 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008751/0.06224, allocations: 1.8 MB / 285.5 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.06508, allocations: 0.6743 MB / 286.2 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1143/0.1794, allocations: 3.803 MB / 290 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.1828, allocations: 2.791 MB / 292.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.186, allocations: 2.089 MB / 294.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/0.1893, allocations: 1.99 MB / 296.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007908/0.1901, allocations: 297.4 kB / 297.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.1922, allocations: 1.1 MB / 298.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.1937, allocations: 1.841 MB / 300.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.195, allocations: 1.145 MB / 301.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005723/0.2008, allocations: 6.315 MB / 307.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2008, allocations: 0.5625 kB / 307.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2008, allocations: 3.5 kB / 307.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001288/0.2009, allocations: 2.969 kB / 307.6 MB, free: 11.87 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.007634/0.2085, allocations: 5.015 MB / 312.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.2086, allocations: 9.328 kB / 312.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006528/0.2151, allocations: 2.283 MB / 314.9 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003936/0.219, allocations: 1.854 MB / 316.8 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.2191, allocations: 211.1 kB / 317 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007631/0.2199, allocations: 364.8 kB / 317.3 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009822/0.2297, allocations: 5.957 MB / 323.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.862e-05/0.2298, allocations: 32.06 kB / 323.3 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000392/0.2302, allocations: 139.3 kB / 323.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002913/0.2331, allocations: 1.641 MB / 325.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.2444, allocations: 3.393 MB / 328.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05633/0.3007, allocations: 42.21 MB / 370.7 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008137/0.3089, allocations: 2.028 MB / 372.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.3101, allocations: 0.5332 MB / 373.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009914/0.32, allocations: 4.194 MB / 377.4 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.32, allocations: 50.05 kB / 377.5 MB, free: 8.145 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 3.256e-06/0.32, allocations: 0 / 377.5 MB, free: 8.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.02687/0.3469, allocations: 8.262 MB / 385.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001858/0.3488, allocations: 2.066 MB / 387.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/0.355, allocations: 3.966 MB / 391.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002414/0.3552, allocations: 45.7 kB / 391.8 MB, free: 9.562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003016/0.3582, allocations: 3.233 MB / 395.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009097/0.3591, allocations: 0.6566 MB / 395.7 MB, free: 5.695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002125/0.3613, allocations: 1.386 MB / 397.1 MB, free: 4.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.3615, allocations: 480.7 kB / 397.6 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.3631, allocations: 0.6899 MB / 398.3 MB, free: 3.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006863/0.37, allocations: 5.967 MB / 404.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009576/0.3796, allocations: 7.347 MB / 411.6 MB, free: 1.305 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-05/0.3797, allocations: 36 kB / 411.6 MB, free: 1.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01874/0.3984, allocations: 6.274 MB / 417.9 MB, free: 10.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.745e-05/0.3985, allocations: 64.12 kB / 418 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01007/0.4086, allocations: 2.133 MB / 420.1 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.4195, allocations: 1.75 MB / 421.8 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004489/0.424, allocations: 1.252 MB / 423.1 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009157/0.4332, allocations: 4.832 MB / 427.9 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004667/0.4378, allocations: 419.3 kB / 428.3 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1242/0.562, allocations: 342.5 kB / 428.7 MB, free: 112.5 MB / 378.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.00239/0.5644, allocations: 0.6939 MB / 429.4 MB, free: 112.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007021/0.5651, allocations: 329.4 kB / 429.7 MB, free: 112.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/0.5696, allocations: 1.533 MB / 431.2 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003596/0.5732, allocations: 1.174 MB / 432.4 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.5732, allocations: 6.312 kB / 432.4 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.5733, allocations: 7.672 kB / 432.4 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.5876, allocations: 6.388 MB / 438.8 MB, free: 111.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.5876, allocations: 2.75 kB / 438.8 MB, free: 111.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.5887, allocations: 224.9 kB / 439 MB, free: 111.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/0.5912, allocations: 0.5711 MB / 439.6 MB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.5913, allocations: 38.36 kB / 439.6 MB, free: 111.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/0.595, allocations: 4.28 MB / 443.9 MB, free: 108 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007495/0.5957, allocations: 1.915 MB / 445.8 MB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005313/0.601, allocations: 2.671 MB / 448.5 MB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007507/0.6018, allocations: 281.7 kB / 448.8 MB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/0.6021, allocations: 27.86 kB / 448.8 MB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.6034, allocations: 155 kB / 448.9 MB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/0.6037, allocations: 86.67 kB / 449 MB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.6038, allocations: 43.27 kB / 449.1 MB, free: 105.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002488/0.6063, allocations: 1.618 MB / 450.7 MB, free: 105.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6063, allocations: 0 / 450.7 MB, free: 105.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004213/0.6105, allocations: 1.023 MB / 451.7 MB, free: 105 MB / 378.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.0004489/0.611, allocations: 183.1 kB / 451.9 MB, free: 104.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006454/0.6174, allocations: 3.627 MB / 455.5 MB, free: 103.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6174, allocations: 4 kB / 455.5 MB, free: 103.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003006/0.6204, allocations: 1.361 MB / 456.9 MB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.6227, allocations: 384.1 kB / 457.3 MB, free: 103 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.6331, allocations: 6.906 MB / 464.2 MB, free: 99.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/0.6351, allocations: 2.142 MB / 466.3 MB, free: 97.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002771/0.6379, allocations: 1.459 MB / 467.8 MB, free: 96.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000473/0.6384, allocations: 204.5 kB / 468 MB, free: 96.15 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.6384, allocations: 0 / 468 MB, free: 96.15 MB / 378.7 MB Notification: Performance of Templates: time 0.04821/0.6866, allocations: 32.03 MB / 500 MB, free: 64.61 MB / 378.7 MB " [Timeout remaining time 659] 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.392943215905689]