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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.34/2.34, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.802e-05, allocations: 0 / 309.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3199, allocations: 54.86 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.4746, allocations: 101.1 MB / 465.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4749, allocations: 77.2 kB / 465.7 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.85/1.325, allocations: 144.5 MB / 0.5959 GB, free: 96.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.598e-06/1.325, allocations: 0 / 0.5959 GB, free: 96.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000317/1.325, allocations: 144.4 kB / 0.5961 GB, free: 96.02 MB / 458.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.01928/1.345, allocations: 6.543 MB / 0.6024 GB, free: 90.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.345, allocations: 8.031 kB / 0.6025 GB, free: 90.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02035/1.365, allocations: 3.626 MB / 0.606 GB, free: 87.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02023/1.385, allocations: 7.628 MB / 0.6134 GB, free: 79.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007288/1.386, allocations: 0.59 MB / 0.614 GB, free: 78.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003513/1.39, allocations: 0.7847 MB / 0.6148 GB, free: 78.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05448/1.444, allocations: 21.53 MB / 0.6358 GB, free: 54.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003585/1.445, allocations: 95.16 kB / 0.6359 GB, free: 54.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002581/1.447, allocations: 379.8 kB / 0.6363 GB, free: 54.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003889/1.451, allocations: 1.933 MB / 0.6382 GB, free: 52.51 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04515/1.496, allocations: 17.18 MB / 0.6549 GB, free: 35.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4193/1.916, allocations: 79.31 MB / 0.7324 GB, free: 48.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02281/1.938, allocations: 6.497 MB / 0.7387 GB, free: 48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004246/1.943, allocations: 2.052 MB / 0.7407 GB, free: 47.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02165/1.964, allocations: 9.738 MB / 0.7502 GB, free: 45.63 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/1.965, allocations: 64.55 kB / 0.7503 GB, free: 45.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=284): time 7.452e-06/1.965, allocations: 0 / 0.7503 GB, free: 45.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.09056/2.055, allocations: 22.62 MB / 0.7724 GB, free: 40.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/2.055, allocations: 166.4 kB / 0.7726 GB, free: 40.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01216/2.067, allocations: 5.25 MB / 0.7777 GB, free: 40.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005199/2.068, allocations: 73.67 kB / 0.7778 GB, free: 40 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003584/2.072, allocations: 5.025 MB / 0.7827 GB, free: 36.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001424/2.073, allocations: 1.219 MB / 0.7839 GB, free: 35.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008571/2.074, allocations: 194.1 kB / 0.784 GB, free: 35.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006302/2.075, allocations: 0.7162 MB / 0.7847 GB, free: 35.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006051/2.081, allocations: 2.63 MB / 0.7873 GB, free: 34.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009233/2.09, allocations: 8.345 MB / 0.7955 GB, free: 25.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009133/2.099, allocations: 4.634 MB / 0.8 GB, free: 24.37 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000171/2.099, allocations: 59.25 kB / 0.8 GB, free: 24.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02464/2.124, allocations: 10.54 MB / 0.8103 GB, free: 20.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/2.124, allocations: 95.12 kB / 0.8104 GB, free: 20.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002396/2.124, allocations: 200 kB / 0.8106 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/2.125, allocations: 303.8 kB / 0.8109 GB, free: 19.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/2.135, allocations: 2.387 MB / 0.8132 GB, free: 17.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003563/2.135, allocations: 404.6 kB / 0.8136 GB, free: 17.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/2.146, allocations: 0.6173 MB / 0.8142 GB, free: 16.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001823/2.147, allocations: 0.5638 MB / 0.8148 GB, free: 16.12 MB / 474.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.002303/2.15, allocations: 0.8625 MB / 0.8156 GB, free: 15.26 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/2.151, allocations: 0.5399 MB / 0.8161 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007303/2.158, allocations: 3.18 MB / 0.8192 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.31e-05/2.158, allocations: 39.36 kB / 0.8193 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/2.158, allocations: 4 kB / 0.8193 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.351e-05/2.158, allocations: 15.84 kB / 0.8193 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0318/2.19, allocations: 13.58 MB / 0.8326 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.296e-05/2.19, allocations: 32 kB / 0.8326 GB, free: 156 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00354/2.194, allocations: 0.5974 MB / 0.8332 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.594e-05/2.194, allocations: 52.25 kB / 0.8332 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004656/2.195, allocations: 107.8 kB / 0.8333 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.296e-05/2.195, allocations: 73.69 kB / 0.8334 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-05/2.195, allocations: 47.81 kB / 0.8334 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/2.21, allocations: 11.95 MB / 0.8451 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003126/2.213, allocations: 0.8353 MB / 0.8459 GB, free: 1.344 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001495/2.214, allocations: 95.41 kB / 0.846 GB, free: 1.258 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004396/2.219, allocations: 197.2 kB / 0.8462 GB, free: 1.105 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000753/2.22, allocations: 296.7 kB / 0.8465 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003232/2.22, allocations: 135.1 kB / 0.8466 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.02195/2.242, allocations: 4.324 MB / 0.8508 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.094e-06/2.242, allocations: 0 / 0.8508 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01169/2.254, allocations: 1.552 MB / 0.8524 GB, free: 13.66 MB / 0.4948 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 () * 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.0009973/2.255, allocations: 262.4 kB / 0.8526 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01469/2.269, allocations: 6.151 MB / 0.8586 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.314e-05/2.27, allocations: 4 kB / 0.8586 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003565/2.273, allocations: 1.476 MB / 0.8601 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005565/2.279, allocations: 0.7049 MB / 0.8608 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03969/2.318, allocations: 13.61 MB / 0.874 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0144/2.333, allocations: 5.247 MB / 0.8792 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/2.335, allocations: 479.4 kB / 0.8796 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.841e-06/2.335, allocations: 0 / 0.8796 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.4541/2.789, allocations: 86.86 MB / 0.9644 GB, free: 149 MB / 0.5417 GB