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.001454/0.001454, allocations: 182.1 kB / 12.74 MB, free: 2.582 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.568/1.568, allocations: 194.3 MB / 207.5 MB, free: 3.398 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.001586/0.001587, allocations: 106.2 kB / 252.6 MB, free: 4.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1999/0.1999, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.217e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09642, allocations: 54.87 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3711/0.4676, allocations: 97.31 MB / 0.5395 GB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4678, allocations: 77.27 kB / 0.5396 GB, free: 10.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2325/0.7003, allocations: 84.83 MB / 0.6224 GB, free: 13.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.7004, allocations: 8 kB / 0.6224 GB, free: 13.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002006/0.7006, allocations: 83.88 kB / 0.6225 GB, free: 13.16 MB / 442.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.01267/0.7133, allocations: 3.893 MB / 0.6263 GB, free: 9.203 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.7133, allocations: 16.03 kB / 0.6263 GB, free: 9.188 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.7251, allocations: 2.443 MB / 0.6287 GB, free: 6.734 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/0.7384, allocations: 5.125 MB / 0.6337 GB, free: 1.543 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.7388, allocations: 324.4 kB / 0.634 GB, free: 1.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/0.7408, allocations: 431.8 kB / 0.6344 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02132/0.7621, allocations: 10.35 MB / 0.6446 GB, free: 5.336 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001543/0.7624, allocations: 63.41 kB / 0.6446 GB, free: 5.273 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005948/0.763, allocations: 211.9 kB / 0.6448 GB, free: 5.066 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00143/0.7644, allocations: 1.01 MB / 0.6458 GB, free: 4.051 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/0.7811, allocations: 7.97 MB / 0.6536 GB, free: 12.06 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2866/1.068, allocations: 47.41 MB / 0.6999 GB, free: 74.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007086/1.075, allocations: 3.02 MB / 0.7028 GB, free: 73.51 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/1.076, allocations: 0.9692 MB / 0.7038 GB, free: 73.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007859/1.084, allocations: 5.207 MB / 0.7089 GB, free: 71.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/1.084, allocations: 47.06 kB / 0.7089 GB, free: 71.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=134): time 5.029e-06/1.084, allocations: 0 / 0.7089 GB, free: 71.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.02063/1.105, allocations: 8.273 MB / 0.717 GB, free: 68.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/1.105, allocations: 191.6 kB / 0.7172 GB, free: 68.24 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/1.109, allocations: 3.54 MB / 0.7206 GB, free: 67.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/1.11, allocations: 54.33 kB / 0.7207 GB, free: 67.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/1.111, allocations: 3.152 MB / 0.7238 GB, free: 66.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004958/1.112, allocations: 0.5939 MB / 0.7243 GB, free: 65.85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/1.112, allocations: 114.9 kB / 0.7245 GB, free: 65.85 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003338/1.112, allocations: 0.5509 MB / 0.725 GB, free: 65.53 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/1.114, allocations: 1.517 MB / 0.7265 GB, free: 65.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003425/1.118, allocations: 5.318 MB / 0.7317 GB, free: 60.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003232/1.121, allocations: 2.836 MB / 0.7344 GB, free: 60.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.086e-05/1.121, allocations: 41.94 kB / 0.7345 GB, free: 60.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.008126/1.129, allocations: 6.576 MB / 0.7409 GB, free: 59.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.898e-05/1.129, allocations: 72.11 kB / 0.741 GB, free: 59.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/1.129, allocations: 134.4 kB / 0.7411 GB, free: 59.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/1.129, allocations: 198.5 kB / 0.7413 GB, free: 59.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003542/1.133, allocations: 1.42 MB / 0.7427 GB, free: 59.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001405/1.133, allocations: 260.2 kB / 0.7429 GB, free: 59.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/1.137, allocations: 385.9 kB / 0.7433 GB, free: 59.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003771/1.137, allocations: 364.5 kB / 0.7436 GB, free: 59.14 MB / 474.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 () * 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.0005247/1.138, allocations: 0.5661 MB / 0.7442 GB, free: 58.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/1.138, allocations: 348.3 kB / 0.7445 GB, free: 58.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/1.14, allocations: 1.231 MB / 0.7457 GB, free: 57.99 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.14, allocations: 15.11 kB / 0.7457 GB, free: 57.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.14, allocations: 3.875 kB / 0.7457 GB, free: 57.99 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/1.14, allocations: 10.45 kB / 0.7457 GB, free: 57.99 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007808/1.148, allocations: 5.53 MB / 0.7511 GB, free: 55.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.148, allocations: 15.56 kB / 0.7512 GB, free: 55.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008148/1.149, allocations: 259.4 kB / 0.7514 GB, free: 55.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.006e-05/1.149, allocations: 27 kB / 0.7514 GB, free: 55.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/1.149, allocations: 42.06 kB / 0.7515 GB, free: 55.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-05/1.149, allocations: 36.36 kB / 0.7515 GB, free: 55.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.149, allocations: 26.47 kB / 0.7515 GB, free: 55.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/1.152, allocations: 4.842 MB / 0.7563 GB, free: 51.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.153, allocations: 0.5231 MB / 0.7568 GB, free: 50.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/1.154, allocations: 49.77 kB / 0.7568 GB, free: 50.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.155, allocations: 87.69 kB / 0.7569 GB, free: 50.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.155, allocations: 132.7 kB / 0.757 GB, free: 50.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/1.155, allocations: 55.41 kB / 0.7571 GB, free: 50.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003107/1.158, allocations: 2.446 MB / 0.7595 GB, free: 50.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.158, allocations: 4 kB / 0.7595 GB, free: 50.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004967/1.163, allocations: 0.9008 MB / 0.7604 GB, free: 49.91 MB / 474.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 () * 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.0004089/1.163, allocations: 183.4 kB / 0.7605 GB, free: 49.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004999/1.168, allocations: 3.554 MB / 0.764 GB, free: 48.56 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.168, allocations: 7.562 kB / 0.764 GB, free: 48.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007515/1.169, allocations: 0.6901 MB / 0.7647 GB, free: 48.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/1.171, allocations: 415.7 kB / 0.7651 GB, free: 48.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/1.183, allocations: 6.991 MB / 0.7719 GB, free: 44.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/1.186, allocations: 3.221 MB / 0.7751 GB, free: 42.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004218/1.19, allocations: 1.795 MB / 0.7768 GB, free: 41.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/1.191, allocations: 238.6 kB / 0.777 GB, free: 40.86 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/1.191, allocations: 0 / 0.777 GB, free: 40.86 MB / 474.7 MB Notification: Performance of Templates: time 0.04785/1.239, allocations: 26.53 MB / 0.8029 GB, free: 23.41 MB / 474.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)