Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005621/0.005621, allocations: 176 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.514/1.514, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001787/0.001787, allocations: 136.5 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2168/0.2168, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004817, allocations: 10.19 kB / 406.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 54.88 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.583, allocations: 97.41 MB / 0.5453 GB, free: 21.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/0.5834, allocations: 77.67 kB / 0.5454 GB, free: 21.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2003/0.7838, allocations: 84.79 MB / 0.6282 GB, free: 15.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.7838, allocations: 7.938 kB / 0.6282 GB, free: 15.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002317/0.7841, allocations: 79.98 kB / 0.6283 GB, free: 15.2 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01531/0.7994, allocations: 4.141 MB / 0.6324 GB, free: 11.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.7995, allocations: 12.03 kB / 0.6324 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/0.8127, allocations: 2.434 MB / 0.6347 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/0.8289, allocations: 5.143 MB / 0.6398 GB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004907/0.8295, allocations: 332.4 kB / 0.6401 GB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002734/0.8322, allocations: 431.8 kB / 0.6405 GB, free: 2.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02654/0.8588, allocations: 10.49 MB / 0.6507 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002325/0.8591, allocations: 63.41 kB / 0.6508 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.8601, allocations: 211.9 kB / 0.651 GB, free: 7.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001589/0.8617, allocations: 1.006 MB / 0.652 GB, free: 6.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/0.882, allocations: 8.229 MB / 0.66 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06866/0.9507, allocations: 47.42 MB / 0.7063 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007598/0.9584, allocations: 3.051 MB / 0.7093 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009237/0.9677, allocations: 5.211 MB / 0.7144 GB, free: 4.133 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.9678, allocations: 51.17 kB / 0.7144 GB, free: 4.074 MB / 490.7 MB Notification: Performance of pre-optimization done (n=134): time 4.608e-06/0.9678, allocations: 0 / 0.7144 GB, free: 4.074 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.3419/1.31, allocations: 9.218 MB / 0.7234 GB, free: 120.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/1.31, allocations: 194 kB / 0.7236 GB, free: 120.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007885/1.318, allocations: 3.651 MB / 0.7272 GB, free: 119.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003644/1.318, allocations: 45.16 kB / 0.7272 GB, free: 119.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002821/1.321, allocations: 3.152 MB / 0.7303 GB, free: 118.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/1.322, allocations: 0.59 MB / 0.7309 GB, free: 118.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/1.322, allocations: 115.5 kB / 0.731 GB, free: 118.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005591/1.323, allocations: 0.55 MB / 0.7315 GB, free: 117.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004304/1.327, allocations: 1.625 MB / 0.7331 GB, free: 117.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005619/1.333, allocations: 5.42 MB / 0.7384 GB, free: 112.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00529/1.338, allocations: 2.906 MB / 0.7413 GB, free: 112.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.117e-05/1.338, allocations: 41.09 kB / 0.7413 GB, free: 112.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01117/1.35, allocations: 6.778 MB / 0.7479 GB, free: 112.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.781e-05/1.35, allocations: 63.28 kB / 0.748 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/1.35, allocations: 136.6 kB / 0.7481 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/1.35, allocations: 195 kB / 0.7483 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003688/1.354, allocations: 1.423 MB / 0.7497 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001545/1.354, allocations: 265 kB / 0.7499 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004754/1.359, allocations: 373.9 kB / 0.7503 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004549/1.359, allocations: 373 kB / 0.7506 GB, free: 112 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (746): * Single equations (assignments): 743 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003484/1.363, allocations: 2.012 MB / 0.7526 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007574/1.363, allocations: 341 kB / 0.7529 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/1.365, allocations: 1.244 MB / 0.7541 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/1.365, allocations: 23.7 kB / 0.7542 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.365, allocations: 3.953 kB / 0.7542 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.365, allocations: 11.72 kB / 0.7542 GB, free: 111.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00905/1.374, allocations: 5.559 MB / 0.7596 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/1.374, allocations: 13.22 kB / 0.7596 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008886/1.375, allocations: 268.6 kB / 0.7599 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.399e-05/1.375, allocations: 22.69 kB / 0.7599 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/1.375, allocations: 38.78 kB / 0.7599 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.467e-05/1.375, allocations: 36.11 kB / 0.76 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.437e-05/1.376, allocations: 25.56 kB / 0.76 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003886/1.379, allocations: 4.87 MB / 0.7648 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.381, allocations: 0.5203 MB / 0.7653 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/1.381, allocations: 46.2 kB / 0.7653 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.382, allocations: 90.72 kB / 0.7654 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.382, allocations: 127.7 kB / 0.7655 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.34e-05/1.383, allocations: 66.89 kB / 0.7656 GB, free: 106.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004603/1.387, allocations: 2.542 MB / 0.7681 GB, free: 105.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.387, allocations: 0 / 0.7681 GB, free: 105.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00733/1.395, allocations: 0.8877 MB / 0.7689 GB, free: 105.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * 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 (134): * Single equations (assignments): 131 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005668/1.395, allocations: 193.3 kB / 0.7691 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007257/1.402, allocations: 3.685 MB / 0.7727 GB, free: 104.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.009e-05/1.402, allocations: 3.938 kB / 0.7727 GB, free: 104.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/1.404, allocations: 0.6975 MB / 0.7734 GB, free: 104.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.407, allocations: 434.1 kB / 0.7738 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/1.423, allocations: 10.12 MB / 0.7837 GB, free: 98.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004041/1.428, allocations: 3.217 MB / 0.7868 GB, free: 97.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004625/1.432, allocations: 1.79 MB / 0.7886 GB, free: 96.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005918/1.433, allocations: 238.4 kB / 0.7888 GB, free: 96.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/1.433, allocations: 0 / 0.7888 GB, free: 96.93 MB / 490.7 MB Notification: Performance of Templates: time 0.05654/1.489, allocations: 26.53 MB / 0.8147 GB, free: 85.85 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1)