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.001819/0.001819, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.394/1.394, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001203/0.001203, allocations: 47.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2381, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01314/0.2513, allocations: 10.24 MB / 335.6 MB, free: 9.648 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009186/0.2605, allocations: 3.764 MB / 339.3 MB, free: 5.871 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.2627, allocations: 55.81 kB / 339.4 MB, free: 5.816 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003961/0.2667, allocations: 1.954 MB / 341.3 MB, free: 3.855 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.271, allocations: 1.654 MB / 343 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.2726, allocations: 0.6082 MB / 343.6 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005124/0.2777, allocations: 3.346 MB / 346.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003288/0.281, allocations: 2.593 MB / 349.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.2836, allocations: 1.242 MB / 350.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/0.2861, allocations: 1.678 MB / 352.4 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005244/0.2866, allocations: 252 kB / 352.7 MB, free: 8.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.2885, allocations: 1.022 MB / 353.7 MB, free: 7.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.29, allocations: 1.566 MB / 355.3 MB, free: 5.816 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002063/0.2921, allocations: 1.821 MB / 357.1 MB, free: 3.984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006771/0.2988, allocations: 5.623 MB / 362.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.2989, allocations: 0 / 362.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2989, allocations: 3.938 kB / 362.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001715/0.2991, allocations: 0 / 362.7 MB, free: 14.34 MB / 302.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.00984/0.3089, allocations: 4.022 MB / 366.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.309, allocations: 8.031 kB / 366.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006396/0.3154, allocations: 1.77 MB / 368.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004469/0.3199, allocations: 1.971 MB / 370.5 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.3201, allocations: 192.8 kB / 370.7 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004773/0.3206, allocations: 255.8 kB / 370.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01436/0.3349, allocations: 8.427 MB / 379.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.3351, allocations: 39.59 kB / 379.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/0.3354, allocations: 123.9 kB / 379.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002784/0.3382, allocations: 1.699 MB / 381.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/0.3517, allocations: 7.094 MB / 388.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/0.3946, allocations: 34.17 MB / 422.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00782/0.4024, allocations: 3.279 MB / 425.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.4044, allocations: 1.466 MB / 427.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006979/0.4114, allocations: 4.361 MB / 431.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.4114, allocations: 47.05 kB / 431.6 MB, free: 7.227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 4.468e-06/0.4114, allocations: 0 / 431.6 MB, free: 7.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.03281/0.4443, allocations: 11.55 MB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.4444, allocations: 141.2 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005673/0.4501, allocations: 3.729 MB / 447.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002661/0.4504, allocations: 45.64 kB / 447.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001935/0.4523, allocations: 2.752 MB / 449.9 MB, free: 4.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005994/0.4529, allocations: 0.5248 MB / 450.4 MB, free: 4.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/0.4543, allocations: 1.075 MB / 451.5 MB, free: 3.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4545, allocations: 309 kB / 451.8 MB, free: 2.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/0.4571, allocations: 1.705 MB / 453.5 MB, free: 1.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1917/0.6488, allocations: 5.122 MB / 458.6 MB, free: 106.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00698/0.6559, allocations: 7.411 MB / 466 MB, free: 100.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/0.656, allocations: 35.81 kB / 466 MB, free: 100.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00889/0.6649, allocations: 6.736 MB / 472.8 MB, free: 98.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.665, allocations: 58.78 kB / 472.8 MB, free: 98.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.6651, allocations: 121.3 kB / 472.9 MB, free: 98.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.6657, allocations: 321.9 kB / 473.3 MB, free: 98.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002977/0.6687, allocations: 1.242 MB / 474.5 MB, free: 98.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.6707, allocations: 2.494 MB / 477 MB, free: 96.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/0.6737, allocations: 279.7 kB / 477.3 MB, free: 96.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/0.674, allocations: 336.8 kB / 477.6 MB, free: 95.94 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.001794/0.6758, allocations: 1.798 MB / 479.4 MB, free: 94.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/0.6762, allocations: 307.5 kB / 479.7 MB, free: 94.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.6798, allocations: 2.365 MB / 482.1 MB, free: 92.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.6799, allocations: 17.56 kB / 482.1 MB, free: 92.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.6799, allocations: 4 kB / 482.1 MB, free: 92.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.6799, allocations: 6 kB / 482.1 MB, free: 92.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008176/0.6881, allocations: 5.91 MB / 488 MB, free: 86.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.6881, allocations: 4.062 kB / 488 MB, free: 86.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/0.6888, allocations: 179.6 kB / 488.2 MB, free: 86.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.6907, allocations: 0.717 MB / 488.9 MB, free: 85.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/0.6908, allocations: 27.34 kB / 488.9 MB, free: 85.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00456/0.6954, allocations: 4.812 MB / 493.7 MB, free: 80.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6954, allocations: 4 kB / 493.7 MB, free: 80.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005452/0.7009, allocations: 4.318 MB / 498 MB, free: 76.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.702, allocations: 0.5243 MB / 498.6 MB, free: 76.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/0.7024, allocations: 20 kB / 498.6 MB, free: 76.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009899/0.7034, allocations: 71.94 kB / 498.7 MB, free: 76.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.7035, allocations: 79.17 kB / 498.7 MB, free: 75.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.074e-05/0.7036, allocations: 32 kB / 498.8 MB, free: 75.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002568/0.7062, allocations: 2.331 MB / 0.4894 GB, free: 73.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7062, allocations: 0 / 0.4894 GB, free: 73.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003962/0.7102, allocations: 0.8184 MB / 0.4902 GB, free: 72.8 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.0003192/0.7105, allocations: 152.5 kB / 0.4903 GB, free: 72.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005431/0.7159, allocations: 4.416 MB / 0.4946 GB, free: 68.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.716, allocations: 0 / 0.4946 GB, free: 68.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.7171, allocations: 1.114 MB / 0.4957 GB, free: 67.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.719, allocations: 382.2 kB / 0.4961 GB, free: 66.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009039/0.728, allocations: 7.372 MB / 0.5033 GB, free: 59.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.73, allocations: 2.785 MB / 0.506 GB, free: 56.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00317/0.7332, allocations: 1.66 MB / 0.5076 GB, free: 54.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.7337, allocations: 213.4 kB / 0.5078 GB, free: 54.7 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.7337, allocations: 0 / 0.5078 GB, free: 54.7 MB / 382.1 MB Notification: Performance of Templates: time 0.0464/0.7801, allocations: 31.01 MB / 0.5381 GB, free: 23.71 MB / 382.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)