Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001152, allocations: 91.73 kB / 16.3 MB, free: 6.457 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.001371/0.001372, allocations: 185.4 kB / 17.2 MB, free: 6.34 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.413/1.413, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004667/0.0004668, allocations: 12 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1056, allocations: 47.58 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.01668/0.1224, allocations: 15.26 MB / 343 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01485/0.1372, allocations: 4.793 MB / 347.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.141, allocations: 71.81 kB / 347.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.1438, allocations: 0.7153 MB / 348.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007952/0.1518, allocations: 2.408 MB / 350.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.1533, allocations: 375.4 kB / 351.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003551/0.1569, allocations: 1.493 MB / 352.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003434/0.1604, allocations: 1.858 MB / 354.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.1619, allocations: 0.6268 MB / 355.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.1637, allocations: 0.8839 MB / 356.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006542/0.1644, allocations: 88 kB / 356.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.1664, allocations: 0.8269 MB / 357.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.1677, allocations: 0.9507 MB / 358 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009574/0.1687, allocations: 0.5156 MB / 358.6 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003994/0.1727, allocations: 3.289 MB / 361.8 MB, free: 1.809 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.1727, allocations: 0 / 361.8 MB, free: 1.809 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1727, allocations: 4 kB / 361.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.368e-05/0.1728, allocations: 0 / 361.8 MB, free: 1.805 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.005046/0.1778, allocations: 2.591 MB / 364.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1779, allocations: 12.03 kB / 364.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007376/0.1853, allocations: 2.079 MB / 366.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.1889, allocations: 1.616 MB / 368.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.189, allocations: 135.3 kB / 368.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000628/0.1896, allocations: 259.6 kB / 368.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/0.2009, allocations: 6.688 MB / 375.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.709e-05/0.2011, allocations: 31.72 kB / 375.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.2013, allocations: 87.89 kB / 375.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002127/0.2035, allocations: 1.367 MB / 376.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2118/0.4153, allocations: 6.065 MB / 382.8 MB, free: 48.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0324/0.4478, allocations: 25.67 MB / 408.4 MB, free: 30.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006654/0.4545, allocations: 2.672 MB / 411.1 MB, free: 28.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006354/0.4609, allocations: 3.911 MB / 415 MB, free: 25.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.461, allocations: 55.05 kB / 415.1 MB, free: 25.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=112): time 3.336e-06/0.461, allocations: 0 / 415.1 MB, free: 25.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=125): time 0.02636/0.4873, allocations: 10.64 MB / 425.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001159/0.4886, allocations: 1.596 MB / 427.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/0.493, allocations: 2.843 MB / 430.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003887/0.4935, allocations: 42.72 kB / 430.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.4948, allocations: 2.09 MB / 432.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007935/0.4956, allocations: 0.5009 MB / 432.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00045/0.4961, allocations: 95.88 kB / 432.9 MB, free: 7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0004279/0.4965, allocations: 0.4961 MB / 433.4 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/0.4993, allocations: 1.648 MB / 435 MB, free: 4.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/0.5033, allocations: 4.432 MB / 439.5 MB, free: 15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004108/0.5075, allocations: 2.649 MB / 442.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.793e-05/0.5075, allocations: 28 kB / 442.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.02092/0.5285, allocations: 7.993 MB / 450.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.048e-05/0.5286, allocations: 49 kB / 450.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01183/0.5404, allocations: 3.507 MB / 453.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01216/0.5526, allocations: 2.597 MB / 456.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003467/0.5561, allocations: 1.002 MB / 457.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.5718, allocations: 9.323 MB / 466.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004463/0.5762, allocations: 327.5 kB / 466.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/0.5773, allocations: 284 kB / 467.2 MB, free: 2.945 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],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 (543): * Single equations (assignments): 535 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003417/0.5808, allocations: 1.419 MB / 468.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000731/0.5815, allocations: 233 kB / 468.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007343/0.5889, allocations: 2.842 MB / 471.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006016/0.5949, allocations: 2.505 MB / 474.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.834e-05/0.5949, allocations: 9.938 kB / 474.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.595, allocations: 11.97 kB / 474.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/0.6115, allocations: 6.881 MB / 481.1 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/0.6116, allocations: 4.094 kB / 481.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008788/0.6125, allocations: 179.7 kB / 481.3 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004998/0.6175, allocations: 1.434 MB / 482.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/0.6178, allocations: 35.97 kB / 482.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.6285, allocations: 7.541 MB / 490.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001214/0.6297, allocations: 1.462 MB / 491.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009658/0.6394, allocations: 4.953 MB / 496.7 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.6406, allocations: 301.9 kB / 497 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007929/0.6414, allocations: 33.19 kB / 497 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.6432, allocations: 115.8 kB / 497.1 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/0.6435, allocations: 80.38 kB / 497.2 MB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.6437, allocations: 37.31 kB / 497.3 MB, free: 4.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004033/0.6477, allocations: 1.779 MB / 499 MB, free: 2.477 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6477, allocations: 0 / 499 MB, free: 2.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.007152/0.6549, allocations: 0.8096 MB / 499.8 MB, free: 1.676 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.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009138/0.6558, allocations: 180.7 kB / 0.4883 GB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008955/0.6648, allocations: 4.389 MB / 0.4926 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.6649, allocations: 3.938 kB / 0.4926 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003637/0.6685, allocations: 1.718 MB / 0.4943 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/0.6709, allocations: 253.9 kB / 0.4945 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/0.6866, allocations: 7.671 MB / 0.502 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004053/0.6907, allocations: 2.352 MB / 0.5043 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.004246/0.695, allocations: 1.413 MB / 0.5057 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007247/0.6957, allocations: 171.4 kB / 0.5058 GB, free: 15.36 MB / 414.1 MB Notification: Performance of SimCode: time 1.803e-06/0.6957, allocations: 0 / 0.5058 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Templates: time 0.2688/0.9645, allocations: 29.33 MB / 0.5345 GB, free: 129.3 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) Environment - environmentSimulation: