Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001083/0.001083, 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.001121/0.001121, allocations: 195.5 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.307/1.307, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001125/0.001125, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2082, allocations: 46.63 MB / 324.9 MB, free: 2.137 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02832/0.2365, allocations: 34.69 MB / 359.5 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01678/0.2534, allocations: 7.793 MB / 367.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006079/0.2595, allocations: 147.6 kB / 367.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00373/0.2633, allocations: 1.862 MB / 369.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.2671, allocations: 1.557 MB / 370.9 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.2686, allocations: 0.5656 MB / 371.5 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004172/0.2728, allocations: 3.369 MB / 374.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003652/0.2764, allocations: 2.741 MB / 377.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.2785, allocations: 1.273 MB / 378.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/0.2811, allocations: 1.869 MB / 380.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007511/0.2819, allocations: 256 kB / 381 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.2841, allocations: 1.038 MB / 382 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.2855, allocations: 1.593 MB / 383.6 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.2874, allocations: 1.848 MB / 385.4 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005166/0.2926, allocations: 5.67 MB / 391.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2926, allocations: 0 / 391.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2926, allocations: 0 / 391.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.919e-05/0.2927, allocations: 4 kB / 391.1 MB, free: 1.711 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.005861/0.2986, allocations: 4.014 MB / 395.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2986, allocations: 8.031 kB / 395.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005478/0.3041, allocations: 1.774 MB / 396.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/0.307, allocations: 1.974 MB / 398.9 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.3071, allocations: 184.8 kB / 399.1 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003871/0.3075, allocations: 259.8 kB / 399.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.3204, allocations: 8.427 MB / 407.8 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.544e-05/0.3206, allocations: 43.59 kB / 407.8 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003304/0.3209, allocations: 123.9 kB / 407.9 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002675/0.3236, allocations: 1.695 MB / 409.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0127/0.3363, allocations: 7.098 MB / 416.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0399/0.3762, allocations: 34.16 MB / 450.9 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00745/0.3837, allocations: 3.276 MB / 454.1 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1555/0.5393, allocations: 1.469 MB / 455.6 MB, free: 114.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006263/0.5456, allocations: 4.363 MB / 460 MB, free: 112.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.5456, allocations: 50.88 kB / 460 MB, free: 112.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.027e-06/0.5456, allocations: 0 / 460 MB, free: 112.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02496/0.5706, allocations: 11.53 MB / 471.6 MB, free: 107.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.5707, allocations: 149 kB / 471.7 MB, free: 107.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/0.5745, allocations: 3.726 MB / 475.4 MB, free: 104.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.5746, allocations: 49.61 kB / 475.5 MB, free: 104.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.5758, allocations: 2.749 MB / 478.2 MB, free: 101.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.5762, allocations: 0.5227 MB / 478.7 MB, free: 101.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.5772, allocations: 1.075 MB / 479.8 MB, free: 100.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.5773, allocations: 301.1 kB / 480.1 MB, free: 99.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.5791, allocations: 1.701 MB / 481.8 MB, free: 98.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002963/0.5821, allocations: 5.137 MB / 487 MB, free: 91.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005694/0.5878, allocations: 7.418 MB / 494.4 MB, free: 82.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.154e-05/0.5879, allocations: 32 kB / 494.4 MB, free: 82.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008348/0.5962, allocations: 6.73 MB / 0.4894 GB, free: 75.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.729e-05/0.5963, allocations: 56.94 kB / 0.4894 GB, free: 75.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.111e-05/0.5964, allocations: 127.5 kB / 0.4896 GB, free: 75.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.597, allocations: 324.7 kB / 0.4899 GB, free: 75.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/0.6, allocations: 1.24 MB / 0.4911 GB, free: 73.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.6021, allocations: 2.492 MB / 0.4935 GB, free: 71.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003657/0.6057, allocations: 290 kB / 0.4938 GB, free: 70.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004195/0.6062, allocations: 336 kB / 0.4941 GB, free: 70.54 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.002323/0.6085, allocations: 1.783 MB / 0.4959 GB, free: 68.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005068/0.609, allocations: 312 kB / 0.4962 GB, free: 68.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/0.6128, allocations: 2.367 MB / 0.4985 GB, free: 66.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.6129, allocations: 16.94 kB / 0.4985 GB, free: 66.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.6129, allocations: 4 kB / 0.4985 GB, free: 66.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.6129, allocations: 7.984 kB / 0.4985 GB, free: 66.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00928/0.6222, allocations: 5.931 MB / 0.5043 GB, free: 60.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.6222, allocations: 7.938 kB / 0.5043 GB, free: 60.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/0.623, allocations: 167.8 kB / 0.5045 GB, free: 59.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/0.6248, allocations: 0.7148 MB / 0.5052 GB, free: 59.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-05/0.6249, allocations: 20 kB / 0.5052 GB, free: 59.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004662/0.6296, allocations: 4.806 MB / 0.5099 GB, free: 54.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.6296, allocations: 11.88 kB / 0.5099 GB, free: 54.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/0.635, allocations: 4.325 MB / 0.5141 GB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.6362, allocations: 0.5282 MB / 0.5146 GB, free: 49.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.6366, allocations: 20 kB / 0.5146 GB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009926/0.6376, allocations: 75.39 kB / 0.5147 GB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.6378, allocations: 72.5 kB / 0.5148 GB, free: 49.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.575e-05/0.6379, allocations: 36 kB / 0.5148 GB, free: 49.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002797/0.6407, allocations: 2.327 MB / 0.5171 GB, free: 46.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6407, allocations: 0 / 0.5171 GB, free: 46.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004367/0.6451, allocations: 0.8177 MB / 0.5179 GB, free: 45.96 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.0004395/0.6455, allocations: 153.3 kB / 0.518 GB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006214/0.6517, allocations: 4.419 MB / 0.5223 GB, free: 41.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.6518, allocations: 0 / 0.5223 GB, free: 41.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.653, allocations: 1.107 MB / 0.5234 GB, free: 40.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.6556, allocations: 395.2 kB / 0.5238 GB, free: 39.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.6671, allocations: 8.964 MB / 0.5326 GB, free: 30.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/0.6693, allocations: 2.785 MB / 0.5353 GB, free: 28.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003546/0.6729, allocations: 1.66 MB / 0.5369 GB, free: 26.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006196/0.6735, allocations: 203.4 kB / 0.5371 GB, free: 26.26 MB / 382.1 MB Notification: Performance of SimCode: time 2.475e-06/0.6735, allocations: 0 / 0.5371 GB, free: 26.26 MB / 382.1 MB Notification: Performance of Templates: time 0.05594/0.7295, allocations: 30.99 MB / 0.5674 GB, free: 11.29 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)