Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001399/0.001399, allocations: 157.7 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.438/1.438, allocations: 170.7 MB / 178.7 MB, free: 6.98 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001651/0.001651, allocations: 107 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1852/0.1852, allocations: 37.97 MB / 295.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.893e-05/1.899e-05, allocations: 4 kB / 350 MB, free: 32.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3251, allocations: 48.69 MB / 398.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.4504, allocations: 93.72 MB / 492.4 MB, free: 5.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.4506, allocations: 75.95 kB / 492.5 MB, free: 5.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5736/1.024, allocations: 141 MB / 0.6187 GB, free: 81 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/1.024, allocations: 0 / 0.6187 GB, free: 81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003765/1.025, allocations: 143.4 kB / 0.6188 GB, free: 81 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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.01902/1.044, allocations: 6.549 MB / 0.6252 GB, free: 74.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/1.044, allocations: 12.03 kB / 0.6252 GB, free: 74.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/1.061, allocations: 3.621 MB / 0.6288 GB, free: 70.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0175/1.078, allocations: 7.608 MB / 0.6362 GB, free: 63.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004856/1.079, allocations: 256 kB / 0.6364 GB, free: 63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003942/1.083, allocations: 471.8 kB / 0.6369 GB, free: 62.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02226/1.105, allocations: 11.29 MB / 0.6479 GB, free: 51.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03595/1.141, allocations: 16.52 MB / 0.664 GB, free: 33.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005016/1.142, allocations: 95.16 kB / 0.6641 GB, free: 33.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003929/1.146, allocations: 55.95 kB / 0.6642 GB, free: 32.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003339/1.149, allocations: 1.94 MB / 0.6661 GB, free: 31.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3763/1.525, allocations: 77.01 MB / 0.7413 GB, free: 43.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005688/1.531, allocations: 3.314 MB / 0.7445 GB, free: 42.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002902/1.534, allocations: 1.881 MB / 0.7464 GB, free: 42.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/1.535, allocations: 1.772 MB / 0.7481 GB, free: 40.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/1.535, allocations: 68.19 kB / 0.7482 GB, free: 40.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=287): time 5.24e-06/1.535, allocations: 1.094 kB / 0.7482 GB, free: 40.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=317): time 0.04959/1.585, allocations: 18.03 MB / 0.7658 GB, free: 36.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/1.585, allocations: 164.8 kB / 0.7659 GB, free: 36.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008787/1.594, allocations: 4.423 MB / 0.7702 GB, free: 35.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009513/1.595, allocations: 25.7 kB / 0.7703 GB, free: 35.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004355/1.599, allocations: 5.238 MB / 0.7754 GB, free: 32.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002064/1.601, allocations: 1.18 MB / 0.7765 GB, free: 31.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006321/1.602, allocations: 3.5 kB / 0.7765 GB, free: 31.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005221/1.603, allocations: 0.725 MB / 0.7773 GB, free: 31.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004169/1.607, allocations: 2.48 MB / 0.7797 GB, free: 31.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006689/1.613, allocations: 8.352 MB / 0.7878 GB, free: 22.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007985/1.621, allocations: 4.498 MB / 0.7922 GB, free: 21.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002496/1.622, allocations: 64.94 kB / 0.7923 GB, free: 21.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=1293) (initialization): time 0.02104/1.643, allocations: 9.564 MB / 0.8016 GB, free: 18.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/1.643, allocations: 94.59 kB / 0.8017 GB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/1.643, allocations: 210.5 kB / 0.8019 GB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002937/1.643, allocations: 312.4 kB / 0.8022 GB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007651/1.651, allocations: 2.446 MB / 0.8046 GB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002731/1.651, allocations: 412.8 kB / 0.805 GB, free: 18.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007666/1.659, allocations: 448.6 kB / 0.8054 GB, free: 18.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00183/1.661, allocations: 0.5908 MB / 0.806 GB, free: 18.21 MB / 426.7 MB 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.002886/1.664, allocations: 0.6347 MB / 0.8066 GB, free: 17.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001788/1.666, allocations: 496.2 kB / 0.8071 GB, free: 17.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006009/1.672, allocations: 2.836 MB / 0.8099 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-05/1.672, allocations: 32 kB / 0.8099 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/1.672, allocations: 0 / 0.8099 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.329e-05/1.672, allocations: 13.31 kB / 0.8099 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02352/1.695, allocations: 11.53 MB / 0.8212 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-05/1.695, allocations: 28 kB / 0.8212 GB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002111/1.698, allocations: 0.5926 MB / 0.8218 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.006e-05/1.698, allocations: 48 kB / 0.8218 GB, free: 5.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/1.698, allocations: 51.23 kB / 0.8219 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.214e-05/1.698, allocations: 62.09 kB / 0.8219 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.03e-05/1.698, allocations: 47.81 kB / 0.822 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008512/1.706, allocations: 10.12 MB / 0.8319 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002173/1.709, allocations: 0.7626 MB / 0.8326 GB, free: 9.457 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005723/1.709, allocations: 59.41 kB / 0.8327 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002118/1.711, allocations: 152.2 kB / 0.8328 GB, free: 9.305 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/1.712, allocations: 277.1 kB / 0.8331 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/1.712, allocations: 123.8 kB / 0.8332 GB, free: 8.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005679/1.717, allocations: 2.89 MB / 0.836 GB, free: 6.488 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.718, allocations: 0 / 0.836 GB, free: 6.488 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01179/1.729, allocations: 1.306 MB / 0.8373 GB, free: 5.188 MB / 442.7 MB 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.001002/1.73, allocations: 216.2 kB / 0.8375 GB, free: 4.977 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01311/1.743, allocations: 5.754 MB / 0.8431 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.505e-05/1.744, allocations: 5.5 kB / 0.8431 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002969/1.747, allocations: 1.375 MB / 0.8445 GB, free: 14.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005092/1.752, allocations: 0.5298 MB / 0.845 GB, free: 14.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04173/1.793, allocations: 12.57 MB / 0.8572 GB, free: 2.473 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02118/1.815, allocations: 5.8 MB / 0.8629 GB, free: 15.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01084/1.826, allocations: 2.789 MB / 0.8656 GB, free: 14.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/1.827, allocations: 373.5 kB / 0.866 GB, free: 13.87 MB / 474.7 MB Notification: Performance of SimCode: time 1.133e-06/1.827, allocations: 7.828 kB / 0.866 GB, free: 13.86 MB / 474.7 MB Notification: Performance of Templates: time 0.3648/2.192, allocations: 38.65 MB / 0.9037 GB, free: 129.1 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)