Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Damper.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadModel(ModelicaTest): time 2.218/2.218, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.578e-05/1.598e-05, allocations: 0 / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2769, allocations: 54.86 MB / 358 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.4322, allocations: 100.4 MB / 458.4 MB, free: 10.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.4325, allocations: 75.97 kB / 458.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7768/1.209, allocations: 141 MB / 0.5855 GB, free: 13.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.87e-06/1.209, allocations: 4 kB / 0.5855 GB, free: 13.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003803/1.21, allocations: 140 kB / 0.5856 GB, free: 12.93 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: 2739 * Number of variables: 2739 Notification: Performance of Generate backend data structure: time 0.02199/1.232, allocations: 6.538 MB / 0.592 GB, free: 6.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.232, allocations: 12.03 kB / 0.592 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02266/1.254, allocations: 3.617 MB / 0.5956 GB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02416/1.279, allocations: 7.621 MB / 0.603 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000576/1.279, allocations: 260 kB / 0.6033 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003501/1.283, allocations: 467.9 kB / 0.6037 GB, free: 10.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02841/1.311, allocations: 11.29 MB / 0.6147 GB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7067/2.018, allocations: 16.51 MB / 0.6308 GB, free: 64.06 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004866/2.019, allocations: 98.75 kB / 0.6309 GB, free: 64.06 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002728/2.021, allocations: 48.44 kB / 0.631 GB, free: 64.06 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004541/2.026, allocations: 1.937 MB / 0.6329 GB, free: 64.04 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09591/2.122, allocations: 77.02 MB / 0.7081 GB, free: 34.6 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005447/2.127, allocations: 3.304 MB / 0.7113 GB, free: 33.92 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003459/2.131, allocations: 1.876 MB / 0.7132 GB, free: 33.87 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/2.132, allocations: 1.779 MB / 0.7149 GB, free: 32.35 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/2.133, allocations: 64.52 kB / 0.7149 GB, free: 32.3 MB / 474.8 MB Notification: Performance of pre-optimization done (n=287): time 8.217e-06/2.133, allocations: 0 / 0.7149 GB, free: 32.3 MB / 474.8 MB Notification: Performance of matching and sorting (n=317): time 0.06072/2.193, allocations: 18.05 MB / 0.7326 GB, free: 26.07 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/2.193, allocations: 158.3 kB / 0.7327 GB, free: 25.91 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009132/2.203, allocations: 4.422 MB / 0.737 GB, free: 24.32 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005229/2.203, allocations: 29.11 kB / 0.7371 GB, free: 24.29 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003411/2.207, allocations: 5.175 MB / 0.7421 GB, free: 20.27 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/2.208, allocations: 1.177 MB / 0.7433 GB, free: 19.4 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008338/2.209, allocations: 0 / 0.7433 GB, free: 19.4 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0008631/2.21, allocations: 0.7317 MB / 0.744 GB, free: 18.91 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005884/2.216, allocations: 2.483 MB / 0.7464 GB, free: 18.04 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009805/2.225, allocations: 8.351 MB / 0.7546 GB, free: 9.23 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009323/2.235, allocations: 4.493 MB / 0.759 GB, free: 7.762 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001936/2.235, allocations: 63.36 kB / 0.759 GB, free: 7.758 MB / 474.8 MB Notification: Performance of matching and sorting (n=1293) (initialization): time 0.02439/2.259, allocations: 9.448 MB / 0.7682 GB, free: 4.473 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001668/2.26, allocations: 99.5 kB / 0.7683 GB, free: 4.473 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002738/2.26, allocations: 208.2 kB / 0.7685 GB, free: 4.473 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003303/2.26, allocations: 311.8 kB / 0.7688 GB, free: 4.473 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/2.271, allocations: 2.442 MB / 0.7712 GB, free: 4.184 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003832/2.271, allocations: 419.6 kB / 0.7716 GB, free: 4.094 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/2.282, allocations: 451.6 kB / 0.7721 GB, free: 4.059 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002241/2.284, allocations: 0.5815 MB / 0.7726 GB, free: 3.668 MB / 474.8 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.002981/2.287, allocations: 0.6428 MB / 0.7732 GB, free: 3.023 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/2.288, allocations: 497.6 kB / 0.7737 GB, free: 2.531 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007726/2.296, allocations: 2.826 MB / 0.7765 GB, free: 104 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.495e-05/2.296, allocations: 32 kB / 0.7765 GB, free: 72 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/2.296, allocations: 0 / 0.7765 GB, free: 72 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.496e-05/2.296, allocations: 13.83 kB / 0.7765 GB, free: 72 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03086/2.327, allocations: 11.54 MB / 0.7878 GB, free: 6.105 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.989e-05/2.327, allocations: 28 kB / 0.7878 GB, free: 6.078 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003275/2.33, allocations: 0.581 MB / 0.7884 GB, free: 5.578 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.357e-05/2.331, allocations: 51.94 kB / 0.7884 GB, free: 5.527 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003802/2.331, allocations: 51.36 kB / 0.7885 GB, free: 5.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.049e-05/2.331, allocations: 70.19 kB / 0.7886 GB, free: 5.418 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.997e-05/2.331, allocations: 50.12 kB / 0.7886 GB, free: 5.371 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/2.344, allocations: 10.12 MB / 0.7985 GB, free: 10.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00275/2.347, allocations: 0.7624 MB / 0.7992 GB, free: 9.773 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/2.348, allocations: 50.98 kB / 0.7993 GB, free: 9.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003957/2.352, allocations: 145.5 kB / 0.7994 GB, free: 9.629 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007526/2.353, allocations: 282.9 kB / 0.7997 GB, free: 9.418 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003347/2.353, allocations: 127.5 kB / 0.7998 GB, free: 9.297 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007378/2.361, allocations: 2.885 MB / 0.8026 GB, free: 6.809 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.152e-06/2.361, allocations: 0 / 0.8026 GB, free: 6.809 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01129/2.372, allocations: 1.308 MB / 0.8039 GB, free: 5.504 MB / 0.4949 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.0009441/2.373, allocations: 215.2 kB / 0.8041 GB, free: 5.293 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01298/2.386, allocations: 5.703 MB / 0.8097 GB, free: 100 kB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-05/2.386, allocations: 8.062 kB / 0.8097 GB, free: 92 kB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.2885/2.675, allocations: 1.375 MB / 0.811 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004244/2.679, allocations: 0.5152 MB / 0.8115 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03139/2.71, allocations: 13.36 MB / 0.8246 GB, free: 110.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/2.722, allocations: 5.236 MB / 0.8297 GB, free: 109.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/2.724, allocations: 452.7 kB / 0.8301 GB, free: 109.2 MB / 0.4949 GB Notification: Performance of SimCode: time 2.043e-06/2.724, allocations: 0 / 0.8301 GB, free: 109.2 MB / 0.4949 GB Notification: Performance of Templates: time 0.1293/2.853, allocations: 82.17 MB / 0.9104 GB, free: 77.25 MB / 0.4949 GB