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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004127/0.004127, allocations: 191.5 kB / 7.46 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.256/1.256, allocations: 194.2 MB / 202.1 MB, free: 8.641 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.001737/0.001737, allocations: 121.7 kB / 247.1 MB, free: 6.324 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.1811/0.1811, allocations: 39.94 MB / 331.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.088e-06/9.117e-06, allocations: 4 kB / 392.8 MB, free: 75.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 54.87 MB / 447.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3341/0.4432, allocations: 96.58 MB / 0.5315 GB, free: 3.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.4435, allocations: 69.91 kB / 0.5315 GB, free: 3.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2222/0.6658, allocations: 81.8 MB / 0.6114 GB, free: 9.977 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002894/0.6661, allocations: 76 kB / 0.6115 GB, free: 9.902 MB / 426.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.01353/0.6797, allocations: 3.854 MB / 0.6153 GB, free: 5.984 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.6797, allocations: 12.03 kB / 0.6153 GB, free: 5.973 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.6908, allocations: 1.964 MB / 0.6172 GB, free: 4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01476/0.7056, allocations: 5.191 MB / 0.6223 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/0.706, allocations: 136 kB / 0.6224 GB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/0.7085, allocations: 252 kB / 0.6226 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01355/0.7221, allocations: 6.217 MB / 0.6287 GB, free: 8.141 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01976/0.7419, allocations: 9.473 MB / 0.638 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002737/0.7422, allocations: 67.34 kB / 0.638 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001573/0.7438, allocations: 32 kB / 0.638 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001694/0.7455, allocations: 1.08 MB / 0.6391 GB, free: 12.37 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2087/0.9543, allocations: 47.33 MB / 0.6853 GB, free: 138.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.9562, allocations: 1.868 MB / 0.6871 GB, free: 137.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.9573, allocations: 0.9875 MB / 0.6881 GB, free: 137.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005389/0.9627, allocations: 4.423 MB / 0.6924 GB, free: 135.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.9627, allocations: 51.3 kB / 0.6925 GB, free: 135.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=134): time 3.997e-06/0.9627, allocations: 0 / 0.6925 GB, free: 135.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=146): time 0.01445/0.9772, allocations: 7.569 MB / 0.6999 GB, free: 132.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.9773, allocations: 203.4 kB / 0.7001 GB, free: 132.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004233/0.9816, allocations: 3.087 MB / 0.7031 GB, free: 131.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.9817, allocations: 25.7 kB / 0.7031 GB, free: 131.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.9831, allocations: 3.003 MB / 0.706 GB, free: 130.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/0.9835, allocations: 0.5781 MB / 0.7066 GB, free: 129.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.9837, allocations: 0 / 0.7066 GB, free: 129.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.984, allocations: 0.5581 MB / 0.7071 GB, free: 129.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.9857, allocations: 1.493 MB / 0.7086 GB, free: 129.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003416/0.9891, allocations: 5.404 MB / 0.7139 GB, free: 124.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/0.9924, allocations: 2.871 MB / 0.7167 GB, free: 124.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.685e-05/0.9924, allocations: 40.16 kB / 0.7167 GB, free: 124.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.008649/1.001, allocations: 5.919 MB / 0.7225 GB, free: 123.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.001, allocations: 6.875 kB / 0.7225 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/1.001, allocations: 141.5 kB / 0.7226 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001723/1.001, allocations: 203.5 kB / 0.7228 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004027/1.005, allocations: 1.459 MB / 0.7243 GB, free: 123.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001599/1.006, allocations: 282.7 kB / 0.7245 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/1.01, allocations: 243.5 kB / 0.7248 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004382/1.01, allocations: 379 kB / 0.7251 GB, free: 123.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * 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 (770): * Single equations (assignments): 767 * 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.0005796/1.011, allocations: 451.2 kB / 0.7256 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/1.011, allocations: 316.4 kB / 0.7259 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/1.013, allocations: 1.151 MB / 0.727 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/1.013, allocations: 11.31 kB / 0.727 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.013, allocations: 3.906 kB / 0.727 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.013, allocations: 10.39 kB / 0.727 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006925/1.02, allocations: 4.521 MB / 0.7314 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.02, allocations: 14.28 kB / 0.7314 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009395/1.021, allocations: 260.4 kB / 0.7317 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.172e-05/1.021, allocations: 24.66 kB / 0.7317 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-05/1.021, allocations: 34.8 kB / 0.7317 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.731e-05/1.021, allocations: 34.47 kB / 0.7318 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/1.021, allocations: 19.56 kB / 0.7318 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00366/1.025, allocations: 4.641 MB / 0.7363 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.026, allocations: 500 kB / 0.7368 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003624/1.027, allocations: 24.78 kB / 0.7368 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/1.028, allocations: 59.03 kB / 0.7369 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/1.028, allocations: 114.4 kB / 0.737 GB, free: 118.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-05/1.028, allocations: 58.81 kB / 0.737 GB, free: 118.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003465/1.032, allocations: 2.051 MB / 0.739 GB, free: 117.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005088/1.037, allocations: 0.7452 MB / 0.7398 GB, free: 117.4 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.0003567/1.037, allocations: 175.8 kB / 0.7399 GB, free: 117.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004421/1.042, allocations: 3.422 MB / 0.7433 GB, free: 116.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.042, allocations: 0 / 0.7433 GB, free: 116.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000743/1.042, allocations: 0.6724 MB / 0.7439 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/1.044, allocations: 337.4 kB / 0.7443 GB, free: 115.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/1.057, allocations: 6.992 MB / 0.7511 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003819/1.06, allocations: 3.486 MB / 0.7545 GB, free: 106.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.964e-06/1.06, allocations: 0 / 0.7545 GB, free: 106.2 MB / 474.7 MB Notification: Performance of Templates: time 0.05312/1.114, allocations: 26.44 MB / 0.7803 GB, free: 89.52 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)