Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.Damper.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadModel(ModelicaTest): time 2.041/2.041, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004562, allocations: 8 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3914, allocations: 48.71 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.5686, allocations: 94.47 MB / 426.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.569, allocations: 79.97 kB / 426.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8713/1.44, allocations: 145.5 MB / 0.5585 GB, free: 37.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.44, allocations: 0 / 0.5585 GB, free: 37.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003815/1.441, allocations: 148 kB / 0.5586 GB, free: 37.74 MB / 394.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.02615/1.467, allocations: 6.874 MB / 0.5653 GB, free: 30.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.467, allocations: 8.031 kB / 0.5653 GB, free: 30.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02872/1.496, allocations: 3.629 MB / 0.5689 GB, free: 27.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02582/1.522, allocations: 7.649 MB / 0.5764 GB, free: 19.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008522/1.523, allocations: 0.5936 MB / 0.5769 GB, free: 18.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004816/1.527, allocations: 0.7809 MB / 0.5777 GB, free: 18.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07886/1.606, allocations: 21.84 MB / 0.599 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006343/1.607, allocations: 99.14 kB / 0.5991 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00479/1.612, allocations: 383.8 kB / 0.5995 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00648/1.618, allocations: 1.937 MB / 0.6014 GB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.073/1.691, allocations: 17.61 MB / 0.6186 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7715/2.463, allocations: 79.33 MB / 0.696 GB, free: 23.33 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0424/2.505, allocations: 6.561 MB / 0.7025 GB, free: 22.63 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03038/2.536, allocations: 9.755 MB / 0.712 GB, free: 19.89 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/2.536, allocations: 62.48 kB / 0.712 GB, free: 19.84 MB / 426.8 MB Notification: Performance of pre-optimization done (n=284): time 7.444e-06/2.536, allocations: 0 / 0.712 GB, free: 19.84 MB / 426.8 MB Notification: Performance of matching and sorting (n=320): time 0.1292/2.665, allocations: 24.5 MB / 0.736 GB, free: 11.59 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/2.665, allocations: 161.6 kB / 0.7361 GB, free: 11.42 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01518/2.68, allocations: 6.058 MB / 0.742 GB, free: 9.32 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007164/2.681, allocations: 75.77 kB / 0.7421 GB, free: 9.25 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004277/2.686, allocations: 5.024 MB / 0.747 GB, free: 5.32 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002061/2.688, allocations: 1.223 MB / 0.7482 GB, free: 4.43 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/2.689, allocations: 191.9 kB / 0.7484 GB, free: 4.281 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0007763/2.69, allocations: 0.7153 MB / 0.7491 GB, free: 3.793 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01029/2.7, allocations: 2.867 MB / 0.7519 GB, free: 2.93 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01534/2.715, allocations: 8.62 MB / 0.7603 GB, free: 9.363 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/2.731, allocations: 4.804 MB / 0.765 GB, free: 5.273 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002944/2.731, allocations: 63.84 kB / 0.7651 GB, free: 5.215 MB / 442.8 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.03869/2.77, allocations: 11.05 MB / 0.7758 GB, free: 11.76 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/2.77, allocations: 92 kB / 0.7759 GB, free: 11.67 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004633/2.77, allocations: 200 kB / 0.7761 GB, free: 11.47 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/2.771, allocations: 300 kB / 0.7764 GB, free: 11.18 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01612/2.787, allocations: 2.386 MB / 0.7787 GB, free: 9.105 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000552/2.788, allocations: 405.3 kB / 0.7791 GB, free: 8.754 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/2.8, allocations: 0.6199 MB / 0.7797 GB, free: 8.223 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002576/2.802, allocations: 0.5683 MB / 0.7803 GB, free: 7.664 MB / 458.8 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.01114/2.814, allocations: 3.368 MB / 0.7836 GB, free: 4.699 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/2.815, allocations: 0.536 MB / 0.7841 GB, free: 4.156 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/2.828, allocations: 3.379 MB / 0.7874 GB, free: 1.258 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-05/2.828, allocations: 39.75 kB / 0.7874 GB, free: 1.223 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/2.828, allocations: 7.375 kB / 0.7874 GB, free: 1.219 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-05/2.828, allocations: 18.25 kB / 0.7875 GB, free: 1.215 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04428/2.872, allocations: 13.69 MB / 0.8008 GB, free: 5.266 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.401e-05/2.872, allocations: 32 kB / 0.8009 GB, free: 5.234 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004838/2.877, allocations: 0.6009 MB / 0.8015 GB, free: 4.637 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-05/2.877, allocations: 52 kB / 0.8015 GB, free: 4.586 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000507/2.878, allocations: 95.98 kB / 0.8016 GB, free: 4.492 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.237e-05/2.878, allocations: 71.72 kB / 0.8017 GB, free: 4.422 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-05/2.878, allocations: 47.81 kB / 0.8017 GB, free: 4.375 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3601/3.238, allocations: 6.182 MB / 0.8077 GB, free: 113.2 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003389/3.242, allocations: 0.8356 MB / 0.8086 GB, free: 113.1 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002047/3.244, allocations: 95.41 kB / 0.8087 GB, free: 113.1 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005601/3.249, allocations: 205.4 kB / 0.8088 GB, free: 113.1 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009183/3.25, allocations: 283 kB / 0.8091 GB, free: 113.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003416/3.251, allocations: 127.4 kB / 0.8092 GB, free: 113.1 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01253/3.263, allocations: 3.784 MB / 0.8129 GB, free: 112.8 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.352e-06/3.263, allocations: 0 / 0.8129 GB, free: 112.8 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01194/3.275, allocations: 1.555 MB / 0.8145 GB, free: 112.8 MB / 474.8 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 () * 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.001201/3.277, allocations: 266.6 kB / 0.8147 GB, free: 112.8 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01997/3.297, allocations: 6.451 MB / 0.821 GB, free: 112.7 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.319e-05/3.297, allocations: 3.719 kB / 0.821 GB, free: 112.7 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004549/3.301, allocations: 1.529 MB / 0.8225 GB, free: 112.7 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006651/3.308, allocations: 0.7058 MB / 0.8232 GB, free: 112.7 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05604/3.364, allocations: 19.37 MB / 0.8421 GB, free: 104.3 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01699/3.381, allocations: 5.255 MB / 0.8472 GB, free: 103.5 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003247/3.384, allocations: 471.1 kB / 0.8477 GB, free: 103.4 MB / 474.8 MB Notification: Performance of SimCode: time 2.825e-06/3.384, allocations: 0 / 0.8477 GB, free: 103.4 MB / 474.8 MB Notification: Performance of Templates: time 0.2121/3.596, allocations: 86.87 MB / 0.9325 GB, free: 51.05 MB / 474.8 MB