Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00151/0.00151, allocations: 182.6 kB / 7.652 MB, free: 1.402 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.53/1.53, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001723/0.001723, allocations: 120 kB / 247.4 MB, free: 6.211 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.1931/0.1931, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.944e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.09944, allocations: 54.87 MB / 448.2 MB, free: 20.67 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4687, allocations: 100.4 MB / 0.5357 GB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.469, allocations: 73.72 kB / 0.5358 GB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6258/1.095, allocations: 141 MB / 0.6735 GB, free: 85.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.095, allocations: 0 / 0.6735 GB, free: 85.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003378/1.095, allocations: 145.3 kB / 0.6737 GB, free: 85.15 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02315/1.118, allocations: 6.54 MB / 0.6801 GB, free: 82.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.118, allocations: 9.828 kB / 0.6801 GB, free: 82.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01959/1.138, allocations: 3.614 MB / 0.6836 GB, free: 82.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02037/1.158, allocations: 7.624 MB / 0.691 GB, free: 81.49 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005555/1.159, allocations: 264.7 kB / 0.6913 GB, free: 81.49 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003697/1.163, allocations: 468.9 kB / 0.6917 GB, free: 81.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02216/1.185, allocations: 11.29 MB / 0.7028 GB, free: 81.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03726/1.222, allocations: 16.52 MB / 0.7189 GB, free: 77.13 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004136/1.223, allocations: 96.5 kB / 0.719 GB, free: 77.13 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002909/1.226, allocations: 55.17 kB / 0.719 GB, free: 77.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002943/1.229, allocations: 1.934 MB / 0.7209 GB, free: 77.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0767/1.305, allocations: 77.02 MB / 0.7961 GB, free: 24.46 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004372/1.31, allocations: 3.314 MB / 0.7994 GB, free: 22.76 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/1.312, allocations: 1.869 MB / 0.8012 GB, free: 22.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/1.313, allocations: 1.771 MB / 0.8029 GB, free: 20.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.313, allocations: 59.75 kB / 0.803 GB, free: 20.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=287): time 6.051e-06/1.313, allocations: 3.938 kB / 0.803 GB, free: 20.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=317): time 0.04248/1.356, allocations: 18.04 MB / 0.8206 GB, free: 5.633 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/1.356, allocations: 162.5 kB / 0.8208 GB, free: 5.441 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006212/1.362, allocations: 4.425 MB / 0.8251 GB, free: 1.574 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006007/1.363, allocations: 25.7 kB / 0.8251 GB, free: 1.543 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003438/1.366, allocations: 5.239 MB / 0.8302 GB, free: 12.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00166/1.368, allocations: 1.173 MB / 0.8314 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/1.368, allocations: 0 / 0.8314 GB, free: 11.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005308/1.369, allocations: 0.7177 MB / 0.8321 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004007/1.373, allocations: 2.486 MB / 0.8345 GB, free: 8.898 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008233/1.381, allocations: 8.352 MB / 0.8427 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007114/1.388, allocations: 4.498 MB / 0.8471 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001306/1.388, allocations: 63.66 kB / 0.8471 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1293) (initialization): time 0.01954/1.408, allocations: 9.559 MB / 0.8565 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000138/1.408, allocations: 99.97 kB / 0.8565 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003053/1.408, allocations: 216 kB / 0.8568 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003219/1.409, allocations: 308 kB / 0.857 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2975/1.706, allocations: 2.449 MB / 0.8594 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004807/1.707, allocations: 417.7 kB / 0.8598 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008646/1.715, allocations: 444.2 kB / 0.8603 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002489/1.718, allocations: 0.5812 MB / 0.8608 GB, free: 100.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 69 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1269): * Single equations (assignments): 1266 * 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.003011/1.721, allocations: 0.6413 MB / 0.8615 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.722, allocations: 495.2 kB / 0.8619 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006018/1.728, allocations: 2.83 MB / 0.8647 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-05/1.728, allocations: 36.06 kB / 0.8647 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.728, allocations: 2.531 kB / 0.8647 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-05/1.728, allocations: 14.41 kB / 0.8647 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02477/1.753, allocations: 11.54 MB / 0.876 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.35e-05/1.753, allocations: 30.03 kB / 0.876 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002128/1.755, allocations: 0.5829 MB / 0.8766 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.761e-05/1.755, allocations: 49.06 kB / 0.8767 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.756, allocations: 55.16 kB / 0.8767 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.412e-05/1.756, allocations: 64.08 kB / 0.8768 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-05/1.756, allocations: 50.89 kB / 0.8768 GB, free: 98.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007588/1.763, allocations: 10.12 MB / 0.8867 GB, free: 91.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0021/1.765, allocations: 0.7715 MB / 0.8874 GB, free: 91.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007907/1.766, allocations: 49.38 kB / 0.8875 GB, free: 91.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002407/1.769, allocations: 145.4 kB / 0.8876 GB, free: 91.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/1.769, allocations: 281.6 kB / 0.8879 GB, free: 91.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.769, allocations: 123.3 kB / 0.888 GB, free: 91.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005017/1.774, allocations: 2.885 MB / 0.8908 GB, free: 91.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-07/1.774, allocations: 1.656 kB / 0.8908 GB, free: 91.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.011/1.785, allocations: 1.311 MB / 0.8921 GB, free: 91.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 138 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (298): * Single equations (assignments): 295 * 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.000906/1.786, allocations: 209.8 kB / 0.8923 GB, free: 91.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.797, allocations: 5.711 MB / 0.8979 GB, free: 91.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.055e-05/1.797, allocations: 7.938 kB / 0.8979 GB, free: 91.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0027/1.8, allocations: 1.377 MB / 0.8992 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004558/1.804, allocations: 0.5213 MB / 0.8998 GB, free: 91.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02879/1.833, allocations: 12.57 MB / 0.912 GB, free: 87.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007475/1.841, allocations: 5.231 MB / 0.9171 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007499/1.848, allocations: 2.789 MB / 0.9199 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.849, allocations: 375.1 kB / 0.9202 GB, free: 86.92 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/1.849, allocations: 3.719 kB / 0.9202 GB, free: 86.92 MB / 0.4948 GB Notification: Performance of Templates: time 0.07759/1.927, allocations: 38.65 MB / 0.958 GB, free: 79.49 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)