Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001926/0.001926, allocations: 101.1 kB / 16.5 MB, free: 6.688 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.002261/0.002261, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.393/1.393, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001314/0.001314, allocations: 44.27 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09466, allocations: 46.64 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02995/0.1246, allocations: 34.69 MB / 360.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.1393, allocations: 7.902 MB / 368.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004554/0.1439, allocations: 151.6 kB / 368.7 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003611/0.1475, allocations: 1.928 MB / 370.6 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.1511, allocations: 1.542 MB / 372.2 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.1523, allocations: 0.5577 MB / 372.7 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004838/0.1572, allocations: 4.75 MB / 377.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1526/0.3098, allocations: 2.555 MB / 380 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.312, allocations: 1.099 MB / 381.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.3147, allocations: 1.795 MB / 382.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005888/0.3153, allocations: 175.3 kB / 383.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.3173, allocations: 1.008 MB / 384.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001564/0.3189, allocations: 1.52 MB / 385.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0016/0.3205, allocations: 1.763 MB / 387.4 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005638/0.3261, allocations: 5.572 MB / 393 MB, free: 9.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3262, allocations: 0 / 393 MB, free: 9.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3262, allocations: 0 / 393 MB, free: 9.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001577/0.3263, allocations: 0 / 393 MB, free: 9.152 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.008928/0.3353, allocations: 4.017 MB / 397 MB, free: 7.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3353, allocations: 12.16 kB / 397 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006514/0.3418, allocations: 1.777 MB / 398.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004456/0.3463, allocations: 1.955 MB / 400.7 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.3465, allocations: 194.5 kB / 400.9 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009645/0.3475, allocations: 258.9 kB / 401.2 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.3605, allocations: 8.432 MB / 409.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.3606, allocations: 37.41 kB / 409.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/0.361, allocations: 126.8 kB / 409.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002284/0.3633, allocations: 1.697 MB / 411.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01316/0.3765, allocations: 7.096 MB / 418.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04249/0.419, allocations: 34.17 MB / 452.7 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007321/0.4264, allocations: 3.275 MB / 456 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/0.4283, allocations: 1.461 MB / 457.5 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006891/0.4353, allocations: 4.369 MB / 461.8 MB, free: 236 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.4353, allocations: 58.02 kB / 461.9 MB, free: 172 kB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 3.256e-06/0.4353, allocations: 0 / 461.9 MB, free: 172 kB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.03046/0.4658, allocations: 11.53 MB / 473.4 MB, free: 4.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.4659, allocations: 148 kB / 473.6 MB, free: 4.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007248/0.4732, allocations: 3.725 MB / 477.3 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003896/0.4736, allocations: 49.31 kB / 477.3 MB, free: 0.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00253/0.4761, allocations: 2.751 MB / 480.1 MB, free: 13.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008308/0.477, allocations: 0.5199 MB / 480.6 MB, free: 13.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002645/0.4797, allocations: 1.075 MB / 481.7 MB, free: 12.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.4798, allocations: 305.1 kB / 482 MB, free: 11.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/0.4825, allocations: 1.709 MB / 483.7 MB, free: 10.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004726/0.4873, allocations: 5.131 MB / 488.8 MB, free: 3.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007665/0.4949, allocations: 7.418 MB / 496.2 MB, free: 10.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-05/0.4951, allocations: 36 kB / 496.3 MB, free: 10.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01105/0.5061, allocations: 6.709 MB / 0.4912 GB, free: 4.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.5063, allocations: 67.92 kB / 0.4912 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/0.5065, allocations: 120 kB / 0.4914 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006939/0.5072, allocations: 317.1 kB / 0.4917 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0039/0.5111, allocations: 1.252 MB / 0.4929 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.5136, allocations: 2.278 MB / 0.4951 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/0.5176, allocations: 287.4 kB / 0.4954 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008338/0.5185, allocations: 332 kB / 0.4957 GB, free: 168 kB / 414.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.003703/0.5222, allocations: 1.797 MB / 0.4975 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007414/0.5229, allocations: 308 kB / 0.4978 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005096/0.528, allocations: 2.359 MB / 0.5001 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/0.5281, allocations: 19.94 kB / 0.5001 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.5281, allocations: 4.047 kB / 0.5001 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.5281, allocations: 11.95 kB / 0.5001 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/0.5459, allocations: 5.924 MB / 0.5059 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.402e-05/0.5459, allocations: 0 / 0.5059 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/0.5472, allocations: 175.8 kB / 0.506 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/0.5502, allocations: 0.7147 MB / 0.5067 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/0.5504, allocations: 19.98 kB / 0.5068 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008422/0.5588, allocations: 4.465 MB / 0.5111 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.5589, allocations: 4.031 kB / 0.5111 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008509/0.5674, allocations: 4.321 MB / 0.5153 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/0.5689, allocations: 0.5281 MB / 0.5159 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007729/0.5696, allocations: 27.34 kB / 0.5159 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.5712, allocations: 67.91 kB / 0.5159 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.5714, allocations: 68.56 kB / 0.516 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.5716, allocations: 32 kB / 0.516 GB, free: 11.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004535/0.5761, allocations: 2.331 MB / 0.5183 GB, free: 8.855 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5761, allocations: 0 / 0.5183 GB, free: 8.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005015/0.5811, allocations: 0.8164 MB / 0.5191 GB, free: 8.039 MB / 446.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.0005451/0.5817, allocations: 161.6 kB / 0.5193 GB, free: 7.871 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006707/0.5884, allocations: 4.031 MB / 0.5232 GB, free: 3.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.5885, allocations: 0 / 0.5232 GB, free: 3.867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.5902, allocations: 1.116 MB / 0.5243 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.5936, allocations: 368.4 kB / 0.5246 GB, free: 2.375 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.6116, allocations: 8.953 MB / 0.5334 GB, free: 9.387 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004381/0.616, allocations: 2.789 MB / 0.5361 GB, free: 6.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004539/0.6206, allocations: 1.665 MB / 0.5377 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008844/0.6215, allocations: 207.4 kB / 0.5379 GB, free: 4.699 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6215, allocations: 4 kB / 0.5379 GB, free: 4.695 MB / 462.1 MB Notification: Performance of Templates: time 0.1985/0.82, allocations: 29.84 MB / 0.5671 GB, free: 170.4 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)