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.0007945/0.0007945, allocations: 89.09 kB / 16.31 MB, free: 5.676 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.0008386/0.0008386, allocations: 181.4 kB / 17.21 MB, free: 5.594 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.298/1.298, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.000435/0.0004351, allocations: 12 kB / 280.1 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09282/0.09327, allocations: 47.58 MB / 327.7 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03441/0.1278, allocations: 34.76 MB / 362.5 MB, free: 1.207 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.145, allocations: 8.054 MB / 370.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005318/0.1504, allocations: 167.6 kB / 370.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004656/0.1551, allocations: 1.757 MB / 372.5 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01492/0.17, allocations: 5.358 MB / 377.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003431/0.1735, allocations: 0.5032 MB / 378.3 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1809/0.3544, allocations: 3.962 MB / 382.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005332/0.3597, allocations: 3.724 MB / 386 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.3619, allocations: 1.113 MB / 387.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.3642, allocations: 1.656 MB / 388.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003904/0.3646, allocations: 121.6 kB / 388.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.3664, allocations: 0.8775 MB / 389.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.3677, allocations: 1.478 MB / 391.3 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007108/0.3684, allocations: 0.7381 MB / 392 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004221/0.3727, allocations: 4.776 MB / 396.8 MB, free: 9.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3727, allocations: 0 / 396.8 MB, free: 9.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3727, allocations: 0 / 396.8 MB, free: 9.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001166/0.3728, allocations: 0 / 396.8 MB, free: 9.957 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.005297/0.3781, allocations: 3.522 MB / 400.3 MB, free: 7.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3782, allocations: 9.906 kB / 400.3 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/0.3835, allocations: 1.874 MB / 402.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.3864, allocations: 2.037 MB / 404.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.3865, allocations: 213.2 kB / 404.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006492/0.3872, allocations: 368.8 kB / 404.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.402, allocations: 8.858 MB / 413.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/0.4021, allocations: 35.62 kB / 413.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005197/0.4027, allocations: 142.6 kB / 413.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00329/0.406, allocations: 1.638 MB / 415.5 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/0.4271, allocations: 7.471 MB / 422.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05864/0.4858, allocations: 35.15 MB / 458.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008655/0.4945, allocations: 3.44 MB / 461.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.4967, allocations: 1.437 MB / 463 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.5069, allocations: 6.813 MB / 469.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.507, allocations: 46.12 kB / 469.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=132): time 4.048e-06/0.507, allocations: 0 / 469.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=139): time 0.02511/0.5321, allocations: 11.12 MB / 480.9 MB, free: 6.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001441/0.5336, allocations: 1.624 MB / 482.6 MB, free: 4.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005187/0.5388, allocations: 3.528 MB / 486.1 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.539, allocations: 45.8 kB / 486.1 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002019/0.5411, allocations: 2.791 MB / 488.9 MB, free: 14.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008226/0.5419, allocations: 0.5665 MB / 489.5 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.5422, allocations: 108.9 kB / 489.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003666/0.5425, allocations: 0.5335 MB / 490.1 MB, free: 12.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/0.5458, allocations: 1.902 MB / 492 MB, free: 10.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005899/0.5518, allocations: 5.342 MB / 497.4 MB, free: 3.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005205/0.557, allocations: 3.118 MB / 0.4888 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-05/0.5571, allocations: 36 kB / 0.4888 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01992/0.577, allocations: 8.711 MB / 0.4973 GB, free: 8.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.5772, allocations: 62.81 kB / 0.4974 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009688/0.5869, allocations: 3.432 MB / 0.5007 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00914/0.596, allocations: 2.254 MB / 0.5029 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004051/0.6001, allocations: 1.248 MB / 0.5041 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009495/0.6096, allocations: 6.799 MB / 0.5108 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/0.6141, allocations: 384 kB / 0.5111 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009335/0.6151, allocations: 340.8 kB / 0.5115 GB, free: 9.633 MB / 430.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004403/0.6195, allocations: 1.863 MB / 0.5133 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007289/0.6202, allocations: 302 kB / 0.5136 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005618/0.6259, allocations: 2.768 MB / 0.5163 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004357/0.6302, allocations: 2.351 MB / 0.5186 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.6303, allocations: 7.953 kB / 0.5186 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.6303, allocations: 3.984 kB / 0.5186 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.645, allocations: 7.847 MB / 0.5262 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.6451, allocations: 8.094 kB / 0.5263 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.6462, allocations: 223.6 kB / 0.5265 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003004/0.6492, allocations: 1.057 MB / 0.5275 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.6494, allocations: 31.98 kB / 0.5275 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005557/0.6549, allocations: 4.957 MB / 0.5324 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001083/0.6561, allocations: 1.48 MB / 0.5338 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2073/0.8633, allocations: 4.943 MB / 0.5386 GB, free: 159.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.8645, allocations: 377.3 kB / 0.539 GB, free: 159 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004615/0.865, allocations: 29.41 kB / 0.539 GB, free: 159 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.8663, allocations: 128.7 kB / 0.5391 GB, free: 159 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.8666, allocations: 88.02 kB / 0.5392 GB, free: 159 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.8667, allocations: 44.23 kB / 0.5393 GB, free: 159 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003951/0.8706, allocations: 2.181 MB / 0.5414 GB, free: 158.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8706, allocations: 0 / 0.5414 GB, free: 158.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005062/0.8757, allocations: 0.9693 MB / 0.5424 GB, free: 158.8 MB / 446.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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003873/0.8761, allocations: 170.5 kB / 0.5425 GB, free: 158.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008763/0.8849, allocations: 5.176 MB / 0.5476 GB, free: 156.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.8849, allocations: 0 / 0.5476 GB, free: 156.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003429/0.8884, allocations: 1.998 MB / 0.5495 GB, free: 156.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.8909, allocations: 388.7 kB / 0.5499 GB, free: 155.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.9058, allocations: 9.984 MB / 0.5596 GB, free: 150.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002879/0.9088, allocations: 2.91 MB / 0.5625 GB, free: 149.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003908/0.9127, allocations: 1.702 MB / 0.5641 GB, free: 149.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/0.9133, allocations: 208.9 kB / 0.5643 GB, free: 149.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.9133, allocations: 2.297 kB / 0.5643 GB, free: 149.4 MB / 446.1 MB Notification: Performance of Templates: time 0.04998/0.9633, allocations: 33.84 MB / 0.5974 GB, free: 118.8 MB / 446.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)