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.001008/0.001008, allocations: 89.8 kB / 16.65 MB, free: 6.59 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.001259/0.001259, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.366/1.366, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004315/0.0004315, allocations: 12 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09022/0.09067, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02948/0.1202, allocations: 33.69 MB / 362 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.1355, allocations: 7.836 MB / 369.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004729/0.1402, allocations: 147.6 kB / 370 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.1413, allocations: 378.1 kB / 370.4 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.1449, allocations: 1.549 MB / 371.9 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.1463, allocations: 0.5616 MB / 372.5 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005288/0.1516, allocations: 4.75 MB / 377.2 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1748/0.3264, allocations: 3.282 MB / 380.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.3281, allocations: 0.9573 MB / 381.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.3305, allocations: 1.615 MB / 383.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004327/0.3309, allocations: 113.5 kB / 383.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.3328, allocations: 0.9459 MB / 384.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.3343, allocations: 1.425 MB / 385.6 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.3357, allocations: 1.687 MB / 387.2 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00526/0.341, allocations: 5.421 MB / 392.7 MB, free: 9.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.341, allocations: 0 / 392.7 MB, free: 9.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.341, allocations: 3.938 kB / 392.7 MB, free: 9.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000183/0.3412, allocations: 0 / 392.7 MB, free: 9.109 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.005926/0.3471, allocations: 3.303 MB / 396 MB, free: 7.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3472, allocations: 8.781 kB / 396 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/0.3531, allocations: 1.827 MB / 397.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/0.3561, allocations: 1.966 MB / 399.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.3563, allocations: 194 kB / 400 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004569/0.3567, allocations: 262.1 kB / 400.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.368, allocations: 8.435 MB / 408.7 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.645e-05/0.3681, allocations: 44.75 kB / 408.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.3684, allocations: 127 kB / 408.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002399/0.3709, allocations: 1.696 MB / 410.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.3831, allocations: 7.098 MB / 417.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03748/0.4206, allocations: 34.16 MB / 451.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007497/0.4281, allocations: 3.267 MB / 455 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/0.4301, allocations: 1.465 MB / 456.5 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006255/0.4364, allocations: 4.37 MB / 460.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.4364, allocations: 47.12 kB / 460.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 3.847e-06/0.4365, allocations: 0 / 460.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.02906/0.4655, allocations: 11.51 MB / 472.4 MB, free: 6.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.4657, allocations: 143.7 kB / 472.6 MB, free: 6.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005457/0.4711, allocations: 3.729 MB / 476.3 MB, free: 2.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002968/0.4714, allocations: 41.7 kB / 476.4 MB, free: 2.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002004/0.4735, allocations: 2.744 MB / 479.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006302/0.4741, allocations: 0.5247 MB / 479.6 MB, free: 15.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000575/0.4747, allocations: 465.7 kB / 480.1 MB, free: 14.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4748, allocations: 305.1 kB / 480.4 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/0.4774, allocations: 1.705 MB / 482.1 MB, free: 12.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005004/0.4825, allocations: 5.128 MB / 487.2 MB, free: 6.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008422/0.4909, allocations: 7.418 MB / 494.6 MB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-05/0.491, allocations: 32 kB / 494.7 MB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01148/0.5025, allocations: 6.728 MB / 0.4896 GB, free: 7.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-05/0.5026, allocations: 59.94 kB / 0.4897 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.5027, allocations: 124.9 kB / 0.4898 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006341/0.5034, allocations: 324.7 kB / 0.4901 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/0.5071, allocations: 1.244 MB / 0.4913 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.5096, allocations: 2.282 MB / 0.4936 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/0.5136, allocations: 295.5 kB / 0.4938 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006865/0.5143, allocations: 328 kB / 0.4942 GB, free: 2.906 MB / 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.003718/0.518, allocations: 1.788 MB / 0.4959 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007222/0.5187, allocations: 311.9 kB / 0.4962 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004973/0.5237, allocations: 2.363 MB / 0.4985 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/0.5238, allocations: 19.94 kB / 0.4985 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5238, allocations: 4 kB / 0.4985 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.5238, allocations: 3.984 kB / 0.4985 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.5353, allocations: 5.926 MB / 0.5043 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.5354, allocations: 4 kB / 0.5043 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008194/0.5362, allocations: 175.8 kB / 0.5045 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/0.5384, allocations: 0.7148 MB / 0.5052 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-05/0.5385, allocations: 20 kB / 0.5052 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00609/0.5446, allocations: 4.467 MB / 0.5096 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5447, allocations: 4 kB / 0.5096 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007225/0.5519, allocations: 4.325 MB / 0.5138 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.5532, allocations: 0.532 MB / 0.5143 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003839/0.5536, allocations: 20.06 kB / 0.5143 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.5547, allocations: 72.02 kB / 0.5144 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.5549, allocations: 72.44 kB / 0.5145 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.555, allocations: 34.89 kB / 0.5145 GB, free: 13.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004078/0.5591, allocations: 2.334 MB / 0.5168 GB, free: 11.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5591, allocations: 0 / 0.5168 GB, free: 11.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004689/0.5638, allocations: 0.8125 MB / 0.5176 GB, free: 10.69 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.0004079/0.5643, allocations: 158.2 kB / 0.5177 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006646/0.5709, allocations: 4.025 MB / 0.5217 GB, free: 6.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5709, allocations: 0 / 0.5217 GB, free: 6.523 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.5725, allocations: 1.109 MB / 0.5227 GB, free: 5.398 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/0.5755, allocations: 377 kB / 0.5231 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2049/0.7805, allocations: 9.033 MB / 0.5319 GB, free: 122.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003469/0.784, allocations: 2.793 MB / 0.5347 GB, free: 122.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004884/0.7889, allocations: 1.655 MB / 0.5363 GB, free: 122.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000806/0.7898, allocations: 212.3 kB / 0.5365 GB, free: 122.1 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.7898, allocations: 0 / 0.5365 GB, free: 122.1 MB / 446.1 MB Notification: Performance of Templates: time 0.0512/0.841, allocations: 29.44 MB / 0.5652 GB, free: 108.4 MB / 446.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)