Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009274/0.0009274, allocations: 92.06 kB / 16.65 MB, free: 6.59 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.001124/0.001124, allocations: 181.1 kB / 17.56 MB, free: 6.203 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.362/1.362, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.0006438/0.0006439, allocations: 12 kB / 280.7 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1044, allocations: 47.58 MB / 328.3 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.05181/0.1563, allocations: 37.35 MB / 365.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01825/0.1746, allocations: 8.454 MB / 374.1 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005096/0.1797, allocations: 167.5 kB / 374.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.1809, allocations: 390 kB / 374.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.1847, allocations: 1.581 MB / 376.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.186, allocations: 0.5578 MB / 376.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1654/0.3514, allocations: 4.981 MB / 381.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005682/0.3572, allocations: 4.077 MB / 385.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.359, allocations: 1.026 MB / 386.9 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.3614, allocations: 1.678 MB / 388.6 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003953/0.3618, allocations: 120.5 kB / 388.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.3639, allocations: 1.018 MB / 389.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.3654, allocations: 1.511 MB / 391.2 MB, free: 9 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.367, allocations: 1.761 MB / 393 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006269/0.3733, allocations: 5.815 MB / 398.8 MB, free: 6.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3733, allocations: 4 kB / 398.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3733, allocations: 0 / 398.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001373/0.3735, allocations: 0 / 398.8 MB, free: 6.609 MB / 318.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.006809/0.3803, allocations: 3.467 MB / 402.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3803, allocations: 7.969 kB / 402.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006372/0.3867, allocations: 1.882 MB / 404.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.3901, allocations: 2.071 MB / 406.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.3902, allocations: 214.7 kB / 406.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007743/0.391, allocations: 370.3 kB / 406.8 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0126/0.4036, allocations: 8.878 MB / 415.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.28e-05/0.4037, allocations: 34.66 kB / 415.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/0.4041, allocations: 141.8 kB / 415.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002467/0.4066, allocations: 1.641 MB / 417.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.421, allocations: 7.505 MB / 425 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0437/0.4647, allocations: 35.17 MB / 460.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008375/0.4731, allocations: 3.448 MB / 463.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.4751, allocations: 1.446 MB / 465.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009176/0.4843, allocations: 6.809 MB / 471.9 MB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.4844, allocations: 43.22 kB / 471.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.338e-06/0.4844, allocations: 2.344 kB / 471.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02729/0.5117, allocations: 11.12 MB / 483 MB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001576/0.5133, allocations: 1.625 MB / 484.7 MB, free: 8.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005288/0.5186, allocations: 3.555 MB / 488.2 MB, free: 5.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.519, allocations: 48.36 kB / 488.3 MB, free: 5.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001838/0.5209, allocations: 2.789 MB / 491 MB, free: 2.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006995/0.5216, allocations: 0.5724 MB / 491.6 MB, free: 1.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005886/0.5222, allocations: 478 kB / 492.1 MB, free: 1.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.5223, allocations: 305.1 kB / 492.4 MB, free: 0.9258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/0.5251, allocations: 1.916 MB / 494.3 MB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005117/0.5303, allocations: 5.363 MB / 499.7 MB, free: 7.965 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008992/0.5393, allocations: 7.846 MB / 0.4956 GB, free: 14.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.73e-05/0.5394, allocations: 36 kB / 0.4956 GB, free: 14.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02092/0.5603, allocations: 8.754 MB / 0.5042 GB, free: 6.832 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.643e-05/0.5605, allocations: 60.19 kB / 0.5043 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0109/0.5714, allocations: 3.439 MB / 0.5076 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/0.5824, allocations: 2.229 MB / 0.5098 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004422/0.5869, allocations: 1.251 MB / 0.511 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.5972, allocations: 6.809 MB / 0.5177 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004659/0.602, allocations: 383.3 kB / 0.518 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006569/0.6026, allocations: 343.7 kB / 0.5184 GB, free: 8.113 MB / 446.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.003209/0.6058, allocations: 1.854 MB / 0.5202 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005191/0.6064, allocations: 304 kB / 0.5205 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005456/0.6118, allocations: 2.771 MB / 0.5232 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004551/0.6164, allocations: 2.355 MB / 0.5255 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.6164, allocations: 0 / 0.5255 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.6165, allocations: 11.98 kB / 0.5255 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.6304, allocations: 7.854 MB / 0.5331 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.6304, allocations: 0 / 0.5331 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.6315, allocations: 231.6 kB / 0.5334 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/0.6347, allocations: 1.049 MB / 0.5344 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.6348, allocations: 31.98 kB / 0.5344 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005508/0.6403, allocations: 4.966 MB / 0.5393 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001014/0.6414, allocations: 1.482 MB / 0.5407 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1791/0.8205, allocations: 4.95 MB / 0.5455 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009623/0.8215, allocations: 379.6 kB / 0.5459 GB, free: 172.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/0.8219, allocations: 26.5 kB / 0.5459 GB, free: 172.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.8233, allocations: 129.6 kB / 0.5461 GB, free: 172.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.8235, allocations: 79.23 kB / 0.5461 GB, free: 172.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.8236, allocations: 46.8 kB / 0.5462 GB, free: 172.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003368/0.827, allocations: 2.198 MB / 0.5483 GB, free: 172.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.81e-07/0.827, allocations: 3.656 kB / 0.5483 GB, free: 172.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004383/0.8314, allocations: 0.9701 MB / 0.5493 GB, free: 172.2 MB / 462.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.0003822/0.8318, allocations: 171.8 kB / 0.5494 GB, free: 172.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008481/0.8403, allocations: 5.201 MB / 0.5545 GB, free: 170.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8403, allocations: 0 / 0.5545 GB, free: 170.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003467/0.8438, allocations: 2.01 MB / 0.5565 GB, free: 169.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.8467, allocations: 366.8 kB / 0.5568 GB, free: 169.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.8586, allocations: 10.4 MB / 0.567 GB, free: 163.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002678/0.8613, allocations: 2.911 MB / 0.5698 GB, free: 162.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003691/0.865, allocations: 1.702 MB / 0.5715 GB, free: 162.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/0.8656, allocations: 217.4 kB / 0.5717 GB, free: 162.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.924e-06/0.8656, allocations: 0 / 0.5717 GB, free: 162.3 MB / 462.1 MB Notification: Performance of Templates: time 0.05339/0.919, allocations: 34.5 MB / 0.6054 GB, free: 130.5 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)