Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009446/0.0009498, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007755/0.007756, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007163/0.0007166, allocations: 16 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2452, allocations: 47.58 MB / 327 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03325/0.2785, allocations: 37.35 MB / 364.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01827/0.2968, allocations: 8.466 MB / 372.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005477/0.3023, allocations: 167.6 kB / 373 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.3034, allocations: 382 kB / 373.4 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.3067, allocations: 1.588 MB / 375 MB, free: 3.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.3078, allocations: 0.5617 MB / 375.5 MB, free: 2.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004633/0.3124, allocations: 4.992 MB / 380.5 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005005/0.3175, allocations: 4.079 MB / 384.6 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.3188, allocations: 1.019 MB / 385.6 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.3206, allocations: 1.678 MB / 387.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002503/0.3209, allocations: 120 kB / 387.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.3225, allocations: 1.026 MB / 388.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.3236, allocations: 1.504 MB / 389.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.325, allocations: 1.768 MB / 391.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00472/0.3297, allocations: 5.804 MB / 397.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3298, allocations: 0 / 397.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.3298, allocations: 0 / 397.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.573e-05/0.3299, allocations: 3.938 kB / 397.5 MB, free: 12.55 MB / 334.1 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.005558/0.3354, allocations: 3.47 MB / 401 MB, free: 9.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3355, allocations: 8.031 kB / 401 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006403/0.3419, allocations: 1.879 MB / 402.9 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.345, allocations: 2.068 MB / 404.9 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.3452, allocations: 209.4 kB / 405.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007671/0.3459, allocations: 371.6 kB / 405.5 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.3583, allocations: 8.881 MB / 414.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.256e-05/0.3584, allocations: 39.59 kB / 414.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/0.3588, allocations: 135.9 kB / 414.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002468/0.3612, allocations: 1.641 MB / 416.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/0.3743, allocations: 7.51 MB / 423.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2092/0.5835, allocations: 35.16 MB / 458.9 MB, free: 90.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00768/0.5912, allocations: 3.444 MB / 462.3 MB, free: 89.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.5927, allocations: 1.453 MB / 463.8 MB, free: 89.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006741/0.5994, allocations: 6.813 MB / 470.6 MB, free: 86.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.5995, allocations: 50.03 kB / 470.6 MB, free: 86.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.126e-06/0.5995, allocations: 0 / 470.6 MB, free: 86.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02373/0.6232, allocations: 11.13 MB / 481.8 MB, free: 81.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009843/0.6242, allocations: 1.619 MB / 483.4 MB, free: 79.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/0.6282, allocations: 3.551 MB / 486.9 MB, free: 75.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002531/0.6285, allocations: 45.11 kB / 487 MB, free: 75.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001187/0.6297, allocations: 2.79 MB / 489.8 MB, free: 72.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.6301, allocations: 0.5714 MB / 490.3 MB, free: 72.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004469/0.6306, allocations: 478.6 kB / 490.8 MB, free: 71.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.6306, allocations: 303.1 kB / 491.1 MB, free: 71.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.6328, allocations: 1.924 MB / 493 MB, free: 69.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003229/0.636, allocations: 5.361 MB / 498.4 MB, free: 62.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005984/0.642, allocations: 7.838 MB / 0.4944 GB, free: 53.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.161e-05/0.6421, allocations: 32 kB / 0.4944 GB, free: 53.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0166/0.6587, allocations: 8.754 MB / 0.5029 GB, free: 44.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.6588, allocations: 59.98 kB / 0.503 GB, free: 44.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009423/0.6682, allocations: 3.427 MB / 0.5063 GB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009722/0.678, allocations: 2.246 MB / 0.5085 GB, free: 38.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003408/0.6814, allocations: 1.248 MB / 0.5097 GB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007548/0.689, allocations: 6.807 MB / 0.5164 GB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/0.6928, allocations: 380.2 kB / 0.5168 GB, free: 30.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003488/0.6932, allocations: 349 kB / 0.5171 GB, free: 29.82 MB / 382.1 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.002179/0.6954, allocations: 1.855 MB / 0.5189 GB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/0.6957, allocations: 300.1 kB / 0.5192 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00456/0.7003, allocations: 2.778 MB / 0.5219 GB, free: 24.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003797/0.7041, allocations: 2.359 MB / 0.5242 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.7041, allocations: 6 kB / 0.5242 GB, free: 22.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.7042, allocations: 7.969 kB / 0.5242 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.7147, allocations: 7.837 MB / 0.5319 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.7148, allocations: 7.938 kB / 0.5319 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009114/0.7157, allocations: 219.8 kB / 0.5321 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002664/0.7184, allocations: 1.057 MB / 0.5331 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.711e-05/0.7185, allocations: 40.98 kB / 0.5332 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004157/0.7226, allocations: 4.968 MB / 0.538 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006729/0.7233, allocations: 1.481 MB / 0.5395 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006297/0.7296, allocations: 4.967 MB / 0.5443 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005776/0.7302, allocations: 365 kB / 0.5447 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.7305, allocations: 31.98 kB / 0.5447 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.7317, allocations: 127.8 kB / 0.5448 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.732, allocations: 93.64 kB / 0.5449 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.132e-05/0.7321, allocations: 39.98 kB / 0.5449 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002817/0.7349, allocations: 2.199 MB / 0.5471 GB, free: 14.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7349, allocations: 0 / 0.5471 GB, free: 14.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004037/0.7389, allocations: 0.9714 MB / 0.548 GB, free: 13.52 MB / 398.1 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.0003764/0.7393, allocations: 165.9 kB / 0.5482 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008461/0.7478, allocations: 5.203 MB / 0.5533 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7478, allocations: 0 / 0.5533 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00364/0.7515, allocations: 2.006 MB / 0.5552 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/0.7542, allocations: 372.4 kB / 0.5556 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.768, allocations: 10.38 MB / 0.5657 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/0.771, allocations: 2.902 MB / 0.5686 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00402/0.775, allocations: 1.711 MB / 0.5702 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005405/0.7755, allocations: 215.4 kB / 0.5704 GB, free: 6.363 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7755, allocations: 0 / 0.5704 GB, free: 6.363 MB / 414.1 MB Notification: Performance of Templates: time 0.05675/0.8323, allocations: 34.49 MB / 0.6041 GB, free: 3.879 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)