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.004512/0.004512, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001083/0.001083, allocations: 193.5 kB / 16.67 MB, free: 5.977 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.351/1.351, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.001331/0.001331, allocations: 50.94 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1064, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01144/0.1179, allocations: 10.23 MB / 383.4 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008223/0.1262, allocations: 3.787 MB / 387.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.1275, allocations: 59.81 kB / 387.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.131, allocations: 1.946 MB / 389.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004723/0.1357, allocations: 1.693 MB / 390.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.1373, allocations: 0.6121 MB / 391.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004965/0.1423, allocations: 3.346 MB / 394.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/0.1454, allocations: 2.583 MB / 397.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.1475, allocations: 1.242 MB / 398.7 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.1498, allocations: 1.674 MB / 400.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004731/0.1503, allocations: 256 kB / 400.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.1522, allocations: 1.03 MB / 401.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.1538, allocations: 1.582 MB / 403.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.1556, allocations: 1.825 MB / 405 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006463/0.1621, allocations: 5.835 MB / 410.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.1621, allocations: 0 / 410.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1621, allocations: 0 / 410.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.316e-05/0.1622, allocations: 0 / 410.9 MB, free: 11.43 MB / 350.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.007381/0.1696, allocations: 4.018 MB / 414.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1697, allocations: 8.031 kB / 414.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006516/0.1762, allocations: 1.77 MB / 416.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/0.1807, allocations: 2.002 MB / 418.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.1808, allocations: 188.8 kB / 418.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005867/0.1814, allocations: 259.8 kB / 419.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.1959, allocations: 8.423 MB / 427.5 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.1961, allocations: 43.59 kB / 427.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004045/0.1965, allocations: 127.9 kB / 427.7 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003022/0.1995, allocations: 1.695 MB / 429.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0146/0.2141, allocations: 7.106 MB / 436.5 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3061/0.5203, allocations: 34.02 MB / 470.5 MB, free: 45.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008176/0.5285, allocations: 3.296 MB / 473.8 MB, free: 44.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/0.5305, allocations: 1.452 MB / 475.3 MB, free: 43.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006782/0.5373, allocations: 4.359 MB / 479.6 MB, free: 41.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.5374, allocations: 47.69 kB / 479.7 MB, free: 41.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 5.42e-06/0.5374, allocations: 0 / 479.7 MB, free: 41.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02728/0.5647, allocations: 11.53 MB / 491.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.5648, allocations: 150.9 kB / 491.3 MB, free: 35.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005105/0.5699, allocations: 3.725 MB / 495.1 MB, free: 33.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.57, allocations: 41.2 kB / 495.1 MB, free: 33.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.5715, allocations: 2.752 MB / 497.9 MB, free: 31.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005143/0.572, allocations: 0.5218 MB / 498.4 MB, free: 30.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.5733, allocations: 1.079 MB / 499.5 MB, free: 29.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.5734, allocations: 305 kB / 499.8 MB, free: 29.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/0.5754, allocations: 1.705 MB / 0.4897 GB, free: 27.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003288/0.5787, allocations: 5.133 MB / 0.4947 GB, free: 20.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005842/0.5846, allocations: 7.416 MB / 0.502 GB, free: 11.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.494e-05/0.5847, allocations: 32 kB / 0.502 GB, free: 11.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009782/0.5944, allocations: 6.728 MB / 0.5086 GB, free: 4.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-05/0.5946, allocations: 56 kB / 0.5086 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/0.5947, allocations: 124 kB / 0.5087 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.5953, allocations: 317.1 kB / 0.509 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00335/0.5987, allocations: 1.248 MB / 0.5103 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.6008, allocations: 2.489 MB / 0.5127 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003629/0.6045, allocations: 290.6 kB / 0.513 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000659/0.6051, allocations: 336.9 kB / 0.5133 GB, free: 15.78 MB / 398.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.003923/0.6091, allocations: 1.791 MB / 0.515 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009754/0.61, allocations: 308 kB / 0.5153 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005231/0.6153, allocations: 2.359 MB / 0.5176 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/0.6154, allocations: 16 kB / 0.5177 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.6154, allocations: 4 kB / 0.5177 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.6154, allocations: 3.984 kB / 0.5177 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/0.6273, allocations: 5.926 MB / 0.5234 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.6273, allocations: 2.438 kB / 0.5235 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008777/0.6282, allocations: 175.8 kB / 0.5236 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/0.6305, allocations: 0.7108 MB / 0.5243 GB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/0.6306, allocations: 20 kB / 0.5243 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006243/0.6369, allocations: 4.814 MB / 0.529 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6369, allocations: 0 / 0.529 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007175/0.6441, allocations: 4.329 MB / 0.5333 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/0.6459, allocations: 0.5321 MB / 0.5338 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009916/0.6469, allocations: 19.75 kB / 0.5338 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.6486, allocations: 63.91 kB / 0.5339 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/0.6488, allocations: 68.56 kB / 0.5339 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.355e-05/0.6489, allocations: 39.89 kB / 0.534 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004034/0.653, allocations: 2.331 MB / 0.5362 GB, free: 8.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.653, allocations: 0 / 0.5362 GB, free: 8.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005007/0.658, allocations: 0.8162 MB / 0.537 GB, free: 7.227 MB / 414.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.0004487/0.6585, allocations: 158.4 kB / 0.5372 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00641/0.6649, allocations: 4.049 MB / 0.5411 GB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.6649, allocations: 0.8438 kB / 0.5411 GB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.6664, allocations: 1.111 MB / 0.5422 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.6691, allocations: 402.5 kB / 0.5426 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.6819, allocations: 7.271 MB / 0.5497 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00363/0.6855, allocations: 2.787 MB / 0.5524 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003932/0.6895, allocations: 1.658 MB / 0.5541 GB, free: 5.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/0.6902, allocations: 207.4 kB / 0.5543 GB, free: 5.566 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6902, allocations: 0 / 0.5543 GB, free: 5.566 MB / 430.1 MB Notification: Performance of Templates: time 0.05914/0.7494, allocations: 27.95 MB / 0.5815 GB, free: 9.664 MB / 462.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)