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.001455/0.001456, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001679/0.001679, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.412/1.412, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.001168/0.001168, allocations: 47.92 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.1009, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03567/0.1367, allocations: 38.41 MB / 364.6 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02064/0.1574, allocations: 8.434 MB / 373 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009165/0.1666, allocations: 167.6 kB / 373.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00485/0.1715, allocations: 2.213 MB / 375.4 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004632/0.1762, allocations: 1.577 MB / 376.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.1778, allocations: 0.5734 MB / 377.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2137/0.3915, allocations: 3.493 MB / 381 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005797/0.3974, allocations: 3.205 MB / 384.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.4005, allocations: 1.394 MB / 385.6 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003585/0.4041, allocations: 2.006 MB / 387.6 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009006/0.4051, allocations: 290.7 kB / 387.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.4076, allocations: 1.15 MB / 389.1 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.4093, allocations: 1.706 MB / 390.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.4112, allocations: 1.981 MB / 392.7 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006807/0.4181, allocations: 6.077 MB / 398.8 MB, free: 7.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.4181, allocations: 0 / 398.8 MB, free: 7.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4181, allocations: 0 / 398.8 MB, free: 7.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002553/0.4184, allocations: 0 / 398.8 MB, free: 7.574 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.008941/0.4273, allocations: 4.232 MB / 403 MB, free: 5.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4274, allocations: 10.22 kB / 403.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005877/0.4333, allocations: 1.833 MB / 404.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/0.4377, allocations: 2.064 MB / 407 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.4379, allocations: 212.5 kB / 407.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009372/0.4388, allocations: 373.8 kB / 407.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.4556, allocations: 8.864 MB / 416.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/0.4557, allocations: 43.12 kB / 416.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004144/0.4561, allocations: 139.6 kB / 416.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002382/0.4585, allocations: 1.64 MB / 418.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.4744, allocations: 7.5 MB / 425.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04993/0.5244, allocations: 35.18 MB / 460.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008374/0.5328, allocations: 3.448 MB / 464.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.5347, allocations: 1.444 MB / 465.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009358/0.5441, allocations: 6.811 MB / 472.6 MB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.5442, allocations: 46.31 kB / 472.6 MB, free: 3.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.477e-06/0.5442, allocations: 0 / 472.6 MB, free: 3.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02534/0.5695, allocations: 11.12 MB / 483.8 MB, free: 8.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001307/0.5709, allocations: 1.708 MB / 485.5 MB, free: 6.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004976/0.5759, allocations: 3.559 MB / 489 MB, free: 2.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004279/0.5763, allocations: 45.69 kB / 489.1 MB, free: 2.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.5781, allocations: 2.783 MB / 491.8 MB, free: 172 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007817/0.5789, allocations: 0.5724 MB / 492.4 MB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/0.5803, allocations: 1.104 MB / 493.5 MB, free: 14.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5805, allocations: 306.2 kB / 493.8 MB, free: 14.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.5833, allocations: 1.931 MB / 495.8 MB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/0.5881, allocations: 5.354 MB / 0.4894 GB, free: 5.223 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008725/0.5968, allocations: 7.843 MB / 0.497 GB, free: 12.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.143e-05/0.597, allocations: 36 kB / 0.4971 GB, free: 12.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02057/0.6175, allocations: 8.756 MB / 0.5056 GB, free: 4.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-05/0.6177, allocations: 56 kB / 0.5057 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01026/0.6279, allocations: 3.438 MB / 0.509 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/0.6383, allocations: 2.238 MB / 0.5112 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.6424, allocations: 1.247 MB / 0.5124 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009973/0.6524, allocations: 7.424 MB / 0.5197 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005305/0.6578, allocations: 383.4 kB / 0.52 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007869/0.6586, allocations: 342.5 kB / 0.5204 GB, free: 4.727 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.003426/0.662, allocations: 1.846 MB / 0.5222 GB, free: 2.867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006906/0.6627, allocations: 312 kB / 0.5225 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005149/0.6679, allocations: 2.761 MB / 0.5252 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004192/0.6721, allocations: 2.354 MB / 0.5275 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.6721, allocations: 4 kB / 0.5275 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.6721, allocations: 7.984 kB / 0.5275 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.6852, allocations: 7.864 MB / 0.5352 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.6852, allocations: 4 kB / 0.5352 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.6863, allocations: 223.7 kB / 0.5354 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003018/0.6893, allocations: 1.061 MB / 0.5364 GB, free: 4.141 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.6895, allocations: 31.98 kB / 0.5364 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1932/0.8827, allocations: 5.267 MB / 0.5416 GB, free: 174 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009108/0.8836, allocations: 1.568 MB / 0.5431 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008297/0.892, allocations: 4.954 MB / 0.5479 GB, free: 172.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009663/0.893, allocations: 362.6 kB / 0.5483 GB, free: 172 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003955/0.8934, allocations: 32.52 kB / 0.5483 GB, free: 172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.8948, allocations: 126.7 kB / 0.5484 GB, free: 172 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.8951, allocations: 94.78 kB / 0.5485 GB, free: 172 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.8952, allocations: 44 kB / 0.5486 GB, free: 172 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005439/0.9007, allocations: 2.196 MB / 0.5507 GB, free: 171.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.9007, allocations: 1.469 kB / 0.5507 GB, free: 171.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00624/0.9069, allocations: 0.9647 MB / 0.5517 GB, free: 171.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.0005319/0.9075, allocations: 165.4 kB / 0.5518 GB, free: 171.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01016/0.9177, allocations: 5.703 MB / 0.5574 GB, free: 169.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.9177, allocations: 3.969 kB / 0.5574 GB, free: 169.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003436/0.9211, allocations: 2.03 MB / 0.5594 GB, free: 168.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.924, allocations: 399.8 kB / 0.5598 GB, free: 168.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.9379, allocations: 10.2 MB / 0.5697 GB, free: 162.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/0.9405, allocations: 2.908 MB / 0.5726 GB, free: 161.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003799/0.9444, allocations: 1.702 MB / 0.5742 GB, free: 161.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/0.9449, allocations: 208.2 kB / 0.5744 GB, free: 161.2 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.9449, allocations: 0 / 0.5744 GB, free: 161.2 MB / 462.1 MB Notification: Performance of Templates: time 0.05542/1, allocations: 36.34 MB / 0.6099 GB, free: 127 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)