Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004753/0.004753, allocations: 103.5 kB / 15.73 MB, free: 6.035 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.001029/0.001029, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001716/0.001716, allocations: 55.05 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1161, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01219/0.1283, allocations: 10.23 MB / 383.4 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009514/0.1379, allocations: 3.78 MB / 387.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.1399, allocations: 59.81 kB / 387.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003804/0.1437, allocations: 1.95 MB / 389.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.1483, allocations: 1.661 MB / 390.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.1498, allocations: 0.6121 MB / 391.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004855/0.1546, allocations: 3.338 MB / 394.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002985/0.1576, allocations: 2.576 MB / 397.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.1597, allocations: 1.253 MB / 398.6 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.1616, allocations: 1.67 MB / 400.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004463/0.1621, allocations: 256 kB / 400.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.1641, allocations: 1.026 MB / 401.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.1656, allocations: 1.558 MB / 403.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.1676, allocations: 1.837 MB / 405 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006517/0.1741, allocations: 5.827 MB / 410.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1742, allocations: 4 kB / 410.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1742, allocations: 0 / 410.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000163/0.1743, allocations: 0 / 410.8 MB, free: 11.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009074/0.1834, allocations: 4.01 MB / 414.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1835, allocations: 16.03 kB / 414.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006405/0.1899, allocations: 1.774 MB / 416.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004945/0.1949, allocations: 1.998 MB / 418.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.1951, allocations: 188.8 kB / 418.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008157/0.1959, allocations: 255.8 kB / 419 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.2118, allocations: 8.431 MB / 427.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.212, allocations: 43.59 kB / 427.5 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003582/0.2123, allocations: 123.9 kB / 427.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002884/0.2152, allocations: 1.699 MB / 429.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.2292, allocations: 7.098 MB / 436.4 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2868/0.516, allocations: 34.02 MB / 470.5 MB, free: 45.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007747/0.5238, allocations: 3.284 MB / 473.7 MB, free: 44.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.5258, allocations: 1.463 MB / 475.2 MB, free: 43.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008176/0.534, allocations: 4.355 MB / 479.6 MB, free: 41.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.534, allocations: 51.94 kB / 479.6 MB, free: 41.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.388e-06/0.534, allocations: 0 / 479.6 MB, free: 41.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02671/0.5607, allocations: 11.53 MB / 491.1 MB, free: 35.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.5608, allocations: 144 kB / 491.3 MB, free: 35.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004106/0.5649, allocations: 3.726 MB / 495 MB, free: 33.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.5651, allocations: 41.42 kB / 495 MB, free: 33.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.5662, allocations: 2.753 MB / 497.8 MB, free: 31.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.5667, allocations: 0.5231 MB / 498.3 MB, free: 30.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009952/0.5677, allocations: 1.079 MB / 499.4 MB, free: 29.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.855e-05/0.5677, allocations: 301.1 kB / 499.7 MB, free: 29.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.5695, allocations: 1.708 MB / 0.4897 GB, free: 27.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003166/0.5727, allocations: 5.131 MB / 0.4947 GB, free: 20.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005742/0.5785, allocations: 7.417 MB / 0.5019 GB, free: 11.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.014e-05/0.5785, allocations: 32 kB / 0.5019 GB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008988/0.5875, allocations: 6.727 MB / 0.5085 GB, free: 4.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.019e-05/0.5877, allocations: 56 kB / 0.5086 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/0.5878, allocations: 124 kB / 0.5087 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.5884, allocations: 321 kB / 0.509 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/0.5918, allocations: 1.244 MB / 0.5102 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.5938, allocations: 2.495 MB / 0.5126 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/0.5971, allocations: 287.2 kB / 0.5129 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003893/0.5975, allocations: 332 kB / 0.5132 GB, free: 15.83 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[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],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002729/0.6002, allocations: 1.787 MB / 0.515 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005993/0.6008, allocations: 317.5 kB / 0.5153 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004673/0.6055, allocations: 2.359 MB / 0.5176 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/0.6055, allocations: 12.69 kB / 0.5176 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.6055, allocations: 4 kB / 0.5176 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.6056, allocations: 3.984 kB / 0.5176 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.6167, allocations: 5.922 MB / 0.5234 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.6167, allocations: 4 kB / 0.5234 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008358/0.6176, allocations: 175.3 kB / 0.5236 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.6198, allocations: 0.7147 MB / 0.5242 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.6199, allocations: 23.98 kB / 0.5243 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/0.6261, allocations: 4.811 MB / 0.529 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6261, allocations: 8.062 kB / 0.529 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006959/0.633, allocations: 4.319 MB / 0.5332 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/0.6347, allocations: 0.5359 MB / 0.5337 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/0.6351, allocations: 16 kB / 0.5337 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6362, allocations: 67.91 kB / 0.5338 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/0.6364, allocations: 64.56 kB / 0.5339 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.276e-05/0.6365, allocations: 34.89 kB / 0.5339 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003664/0.6402, allocations: 2.335 MB / 0.5362 GB, free: 8.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6402, allocations: 0 / 0.5362 GB, free: 8.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0043/0.6445, allocations: 0.8162 MB / 0.537 GB, free: 7.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004036/0.6449, allocations: 157 kB / 0.5371 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006107/0.651, allocations: 4.048 MB / 0.5411 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6511, allocations: 4.375 kB / 0.5411 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.6526, allocations: 1.111 MB / 0.5422 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.6548, allocations: 399.3 kB / 0.5425 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.6661, allocations: 7.27 MB / 0.5496 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002789/0.669, allocations: 2.79 MB / 0.5524 GB, free: 7.469 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003609/0.6726, allocations: 1.661 MB / 0.554 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/0.6733, allocations: 211.4 kB / 0.5542 GB, free: 5.598 MB / 430.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6733, allocations: 0 / 0.5542 GB, free: 5.598 MB / 430.1 MB Notification: Performance of Templates: time 0.05408/0.7274, allocations: 27.94 MB / 0.5815 GB, free: 9.707 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)