Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 92.22 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.00139/0.00139, allocations: 185 kB / 17.57 MB, free: 6.199 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.432/1.432, 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.000437/0.000437, allocations: 11.98 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09691/0.09736, allocations: 47.59 MB / 328.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.02718/0.1246, allocations: 28.06 MB / 356.4 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.139, allocations: 5.938 MB / 362.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00574/0.1448, allocations: 123.7 kB / 362.5 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.1462, allocations: 294.6 kB / 362.7 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.1494, allocations: 0.934 MB / 363.7 MB, free: 264 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1504, allocations: 239.6 kB / 363.9 MB, free: 24 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004487/0.1549, allocations: 3.296 MB / 367.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003686/0.1586, allocations: 2.03 MB / 369.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.1602, allocations: 0.6649 MB / 369.9 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.1623, allocations: 1.226 MB / 371.1 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005435/0.1628, allocations: 88 kB / 371.2 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.1647, allocations: 0.6162 MB / 371.8 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.1665, allocations: 1.114 MB / 372.9 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002365/0.1688, allocations: 1.317 MB / 374.3 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005592/0.1744, allocations: 4.001 MB / 378.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1745, allocations: 0 / 378.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.1745, allocations: 0 / 378.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001771/0.1747, allocations: 7.938 kB / 378.3 MB, free: 1.57 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: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.1811/0.3558, allocations: 2.395 MB / 380.7 MB, free: 54.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3558, allocations: 8.25 kB / 380.7 MB, free: 54.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007755/0.3636, allocations: 1.818 MB / 382.5 MB, free: 53.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/0.3666, allocations: 1.156 MB / 383.6 MB, free: 53.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.3668, allocations: 153.3 kB / 383.8 MB, free: 53.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006838/0.3674, allocations: 205.4 kB / 384 MB, free: 53.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/0.386, allocations: 8.624 MB / 392.6 MB, free: 49.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.3862, allocations: 36.8 kB / 392.7 MB, free: 49.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003879/0.3866, allocations: 108.8 kB / 392.8 MB, free: 49.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002557/0.3891, allocations: 1.665 MB / 394.4 MB, free: 48.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.4055, allocations: 7.19 MB / 401.6 MB, free: 41.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02567/0.4312, allocations: 30.2 MB / 431.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02111/0.4524, allocations: 5.098 MB / 436.9 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.4536, allocations: 1.243 MB / 438.2 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00434/0.458, allocations: 3.747 MB / 441.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.458, allocations: 57.44 kB / 442 MB, free: 496 kB / 318.1 MB Notification: Performance of pre-optimization done (n=111): time 4.177e-06/0.458, allocations: 0 / 442 MB, free: 496 kB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.04925/0.5073, allocations: 9.378 MB / 451.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5074, allocations: 191.9 kB / 451.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005018/0.5125, allocations: 3.039 MB / 454.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001973/0.5127, allocations: 42.8 kB / 454.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.5144, allocations: 2.422 MB / 457 MB, free: 1.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000596/0.515, allocations: 0.4937 MB / 457.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005871/0.5156, allocations: 461.8 kB / 458 MB, free: 324 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5157, allocations: 309.1 kB / 458.3 MB, free: 12 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/0.518, allocations: 1.603 MB / 459.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004625/0.5226, allocations: 5.161 MB / 465 MB, free: 7.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008739/0.5313, allocations: 7.337 MB / 472.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.5315, allocations: 36 kB / 472.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01155/0.543, allocations: 6.451 MB / 478.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.324e-05/0.5432, allocations: 60 kB / 478.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/0.5433, allocations: 128 kB / 479 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/0.5436, allocations: 164 kB / 479.2 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005003/0.5486, allocations: 1.454 MB / 480.7 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002128/0.5488, allocations: 243.6 kB / 480.9 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00395/0.5528, allocations: 0.7499 MB / 481.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007222/0.5535, allocations: 349 kB / 482 MB, free: 4.691 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 678 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002505/0.556, allocations: 1.575 MB / 483.6 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.5565, allocations: 248.8 kB / 483.8 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.558, allocations: 0.8264 MB / 484.6 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/0.5581, allocations: 16 kB / 484.6 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.5581, allocations: 384 / 484.6 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.5581, allocations: 15.97 kB / 484.7 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/0.5638, allocations: 3.389 MB / 488.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.5639, allocations: 4 kB / 488.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/0.5662, allocations: 411.4 kB / 488.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.5662, allocations: 4 kB / 488.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.444e-05/0.5663, allocations: 43.97 kB / 488.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.5663, allocations: 4 kB / 488.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.5663, allocations: 11.97 kB / 488.5 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.5696, allocations: 2.778 MB / 491.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/0.5702, allocations: 309.5 kB / 491.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/0.5704, allocations: 27.98 kB / 491.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008575/0.5713, allocations: 43.95 kB / 491.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5714, allocations: 59.8 kB / 491.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/0.5715, allocations: 37.31 kB / 491.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002825/0.5743, allocations: 1.841 MB / 493.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5743, allocations: 0 / 493.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003732/0.5781, allocations: 0.834 MB / 494.4 MB, free: 8.129 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[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 (87): * Single equations (assignments): 84 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003641/0.5785, allocations: 163 kB / 494.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005426/0.5839, allocations: 3.606 MB / 498.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5839, allocations: 0 / 498.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009118/0.5848, allocations: 0.7157 MB / 498.9 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.587, allocations: 248.9 kB / 499.2 MB, free: 3.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.5985, allocations: 8.789 MB / 0.496 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/0.6009, allocations: 2.394 MB / 0.4984 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003956/0.6049, allocations: 1.649 MB / 0.5 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.6053, allocations: 187.4 kB / 0.5002 GB, free: 6.336 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6054, allocations: 0 / 0.5002 GB, free: 6.336 MB / 398.1 MB Notification: Performance of Templates: time 0.04754/0.6529, allocations: 20.49 MB / 0.5202 GB, free: 1.895 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1)