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.001047/0.001047, allocations: 100 kB / 15.05 MB, free: 1.105 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.001661/0.001661, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.0004554/0.0004555, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2402, allocations: 47.58 MB / 326.4 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0285/0.2688, allocations: 29.65 MB / 356.1 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01873/0.2876, allocations: 7.723 MB / 363.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00663/0.2943, allocations: 147.6 kB / 364 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005529/0.2998, allocations: 1.423 MB / 365.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01558/0.3155, allocations: 4.352 MB / 369.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.3181, allocations: 0.4913 MB / 370.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004448/0.3225, allocations: 1.907 MB / 372.1 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004792/0.3273, allocations: 2.937 MB / 375.1 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.3289, allocations: 0.872 MB / 375.9 MB, free: 1.816 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.3305, allocations: 1.125 MB / 377.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003959/0.3309, allocations: 112 kB / 377.2 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.3325, allocations: 0.7685 MB / 378 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.3337, allocations: 1.309 MB / 379.3 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000782/0.3345, allocations: 0.7025 MB / 380 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.3393, allocations: 4.438 MB / 384.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3394, allocations: 4 kB / 384.4 MB, free: 9.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.3394, allocations: 0 / 384.4 MB, free: 9.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001404/0.3395, allocations: 0 / 384.4 MB, free: 9.328 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.006952/0.3465, allocations: 3.418 MB / 387.8 MB, free: 5.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3465, allocations: 8.031 kB / 387.8 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00723/0.3538, allocations: 2.117 MB / 389.9 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/0.3583, allocations: 2.147 MB / 392.1 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.3585, allocations: 184.8 kB / 392.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005577/0.3591, allocations: 259.8 kB / 392.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.3731, allocations: 8.478 MB / 401 MB, free: 7.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.3732, allocations: 39.59 kB / 401 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005567/0.3738, allocations: 127.9 kB / 401.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002828/0.3766, allocations: 1.695 MB / 402.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/0.3904, allocations: 7.161 MB / 410 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04122/0.4316, allocations: 34.25 MB / 444.3 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007332/0.439, allocations: 3.279 MB / 447.6 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006933/0.446, allocations: 4.408 MB / 452 MB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.446, allocations: 51.06 kB / 452 MB, free: 3.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.649e-06/0.4461, allocations: 0 / 452 MB, free: 3.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.1813/0.6273, allocations: 11.81 MB / 463.8 MB, free: 110.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.6274, allocations: 148.9 kB / 464 MB, free: 110.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003988/0.6314, allocations: 3.844 MB / 467.8 MB, free: 109.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.6315, allocations: 42.03 kB / 467.9 MB, free: 109.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.6327, allocations: 2.755 MB / 470.6 MB, free: 107.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.633, allocations: 0.5212 MB / 471.1 MB, free: 106.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.6332, allocations: 106.8 kB / 471.2 MB, free: 106.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6334, allocations: 0.5286 MB / 471.8 MB, free: 106.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/0.6352, allocations: 1.671 MB / 473.4 MB, free: 105.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/0.6381, allocations: 5.079 MB / 478.5 MB, free: 100.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/0.6419, allocations: 2.871 MB / 481.4 MB, free: 98.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.347e-05/0.6419, allocations: 32 kB / 481.4 MB, free: 98.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01165/0.6536, allocations: 6.655 MB / 488.1 MB, free: 91.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.6538, allocations: 56 kB / 488.1 MB, free: 91.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/0.654, allocations: 120 kB / 488.2 MB, free: 91.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00082/0.6548, allocations: 342.5 kB / 488.6 MB, free: 90.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004826/0.6596, allocations: 1.244 MB / 489.8 MB, free: 89.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.6624, allocations: 2.322 MB / 492.1 MB, free: 87.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005086/0.6675, allocations: 290 kB / 492.4 MB, free: 86.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006021/0.6682, allocations: 328 kB / 492.7 MB, free: 86.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 (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00309/0.6713, allocations: 1.794 MB / 494.5 MB, free: 84.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007297/0.672, allocations: 315.9 kB / 494.8 MB, free: 84.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00556/0.6776, allocations: 2.355 MB / 497.2 MB, free: 82.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/0.6776, allocations: 16.75 kB / 497.2 MB, free: 82.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.6776, allocations: 7.984 kB / 497.2 MB, free: 82.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.6777, allocations: 7.672 kB / 497.2 MB, free: 82.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.6908, allocations: 5.934 MB / 0.4914 GB, free: 76.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.6909, allocations: 0 / 0.4914 GB, free: 76.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000739/0.6916, allocations: 171.7 kB / 0.4915 GB, free: 75.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001879/0.6935, allocations: 0.7186 MB / 0.4922 GB, free: 75.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.778e-05/0.6936, allocations: 20.55 kB / 0.4923 GB, free: 75.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004432/0.698, allocations: 4.569 MB / 0.4967 GB, free: 70.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6981, allocations: 3.938 kB / 0.4967 GB, free: 70.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005334/0.7034, allocations: 4.433 MB / 0.5011 GB, free: 65.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.7049, allocations: 0.5398 MB / 0.5016 GB, free: 65.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006948/0.7056, allocations: 20.84 kB / 0.5016 GB, free: 65.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.707, allocations: 68.61 kB / 0.5017 GB, free: 65.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.7072, allocations: 68.5 kB / 0.5017 GB, free: 65.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/0.7073, allocations: 36.62 kB / 0.5018 GB, free: 65.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003322/0.7106, allocations: 2.417 MB / 0.5041 GB, free: 62.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7106, allocations: 0 / 0.5041 GB, free: 62.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004209/0.7148, allocations: 0.84 MB / 0.5049 GB, free: 61.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004419/0.7153, allocations: 165.4 kB / 0.5051 GB, free: 61.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004911/0.7202, allocations: 3.995 MB / 0.509 GB, free: 57.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7202, allocations: 192 / 0.509 GB, free: 57.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.7215, allocations: 1.11 MB / 0.5101 GB, free: 56.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.7236, allocations: 356.8 kB / 0.5104 GB, free: 56.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.7345, allocations: 8.6 MB / 0.5188 GB, free: 47.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002729/0.7372, allocations: 2.867 MB / 0.5216 GB, free: 44.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003616/0.7409, allocations: 1.658 MB / 0.5233 GB, free: 43.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006833/0.7416, allocations: 215.4 kB / 0.5235 GB, free: 42.97 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7416, allocations: 0 / 0.5235 GB, free: 42.97 MB / 382.1 MB Notification: Performance of Templates: time 0.04372/0.7853, allocations: 29.49 MB / 0.5523 GB, free: 13.49 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: