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.132/2.132, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004502, allocations: 12 kB / 314.4 MB, free: 9.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2922, allocations: 54.86 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.446, allocations: 101.2 MB / 470.4 MB, free: 7.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.4463, allocations: 83.95 kB / 470.5 MB, free: 7.371 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8131/1.259, allocations: 144.4 MB / 0.6005 GB, free: 31.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.753e-06/1.259, allocations: 0 / 0.6005 GB, free: 31.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002976/1.26, allocations: 144 kB / 0.6006 GB, free: 31.78 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.02273/1.282, allocations: 6.882 MB / 0.6073 GB, free: 24.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.283, allocations: 8.031 kB / 0.6073 GB, free: 24.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0265/1.309, allocations: 3.613 MB / 0.6109 GB, free: 21.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01996/1.329, allocations: 7.66 MB / 0.6183 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006771/1.33, allocations: 0.5975 MB / 0.6189 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003033/1.333, allocations: 0.7809 MB / 0.6197 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05833/1.391, allocations: 21.78 MB / 0.641 GB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004273/1.392, allocations: 103 kB / 0.6411 GB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003056/1.395, allocations: 379.8 kB / 0.6414 GB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004616/1.399, allocations: 1.937 MB / 0.6433 GB, free: 2.238 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07041/1.47, allocations: 17.61 MB / 0.6605 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4245/1.894, allocations: 79.32 MB / 0.738 GB, free: 36.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02442/1.919, allocations: 6.575 MB / 0.7444 GB, free: 36.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02175/1.941, allocations: 9.754 MB / 0.7539 GB, free: 33.85 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/1.941, allocations: 67.31 kB / 0.754 GB, free: 33.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=284): time 7.279e-06/1.941, allocations: 0 / 0.754 GB, free: 33.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.1015/2.042, allocations: 24.93 MB / 0.7783 GB, free: 28.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/2.042, allocations: 160.4 kB / 0.7785 GB, free: 28.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/2.054, allocations: 5.392 MB / 0.7838 GB, free: 27.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005063/2.055, allocations: 78.78 kB / 0.7838 GB, free: 27.08 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003632/2.059, allocations: 5.03 MB / 0.7887 GB, free: 23.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/2.06, allocations: 1.219 MB / 0.7899 GB, free: 22.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009719/2.061, allocations: 194.4 kB / 0.7901 GB, free: 22.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00089/2.062, allocations: 0.7131 MB / 0.7908 GB, free: 21.63 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007815/2.07, allocations: 2.866 MB / 0.7936 GB, free: 20.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01083/2.081, allocations: 8.578 MB / 0.802 GB, free: 12.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/2.092, allocations: 4.805 MB / 0.8067 GB, free: 10.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001664/2.092, allocations: 58.31 kB / 0.8067 GB, free: 10.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02741/2.119, allocations: 11.02 MB / 0.8175 GB, free: 3.203 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/2.12, allocations: 92 kB / 0.8176 GB, free: 3.113 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002458/2.12, allocations: 204 kB / 0.8178 GB, free: 2.914 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/2.12, allocations: 300 kB / 0.8181 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01069/2.131, allocations: 2.386 MB / 0.8204 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003654/2.131, allocations: 402.4 kB / 0.8208 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/2.142, allocations: 0.6672 MB / 0.8214 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002074/2.145, allocations: 0.5662 MB / 0.822 GB, free: 15.21 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 () * 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.009234/2.154, allocations: 3.37 MB / 0.8253 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/2.155, allocations: 0.536 MB / 0.8258 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/2.166, allocations: 3.384 MB / 0.8291 GB, free: 8.801 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.98e-05/2.166, allocations: 38.89 kB / 0.8291 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/2.166, allocations: 3.844 kB / 0.8291 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.118e-05/2.166, allocations: 16.11 kB / 0.8292 GB, free: 8.766 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03964/2.205, allocations: 13.84 MB / 0.8427 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.96e-05/2.206, allocations: 32 kB / 0.8427 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003424/2.209, allocations: 0.5916 MB / 0.8433 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.411e-05/2.209, allocations: 52 kB / 0.8433 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004269/2.21, allocations: 99.19 kB / 0.8434 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.556e-05/2.21, allocations: 71.11 kB / 0.8435 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.827e-05/2.21, allocations: 51.75 kB / 0.8436 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02188/2.232, allocations: 12.42 MB / 0.8557 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003157/2.235, allocations: 0.8392 MB / 0.8565 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/2.236, allocations: 102 kB / 0.8566 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004304/2.241, allocations: 200.8 kB / 0.8568 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007651/2.241, allocations: 283 kB / 0.8571 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003131/2.242, allocations: 128.6 kB / 0.8572 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01032/2.252, allocations: 3.783 MB / 0.8609 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.361e-06/2.252, allocations: 0 / 0.8609 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01164/2.264, allocations: 1.551 MB / 0.8624 GB, free: 9.91 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.000985/2.265, allocations: 268.8 kB / 0.8627 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01622/2.281, allocations: 6.452 MB / 0.869 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-05/2.281, allocations: 11.28 kB / 0.869 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004037/2.285, allocations: 1.533 MB / 0.8705 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005168/2.29, allocations: 0.7086 MB / 0.8712 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3338/2.624, allocations: 19.29 MB / 0.89 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0121/2.636, allocations: 5.249 MB / 0.8951 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/2.638, allocations: 476.1 kB / 0.8956 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.833e-06/2.638, allocations: 0 / 0.8956 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.1583/2.797, allocations: 86.88 MB / 0.9804 GB, free: 84.68 MB / 0.5105 GB