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.001966/0.001966, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002369/0.002369, allocations: 156.9 kB / 24.27 MB, free: 172 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.55/1.55, allocations: 177 MB / 204.5 MB, free: 5.605 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.392e-06/1.392e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.262e-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.01219/0.01222, allocations: 9.151 MB / 281.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007939/0.02015, allocations: 3.656 MB / 285 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.02118, allocations: 75.62 kB / 285.1 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004759/0.02594, allocations: 2.398 MB / 287.5 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004021/0.02996, allocations: 1.769 MB / 289.3 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.03145, allocations: 0.6626 MB / 289.9 MB, free: 0 / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1248/0.1562, allocations: 3.866 MB / 293.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003658/0.1599, allocations: 2.77 MB / 296.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00357/0.1635, allocations: 2.06 MB / 298.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002957/0.1664, allocations: 1.93 MB / 300.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006402/0.1671, allocations: 296.9 kB / 300.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.169, allocations: 1.087 MB / 301.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.1704, allocations: 1.802 MB / 303.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.1716, allocations: 1.127 MB / 304.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005621/0.1772, allocations: 6.248 MB / 311.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1772, allocations: 0 / 311.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1772, allocations: 1.844 kB / 311.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001353/0.1774, allocations: 0 / 311.1 MB, free: 8.805 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.006878/0.1842, allocations: 4.263 MB / 315.4 MB, free: 4.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1843, allocations: 14.64 kB / 315.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006329/0.1906, allocations: 2.392 MB / 317.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.1939, allocations: 1.993 MB / 319.8 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.194, allocations: 215 kB / 320 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007543/0.1947, allocations: 378.9 kB / 320.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01737/0.2121, allocations: 8.938 MB / 329.3 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-05/0.2122, allocations: 38.42 kB / 329.3 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003922/0.2126, allocations: 136.7 kB / 329.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002769/0.2153, allocations: 1.642 MB / 331.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.2308, allocations: 7.516 MB / 338.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04711/0.2779, allocations: 33.06 MB / 371.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009026/0.2869, allocations: 3.035 MB / 374.7 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.2892, allocations: 1.377 MB / 376.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/0.2994, allocations: 5.502 MB / 381.6 MB, free: 1.926 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.2995, allocations: 47.22 kB / 381.6 MB, free: 1.871 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 3.016e-06/0.2995, allocations: 0 / 381.6 MB, free: 1.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.02921/0.3287, allocations: 11.34 MB / 393 MB, free: 6.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001692/0.3304, allocations: 1.577 MB / 394.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005715/0.3361, allocations: 3.47 MB / 398 MB, free: 1.285 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003322/0.3364, allocations: 47.97 kB / 398.1 MB, free: 1.234 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00265/0.3391, allocations: 2.896 MB / 401 MB, free: 14.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008991/0.34, allocations: 0.5871 MB / 401.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001671/0.3416, allocations: 1.104 MB / 402.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3418, allocations: 310.7 kB / 403 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/0.3451, allocations: 1.947 MB / 404.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007073/0.3522, allocations: 5.397 MB / 410.3 MB, free: 3.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.3636, allocations: 7.858 MB / 418.2 MB, free: 9.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/0.3637, allocations: 36 kB / 418.2 MB, free: 9.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02364/0.3874, allocations: 9.17 MB / 427.4 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.3875, allocations: 59.94 kB / 427.4 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1814/0.569, allocations: 3.549 MB / 431 MB, free: 116.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.5795, allocations: 2.325 MB / 433.3 MB, free: 116.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005513/0.585, allocations: 1.262 MB / 434.6 MB, free: 116.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.6003, allocations: 7.112 MB / 441.7 MB, free: 112.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007271/0.6076, allocations: 425.4 kB / 442.1 MB, free: 112.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009898/0.6086, allocations: 339.6 kB / 442.4 MB, free: 112.7 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.003507/0.6121, allocations: 1.846 MB / 444.3 MB, free: 111.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007944/0.6129, allocations: 327.1 kB / 444.6 MB, free: 111.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/0.6137, allocations: 382.9 kB / 445 MB, free: 111.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005467/0.6191, allocations: 2.367 MB / 447.3 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.6191, allocations: 3.875 kB / 447.3 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.6192, allocations: 8.297 kB / 447.3 MB, free: 110.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.6369, allocations: 6.987 MB / 454.3 MB, free: 108 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.637, allocations: 2.125 kB / 454.3 MB, free: 108 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.638, allocations: 233.1 kB / 454.5 MB, free: 107.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002792/0.6408, allocations: 1.059 MB / 455.6 MB, free: 107.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/0.641, allocations: 41.7 kB / 455.6 MB, free: 107.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.6457, allocations: 5.019 MB / 460.7 MB, free: 103 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008169/0.6466, allocations: 1.447 MB / 462.1 MB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007678/0.6542, allocations: 5.004 MB / 467.1 MB, free: 96.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.6552, allocations: 285.9 kB / 467.4 MB, free: 96.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/0.6556, allocations: 28 kB / 467.4 MB, free: 96.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.657, allocations: 159.7 kB / 467.6 MB, free: 96.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/0.6573, allocations: 84.42 kB / 467.7 MB, free: 96.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.6574, allocations: 47.97 kB / 467.7 MB, free: 96.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002465/0.6599, allocations: 1.995 MB / 469.7 MB, free: 94.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6599, allocations: 0 / 469.7 MB, free: 94.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005512/0.6654, allocations: 1.002 MB / 470.7 MB, free: 93.15 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.0004501/0.6659, allocations: 176.2 kB / 470.9 MB, free: 92.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0075/0.6734, allocations: 4.918 MB / 475.8 MB, free: 88.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6734, allocations: 4 kB / 475.8 MB, free: 88.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003007/0.6764, allocations: 1.79 MB / 477.6 MB, free: 86.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.6786, allocations: 381.8 kB / 478 MB, free: 85.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.6895, allocations: 8.476 MB / 486.4 MB, free: 77.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002188/0.6917, allocations: 2.354 MB / 488.8 MB, free: 75.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003167/0.6949, allocations: 1.668 MB / 490.5 MB, free: 73.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/0.6954, allocations: 204.5 kB / 490.7 MB, free: 73.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.734e-06/0.6954, allocations: 0 / 490.7 MB, free: 73.16 MB / 378.7 MB Notification: Performance of Templates: time 0.04822/0.7436, allocations: 31.5 MB / 0.5099 GB, free: 42.14 MB / 378.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] 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.294460003031418]