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.001105/0.001104, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001113/0.001113, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.326/1.326, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001141/0.001141, allocations: 55.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2053, allocations: 46.63 MB / 324.9 MB, free: 1.902 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02999/0.2353, allocations: 34.69 MB / 359.5 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01757/0.2529, allocations: 7.793 MB / 367.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006633/0.2596, allocations: 151.6 kB / 367.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003918/0.2636, allocations: 1.866 MB / 369.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004073/0.2677, allocations: 1.549 MB / 370.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.269, allocations: 0.5656 MB / 371.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003933/0.273, allocations: 3.373 MB / 374.8 MB, free: 1.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.2762, allocations: 2.733 MB / 377.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.2783, allocations: 1.273 MB / 378.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.2807, allocations: 1.865 MB / 380.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000509/0.2812, allocations: 259.9 kB / 381 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.283, allocations: 1.034 MB / 382 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.2845, allocations: 1.597 MB / 383.6 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.2863, allocations: 1.856 MB / 385.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005533/0.2918, allocations: 5.666 MB / 391.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2918, allocations: 0 / 391.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2918, allocations: 0 / 391.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000113/0.292, allocations: 0 / 391.1 MB, free: 1.547 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.007066/0.299, allocations: 4.014 MB / 395.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2991, allocations: 8.031 kB / 395.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006202/0.3053, allocations: 1.774 MB / 396.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003473/0.3088, allocations: 1.971 MB / 398.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.309, allocations: 184.8 kB / 399.1 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004908/0.3095, allocations: 259.8 kB / 399.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/0.3226, allocations: 8.431 MB / 407.8 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.752e-05/0.3227, allocations: 39.59 kB / 407.8 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/0.3231, allocations: 128 kB / 407.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00261/0.3257, allocations: 1.699 MB / 409.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/0.3391, allocations: 7.094 MB / 416.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03785/0.377, allocations: 34.16 MB / 450.9 MB, free: 4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006858/0.3839, allocations: 3.283 MB / 454.1 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1535/0.5375, allocations: 1.467 MB / 455.6 MB, free: 114.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00545/0.543, allocations: 4.359 MB / 460 MB, free: 111.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.543, allocations: 45.84 kB / 460 MB, free: 111.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 3.998e-06/0.543, allocations: 1.281 kB / 460 MB, free: 111.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02432/0.5674, allocations: 11.54 MB / 471.6 MB, free: 107.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.5675, allocations: 144 kB / 471.7 MB, free: 107.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004086/0.5716, allocations: 3.727 MB / 475.4 MB, free: 104.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002823/0.5719, allocations: 41.7 kB / 475.5 MB, free: 104.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.573, allocations: 2.756 MB / 478.2 MB, free: 101.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004136/0.5734, allocations: 0.5157 MB / 478.7 MB, free: 101 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009992/0.5744, allocations: 1.079 MB / 479.8 MB, free: 99.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.873e-05/0.5744, allocations: 301.1 kB / 480.1 MB, free: 99.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.5762, allocations: 1.709 MB / 481.8 MB, free: 97.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.5789, allocations: 5.128 MB / 486.9 MB, free: 91.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004831/0.5837, allocations: 7.416 MB / 494.4 MB, free: 81.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.766e-05/0.5838, allocations: 32 kB / 494.4 MB, free: 81.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.007783/0.5916, allocations: 6.737 MB / 0.4894 GB, free: 75.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/0.5916, allocations: 60.06 kB / 0.4894 GB, free: 75.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.72e-05/0.5917, allocations: 124 kB / 0.4896 GB, free: 75.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005008/0.5922, allocations: 319.9 kB / 0.4899 GB, free: 74.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/0.5952, allocations: 1.244 MB / 0.4911 GB, free: 73.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.5972, allocations: 2.498 MB / 0.4935 GB, free: 70.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/0.6003, allocations: 283.5 kB / 0.4938 GB, free: 70.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000301/0.6006, allocations: 339.2 kB / 0.4941 GB, free: 70.23 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.001737/0.6023, allocations: 1.786 MB / 0.4959 GB, free: 68.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.6026, allocations: 311.9 kB / 0.4962 GB, free: 68.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.6062, allocations: 2.364 MB / 0.4985 GB, free: 65.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.6062, allocations: 12 kB / 0.4985 GB, free: 65.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.6063, allocations: 4 kB / 0.4985 GB, free: 65.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6063, allocations: 7.984 kB / 0.4985 GB, free: 65.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007754/0.614, allocations: 5.938 MB / 0.5043 GB, free: 59.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.6141, allocations: 4 kB / 0.5043 GB, free: 59.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.6148, allocations: 171.8 kB / 0.5045 GB, free: 59.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.6166, allocations: 0.7108 MB / 0.5051 GB, free: 58.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/0.6167, allocations: 24 kB / 0.5052 GB, free: 58.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.6212, allocations: 4.808 MB / 0.5099 GB, free: 53.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6212, allocations: 4.109 kB / 0.5099 GB, free: 53.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005186/0.6264, allocations: 4.324 MB / 0.5141 GB, free: 49.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.6276, allocations: 0.5399 MB / 0.5146 GB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.6279, allocations: 16 kB / 0.5146 GB, free: 48.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009635/0.6289, allocations: 71.91 kB / 0.5147 GB, free: 48.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.6291, allocations: 68.16 kB / 0.5148 GB, free: 48.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/0.6291, allocations: 33.17 kB / 0.5148 GB, free: 48.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002579/0.6317, allocations: 2.331 MB / 0.5171 GB, free: 46.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6317, allocations: 0 / 0.5171 GB, free: 46.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003464/0.6352, allocations: 0.8151 MB / 0.5179 GB, free: 45.66 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.0002938/0.6355, allocations: 164.1 kB / 0.518 GB, free: 45.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005094/0.6406, allocations: 4.41 MB / 0.5223 GB, free: 41.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6406, allocations: 2.438 kB / 0.5223 GB, free: 41.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.6417, allocations: 1.11 MB / 0.5234 GB, free: 40 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.6438, allocations: 394.9 kB / 0.5238 GB, free: 39.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009573/0.6534, allocations: 8.969 MB / 0.5326 GB, free: 30.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/0.6555, allocations: 2.789 MB / 0.5353 GB, free: 27.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003444/0.6589, allocations: 1.652 MB / 0.5369 GB, free: 26.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/0.6595, allocations: 207.4 kB / 0.5371 GB, free: 25.95 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6595, allocations: 0 / 0.5371 GB, free: 25.95 MB / 382.1 MB Notification: Performance of Templates: time 0.04476/0.7043, allocations: 30.98 MB / 0.5673 GB, free: 10.98 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)