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.001513/0.001513, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001917/0.001917, allocations: 193.4 kB / 16.14 MB, free: 6.66 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.329/1.329, allocations: 205.1 MB / 222 MB, free: 4.734 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.001135/0.001135, allocations: 48.39 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2112, allocations: 46.63 MB / 324.7 MB, free: 2.059 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.03052/0.2418, allocations: 34.69 MB / 359.4 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01609/0.2579, allocations: 7.902 MB / 367.3 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006189/0.2642, allocations: 147.6 kB / 367.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00402/0.2683, allocations: 1.921 MB / 369.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004347/0.2726, allocations: 1.542 MB / 370.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.2743, allocations: 0.5694 MB / 371.4 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006021/0.2804, allocations: 4.746 MB / 376.2 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003673/0.2841, allocations: 2.547 MB / 378.7 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.2862, allocations: 1.105 MB / 379.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/0.2892, allocations: 1.795 MB / 381.6 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000725/0.29, allocations: 179.9 kB / 381.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002244/0.2922, allocations: 1.002 MB / 382.8 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.294, allocations: 1.515 MB / 384.3 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002145/0.2962, allocations: 1.774 MB / 386.1 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005034/0.3012, allocations: 5.564 MB / 391.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3013, allocations: 0 / 391.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3013, allocations: 0 / 391.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.275e-05/0.3013, allocations: 4 kB / 391.7 MB, free: 1.012 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.006154/0.3075, allocations: 4.018 MB / 395.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3076, allocations: 8.031 kB / 395.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005689/0.3133, allocations: 1.77 MB / 397.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.3166, allocations: 1.963 MB / 399.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.3168, allocations: 204.7 kB / 399.6 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.3172, allocations: 247.8 kB / 399.9 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.3293, allocations: 8.431 MB / 408.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.357e-05/0.3294, allocations: 47.56 kB / 408.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/0.3298, allocations: 123.9 kB / 408.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002583/0.3323, allocations: 1.695 MB / 410.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/0.3448, allocations: 7.098 MB / 417.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03821/0.383, allocations: 34.16 MB / 451.4 MB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007163/0.3902, allocations: 3.283 MB / 454.7 MB, free: 16 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1571/0.5474, allocations: 1.466 MB / 456.2 MB, free: 114.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005285/0.5527, allocations: 4.366 MB / 460.5 MB, free: 112 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.5528, allocations: 51.12 kB / 460.6 MB, free: 111.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 2.846e-06/0.5528, allocations: 0 / 460.6 MB, free: 111.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02588/0.5787, allocations: 11.54 MB / 472.1 MB, free: 107.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.5788, allocations: 152.6 kB / 472.3 MB, free: 107.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/0.5827, allocations: 3.728 MB / 476 MB, free: 103.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/0.5828, allocations: 41.7 kB / 476 MB, free: 103.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.5839, allocations: 2.748 MB / 478.8 MB, free: 101 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/0.5843, allocations: 0.5154 MB / 479.3 MB, free: 100.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009722/0.5853, allocations: 1.089 MB / 480.4 MB, free: 99.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.298e-05/0.5853, allocations: 305.1 kB / 480.7 MB, free: 99.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.5871, allocations: 1.701 MB / 482.4 MB, free: 97.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002964/0.59, allocations: 5.125 MB / 487.5 MB, free: 90.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005194/0.5952, allocations: 7.419 MB / 494.9 MB, free: 81.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.21e-05/0.5953, allocations: 36 kB / 495 MB, free: 81.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007864/0.6032, allocations: 6.722 MB / 0.4899 GB, free: 74.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.381e-05/0.6032, allocations: 56 kB / 0.49 GB, free: 74.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.47e-05/0.6033, allocations: 120 kB / 0.4901 GB, free: 74.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/0.6038, allocations: 329.4 kB / 0.4904 GB, free: 74.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/0.6069, allocations: 1.248 MB / 0.4916 GB, free: 72.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.6087, allocations: 2.274 MB / 0.4939 GB, free: 70.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/0.612, allocations: 291.5 kB / 0.4941 GB, free: 70.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/0.6123, allocations: 335.5 kB / 0.4945 GB, free: 69.93 MB / 382.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.001885/0.6142, allocations: 1.784 MB / 0.4962 GB, free: 68.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/0.6146, allocations: 312 kB / 0.4965 GB, free: 67.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.6183, allocations: 2.37 MB / 0.4988 GB, free: 65.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.6184, allocations: 12 kB / 0.4988 GB, free: 65.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.6184, allocations: 4 kB / 0.4988 GB, free: 65.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.6184, allocations: 3.984 kB / 0.4988 GB, free: 65.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008564/0.627, allocations: 5.921 MB / 0.5046 GB, free: 59.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.627, allocations: 4.062 kB / 0.5046 GB, free: 59.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007345/0.6277, allocations: 183.7 kB / 0.5048 GB, free: 59.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.6297, allocations: 0.7108 MB / 0.5055 GB, free: 58.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.6298, allocations: 20 kB / 0.5055 GB, free: 58.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/0.6341, allocations: 4.458 MB / 0.5099 GB, free: 53.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6341, allocations: 3.938 kB / 0.5099 GB, free: 53.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005456/0.6396, allocations: 4.333 MB / 0.5141 GB, free: 49.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.6409, allocations: 0.5205 MB / 0.5146 GB, free: 49.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/0.6412, allocations: 27.94 kB / 0.5146 GB, free: 49.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000973/0.6422, allocations: 63.91 kB / 0.5147 GB, free: 48.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.6424, allocations: 68.5 kB / 0.5148 GB, free: 48.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/0.6425, allocations: 39.91 kB / 0.5148 GB, free: 48.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00258/0.6451, allocations: 2.331 MB / 0.5171 GB, free: 46.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6451, allocations: 4.062 kB / 0.5171 GB, free: 46.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003899/0.649, allocations: 0.8294 MB / 0.5179 GB, free: 45.71 MB / 382.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.000352/0.6493, allocations: 141.6 kB / 0.518 GB, free: 45.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004889/0.6542, allocations: 4.038 MB / 0.522 GB, free: 41.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6543, allocations: 0.625 kB / 0.522 GB, free: 41.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.6555, allocations: 1.107 MB / 0.523 GB, free: 40.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.6577, allocations: 367.1 kB / 0.5234 GB, free: 40.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.6677, allocations: 8.963 MB / 0.5321 GB, free: 31.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/0.6698, allocations: 2.792 MB / 0.5349 GB, free: 28.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003451/0.6733, allocations: 1.655 MB / 0.5365 GB, free: 26.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/0.6738, allocations: 215.4 kB / 0.5367 GB, free: 26.4 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.6738, allocations: 0 / 0.5367 GB, free: 26.4 MB / 382.1 MB Notification: Performance of Templates: time 0.04771/0.7216, allocations: 29.84 MB / 0.5658 GB, free: 12.57 MB / 398.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)