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.001674/0.001674, allocations: 180.3 kB / 12.74 MB, free: 2.578 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.422/1.422, allocations: 194.3 MB / 207.5 MB, free: 3.445 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.001603/0.001603, allocations: 110.2 kB / 252.6 MB, free: 4.77 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.2456/0.2456, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.203e-05/5.233e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/0.5108, allocations: 101.1 MB / 0.5432 GB, free: 6.707 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.5111, allocations: 74.45 kB / 0.5433 GB, free: 6.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6603/1.171, allocations: 144.5 MB / 0.6844 GB, free: 87.37 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.345e-06/1.171, allocations: 0 / 0.6844 GB, free: 87.37 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003514/1.172, allocations: 148.5 kB / 0.6845 GB, free: 87.36 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.02444/1.196, allocations: 6.54 MB / 0.6909 GB, free: 84.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.196, allocations: 13.78 kB / 0.6909 GB, free: 84.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/1.214, allocations: 3.619 MB / 0.6945 GB, free: 84.17 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0199/1.234, allocations: 7.631 MB / 0.7019 GB, free: 83.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006788/1.235, allocations: 0.5906 MB / 0.7025 GB, free: 83.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005494/1.24, allocations: 0.7751 MB / 0.7033 GB, free: 83.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05788/1.298, allocations: 21.54 MB / 0.7243 GB, free: 79 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006797/1.299, allocations: 92.06 kB / 0.7244 GB, free: 79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004274/1.303, allocations: 387.3 kB / 0.7247 GB, free: 78.99 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003745/1.307, allocations: 1.934 MB / 0.7266 GB, free: 78.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04067/1.348, allocations: 17.18 MB / 0.7434 GB, free: 77.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0928/1.441, allocations: 79.34 MB / 0.8209 GB, free: 7.785 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01835/1.459, allocations: 6.494 MB / 0.8272 GB, free: 2.508 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00343/1.462, allocations: 2.046 MB / 0.8292 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.021/1.483, allocations: 9.748 MB / 0.8387 GB, free: 7.547 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.624e-05/1.484, allocations: 72.52 kB / 0.8388 GB, free: 7.469 MB / 490.7 MB Notification: Performance of pre-optimization done (n=284): time 6.321e-06/1.484, allocations: 0 / 0.8388 GB, free: 7.469 MB / 490.7 MB Notification: Performance of matching and sorting (n=320): time 0.4388/1.922, allocations: 22.6 MB / 0.8609 GB, free: 91.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002968/1.923, allocations: 163.1 kB / 0.861 GB, free: 91.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.024/1.947, allocations: 5.254 MB / 0.8662 GB, free: 90.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009672/1.948, allocations: 73.47 kB / 0.8662 GB, free: 90.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006435/1.954, allocations: 5.171 MB / 0.8713 GB, free: 88.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002697/1.957, allocations: 1.217 MB / 0.8725 GB, free: 87.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002134/1.959, allocations: 194.7 kB / 0.8727 GB, free: 87.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001689/1.961, allocations: 0.7148 MB / 0.8734 GB, free: 87.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00823/1.969, allocations: 2.63 MB / 0.8759 GB, free: 87.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01362/1.983, allocations: 8.343 MB / 0.8841 GB, free: 79.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/1.994, allocations: 4.631 MB / 0.8886 GB, free: 79.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004206/1.994, allocations: 56.25 kB / 0.8887 GB, free: 79.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02561/2.02, allocations: 10.73 MB / 0.8991 GB, free: 78.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005257/2.02, allocations: 91.5 kB / 0.8992 GB, free: 78.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006448/2.021, allocations: 203.3 kB / 0.8994 GB, free: 78.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/2.022, allocations: 298.6 kB / 0.8997 GB, free: 78.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009332/2.031, allocations: 2.378 MB / 0.902 GB, free: 78.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000566/2.032, allocations: 407.3 kB / 0.9024 GB, free: 78.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/2.042, allocations: 0.6261 MB / 0.903 GB, free: 78.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002726/2.045, allocations: 0.5624 MB / 0.9036 GB, free: 78.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * 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 (1236): * Single equations (assignments): 1233 * 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.003993/2.049, allocations: 0.8623 MB / 0.9044 GB, free: 77.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002373/2.052, allocations: 0.5343 MB / 0.9049 GB, free: 77.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008498/2.06, allocations: 3.176 MB / 0.908 GB, free: 77.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.778e-05/2.06, allocations: 39.38 kB / 0.9081 GB, free: 77.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.171e-05/2.06, allocations: 0 / 0.9081 GB, free: 77.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.49e-05/2.06, allocations: 18.36 kB / 0.9081 GB, free: 77.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03311/2.093, allocations: 13.57 MB / 0.9214 GB, free: 72.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00011/2.094, allocations: 37.31 kB / 0.9214 GB, free: 72.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/2.096, allocations: 0.597 MB / 0.922 GB, free: 72.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.979e-05/2.096, allocations: 50.12 kB / 0.922 GB, free: 72.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003853/2.097, allocations: 96.22 kB / 0.9221 GB, free: 72.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-05/2.097, allocations: 77.36 kB / 0.9222 GB, free: 72.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.436e-05/2.097, allocations: 48.94 kB / 0.9222 GB, free: 72.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/2.107, allocations: 11.95 MB / 0.9339 GB, free: 61.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003753/2.111, allocations: 0.8427 MB / 0.9347 GB, free: 60.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002466/2.113, allocations: 97.31 kB / 0.9348 GB, free: 60.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004593/2.118, allocations: 199.8 kB / 0.935 GB, free: 60.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005754/2.119, allocations: 285.8 kB / 0.9353 GB, free: 60.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003577/2.119, allocations: 132.8 kB / 0.9354 GB, free: 60.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01023/2.129, allocations: 3.631 MB / 0.939 GB, free: 59.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.62e-07/2.129, allocations: 0 / 0.939 GB, free: 59.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01427/2.144, allocations: 1.546 MB / 0.9405 GB, free: 59.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * 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 (301): * Single equations (assignments): 298 * 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.001407/2.145, allocations: 271.8 kB / 0.9407 GB, free: 58.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01268/2.158, allocations: 6.144 MB / 0.9467 GB, free: 56.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-05/2.158, allocations: 7.906 kB / 0.9467 GB, free: 56.85 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002836/2.161, allocations: 1.468 MB / 0.9482 GB, free: 56.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006219/2.167, allocations: 0.7013 MB / 0.9488 GB, free: 56.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/2.204, allocations: 12.8 MB / 0.9614 GB, free: 44.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/2.217, allocations: 5.252 MB / 0.9665 GB, free: 40.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009151/2.226, allocations: 2.756 MB / 0.9692 GB, free: 38.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/2.228, allocations: 406.8 kB / 0.9696 GB, free: 38.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/2.228, allocations: 4 kB / 0.9696 GB, free: 38.57 MB / 490.7 MB Notification: Performance of Templates: time 0.09981/2.327, allocations: 46.38 MB / 1.015 GB, free: 2.691 MB / 490.7 MB 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)