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.001631/0.001631, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002013, allocations: 193.3 kB / 16.53 MB, free: 6.699 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.494/1.494, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.001209/0.001209, allocations: 55.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2026, allocations: 46.63 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01142/0.214, allocations: 10.46 MB / 335.8 MB, free: 9.434 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00859/0.2227, allocations: 3.813 MB / 339.6 MB, free: 5.609 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.2246, allocations: 63.75 kB / 339.6 MB, free: 5.547 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004252/0.2289, allocations: 2.313 MB / 342 MB, free: 3.227 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004397/0.2333, allocations: 1.681 MB / 343.6 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.2346, allocations: 0.6122 MB / 344.3 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003923/0.2386, allocations: 3.463 MB / 347.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.2418, allocations: 3.034 MB / 350.8 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.2438, allocations: 1.367 MB / 352.1 MB, free: 9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.2462, allocations: 1.799 MB / 353.9 MB, free: 7.195 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005249/0.2467, allocations: 299.9 kB / 354.2 MB, free: 6.902 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.2487, allocations: 1.131 MB / 355.3 MB, free: 5.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.2502, allocations: 1.675 MB / 357 MB, free: 4.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.252, allocations: 1.965 MB / 359 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006633/0.2586, allocations: 6.028 MB / 365 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2586, allocations: 0 / 365 MB, free: 12.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2587, allocations: 0 / 365 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.849e-05/0.2588, allocations: 0 / 365 MB, free: 12.05 MB / 302.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.007383/0.2661, allocations: 4.226 MB / 369.2 MB, free: 7.762 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2662, allocations: 16.02 kB / 369.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006306/0.2725, allocations: 1.832 MB / 371.1 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003961/0.2765, allocations: 2.072 MB / 373.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.2767, allocations: 209.4 kB / 373.4 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008574/0.2775, allocations: 371.6 kB / 373.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.2939, allocations: 8.873 MB / 382.6 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/0.2942, allocations: 31.66 kB / 382.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009257/0.2951, allocations: 139.9 kB / 382.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002644/0.2977, allocations: 1.633 MB / 384.4 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.3125, allocations: 7.506 MB / 391.9 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04896/0.3615, allocations: 35.18 MB / 427.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0091/0.3707, allocations: 3.456 MB / 430.5 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002277/0.373, allocations: 1.447 MB / 432 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.3838, allocations: 6.8 MB / 438.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.3839, allocations: 55.09 kB / 438.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.609e-06/0.3839, allocations: 0 / 438.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02955/0.4135, allocations: 11.12 MB / 450 MB, free: 4.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001463/0.415, allocations: 1.71 MB / 451.7 MB, free: 2.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1948/0.6098, allocations: 3.537 MB / 455.2 MB, free: 111.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.6102, allocations: 48.22 kB / 455.3 MB, free: 111.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002021/0.6122, allocations: 2.788 MB / 458 MB, free: 109.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006709/0.6129, allocations: 0.5722 MB / 458.6 MB, free: 109.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/0.6143, allocations: 1.105 MB / 459.7 MB, free: 108.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.6144, allocations: 305.6 kB / 460 MB, free: 108.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/0.6171, allocations: 1.92 MB / 461.9 MB, free: 107.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/0.6209, allocations: 5.365 MB / 467.3 MB, free: 102.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006515/0.6274, allocations: 7.83 MB / 475.1 MB, free: 95.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.975e-05/0.6275, allocations: 35.25 kB / 475.2 MB, free: 95.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01971/0.6473, allocations: 8.758 MB / 483.9 MB, free: 90.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.6e-05/0.6474, allocations: 56 kB / 484 MB, free: 90.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009648/0.657, allocations: 3.441 MB / 487.4 MB, free: 87.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009774/0.6669, allocations: 2.238 MB / 489.7 MB, free: 84.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003698/0.6706, allocations: 1.248 MB / 490.9 MB, free: 83.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00859/0.6792, allocations: 7.417 MB / 498.3 MB, free: 76.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005377/0.6846, allocations: 383.2 kB / 498.7 MB, free: 75.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/0.6858, allocations: 350.8 kB / 499 MB, free: 75.31 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.003781/0.6896, allocations: 1.85 MB / 0.4891 GB, free: 73.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/0.6908, allocations: 300.1 kB / 0.4894 GB, free: 73.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005474/0.6963, allocations: 2.771 MB / 0.4921 GB, free: 70.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003876/0.7002, allocations: 2.351 MB / 0.4944 GB, free: 67.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.7003, allocations: 4 kB / 0.4944 GB, free: 67.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.7003, allocations: 7.969 kB / 0.4944 GB, free: 67.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.715, allocations: 7.852 MB / 0.5021 GB, free: 60.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/0.715, allocations: 8.031 kB / 0.5021 GB, free: 60.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.7161, allocations: 223.6 kB / 0.5023 GB, free: 59.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00272/0.7189, allocations: 1.056 MB / 0.5034 GB, free: 58.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/0.7191, allocations: 39.97 kB / 0.5034 GB, free: 58.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004851/0.7239, allocations: 5.279 MB / 0.5086 GB, free: 53.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007994/0.7247, allocations: 1.571 MB / 0.5101 GB, free: 51.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006848/0.7316, allocations: 4.957 MB / 0.5149 GB, free: 46.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.7327, allocations: 357.2 kB / 0.5153 GB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/0.7335, allocations: 33.77 kB / 0.5153 GB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.7352, allocations: 119.8 kB / 0.5154 GB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/0.7355, allocations: 96.44 kB / 0.5155 GB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.7356, allocations: 43.92 kB / 0.5156 GB, free: 45.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003527/0.7391, allocations: 2.199 MB / 0.5177 GB, free: 43.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7392, allocations: 0 / 0.5177 GB, free: 43.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004821/0.744, allocations: 0.9705 MB / 0.5187 GB, free: 42.63 MB / 382.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.0004805/0.7445, allocations: 173.6 kB / 0.5188 GB, free: 42.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009305/0.7538, allocations: 5.708 MB / 0.5244 GB, free: 36.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.7538, allocations: 0 / 0.5244 GB, free: 36.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003426/0.7573, allocations: 2.017 MB / 0.5264 GB, free: 34.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004216/0.7615, allocations: 399.8 kB / 0.5267 GB, free: 34.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.7766, allocations: 8.526 MB / 0.5351 GB, free: 25.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003722/0.7804, allocations: 2.906 MB / 0.5379 GB, free: 22.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004435/0.7849, allocations: 1.699 MB / 0.5396 GB, free: 21.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009221/0.7858, allocations: 211.4 kB / 0.5398 GB, free: 20.83 MB / 382.1 MB Notification: Performance of SimCode: time 1.412e-06/0.7858, allocations: 0 / 0.5398 GB, free: 20.83 MB / 382.1 MB Notification: Performance of Templates: time 0.06184/0.8477, allocations: 36.09 MB / 0.575 GB, free: 0.75 MB / 398.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)