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.006906/0.006906, allocations: 175.7 kB / 15.12 MB, free: 5.934 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.529/1.529, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001638/0.001638, allocations: 108.6 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1916/0.1916, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004346/0.0004346, allocations: 18.25 kB / 406.2 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1337, allocations: 54.87 MB / 461 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4962/0.6299, allocations: 101.2 MB / 0.549 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.6302, allocations: 78.45 kB / 0.5491 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3592/0.9895, allocations: 144.4 MB / 0.6901 GB, free: 15.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.9895, allocations: 0 / 0.6901 GB, free: 15.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004012/0.99, allocations: 151.9 kB / 0.6902 GB, free: 15.62 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.03217/1.022, allocations: 6.874 MB / 0.6969 GB, free: 8.664 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.022, allocations: 8.031 kB / 0.6969 GB, free: 8.656 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02013/1.042, allocations: 3.613 MB / 0.7005 GB, free: 5.027 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02352/1.066, allocations: 7.659 MB / 0.708 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009692/1.067, allocations: 0.5975 MB / 0.7085 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005325/1.072, allocations: 0.7846 MB / 0.7093 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.366/1.438, allocations: 21.78 MB / 0.7306 GB, free: 79.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007901/1.439, allocations: 96.38 kB / 0.7307 GB, free: 79.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004705/1.444, allocations: 379.1 kB / 0.731 GB, free: 79.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004591/1.448, allocations: 1.94 MB / 0.7329 GB, free: 79.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04174/1.49, allocations: 17.62 MB / 0.7501 GB, free: 79.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09384/1.584, allocations: 79.32 MB / 0.8276 GB, free: 46.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01666/1.601, allocations: 6.58 MB / 0.834 GB, free: 44.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01809/1.619, allocations: 9.739 MB / 0.8435 GB, free: 39.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/1.619, allocations: 62.44 kB / 0.8436 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=284): time 6.822e-06/1.619, allocations: 3.312 kB / 0.8436 GB, free: 39.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=320): time 0.06705/1.686, allocations: 24.94 MB / 0.8679 GB, free: 31.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/1.686, allocations: 155.9 kB / 0.8681 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008977/1.695, allocations: 5.408 MB / 0.8734 GB, free: 27.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007319/1.696, allocations: 73.7 kB / 0.8734 GB, free: 27.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002863/1.699, allocations: 5.176 MB / 0.8785 GB, free: 22.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/1.7, allocations: 1.209 MB / 0.8797 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/1.701, allocations: 203.8 kB / 0.8799 GB, free: 21.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004463/1.701, allocations: 0.7069 MB / 0.8806 GB, free: 21.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004512/1.706, allocations: 2.864 MB / 0.8834 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007633/1.713, allocations: 8.589 MB / 0.8918 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009318/1.723, allocations: 4.799 MB / 0.8964 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001662/1.723, allocations: 60 kB / 0.8965 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02907/1.752, allocations: 11.22 MB / 0.9075 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004349/1.752, allocations: 92.97 kB / 0.9075 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006162/1.753, allocations: 204 kB / 0.9077 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005672/1.753, allocations: 300 kB / 0.908 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/1.764, allocations: 2.383 MB / 0.9103 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006405/1.764, allocations: 403.2 kB / 0.9107 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009825/1.774, allocations: 0.6318 MB / 0.9114 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00273/1.777, allocations: 0.5582 MB / 0.9119 GB, free: 5.691 MB / 0.5105 GB 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 () * Number of clocked 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.01104/1.788, allocations: 3.367 MB / 0.9152 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001891/1.79, allocations: 0.5406 MB / 0.9157 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2991/2.089, allocations: 3.619 MB / 0.9192 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.966e-05/2.089, allocations: 37 kB / 0.9193 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/2.089, allocations: 0 / 0.9193 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.657e-05/2.089, allocations: 18.12 kB / 0.9193 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03261/2.122, allocations: 13.69 MB / 0.9327 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.776e-05/2.122, allocations: 35.81 kB / 0.9327 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/2.125, allocations: 0.5943 MB / 0.9333 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.7e-05/2.125, allocations: 54.94 kB / 0.9333 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/2.125, allocations: 100.4 kB / 0.9334 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.413e-05/2.125, allocations: 66.67 kB / 0.9335 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.526e-05/2.125, allocations: 52.88 kB / 0.9335 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009055/2.134, allocations: 12.14 MB / 0.9454 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003162/2.137, allocations: 0.8401 MB / 0.9462 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/2.139, allocations: 100.9 kB / 0.9463 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00301/2.142, allocations: 191.3 kB / 0.9465 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004189/2.142, allocations: 296.9 kB / 0.9468 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/2.142, allocations: 126.6 kB / 0.9469 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00885/2.151, allocations: 3.78 MB / 0.9506 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/2.151, allocations: 0 / 0.9506 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01138/2.163, allocations: 1.549 MB / 0.9521 GB, free: 93.38 MB / 0.5105 GB 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 () * Number of clocked 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.001103/2.164, allocations: 274.6 kB / 0.9524 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01259/2.176, allocations: 6.443 MB / 0.9587 GB, free: 93.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.233e-05/2.176, allocations: 9.891 kB / 0.9587 GB, free: 93.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002875/2.179, allocations: 1.526 MB / 0.9602 GB, free: 93.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/2.184, allocations: 0.7086 MB / 0.9608 GB, free: 93.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03717/2.221, allocations: 18.51 MB / 0.9789 GB, free: 84.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01091/2.232, allocations: 5.255 MB / 0.9841 GB, free: 83.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008639/2.241, allocations: 2.75 MB / 0.9867 GB, free: 83.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/2.242, allocations: 402.3 kB / 0.9871 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/2.242, allocations: 0 / 0.9871 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.09875/2.341, allocations: 46.37 MB / 1.032 GB, free: 76.18 MB / 0.5105 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)