Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.383/2.383, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004468, allocations: 16 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3459, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.5303, allocations: 101.2 MB / 471 MB, free: 5.453 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.5307, allocations: 83.95 kB / 471 MB, free: 5.371 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9316/1.462, allocations: 145.5 MB / 0.6021 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.186e-06/1.462, allocations: 0 / 0.6021 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004634/1.463, allocations: 151.9 kB / 0.6023 GB, free: 356 kB / 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.02948/1.492, allocations: 6.874 MB / 0.609 GB, free: 9.387 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.492, allocations: 8.031 kB / 0.609 GB, free: 9.379 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03039/1.523, allocations: 3.617 MB / 0.6125 GB, free: 5.746 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02899/1.552, allocations: 7.659 MB / 0.62 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/1.553, allocations: 0.5975 MB / 0.6206 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004749/1.558, allocations: 0.777 MB / 0.6213 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4665/2.024, allocations: 21.84 MB / 0.6427 GB, free: 62.72 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005959/2.025, allocations: 97.31 kB / 0.6428 GB, free: 62.72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00415/2.029, allocations: 381.1 kB / 0.6431 GB, free: 62.72 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005505/2.035, allocations: 1.941 MB / 0.645 GB, free: 62.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06505/2.1, allocations: 17.62 MB / 0.6622 GB, free: 62.65 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1223/2.222, allocations: 79.32 MB / 0.7397 GB, free: 27.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03084/2.253, allocations: 6.578 MB / 0.7461 GB, free: 25.78 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02718/2.28, allocations: 9.742 MB / 0.7556 GB, free: 21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/2.28, allocations: 65.59 kB / 0.7557 GB, free: 20.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=284): time 7.023e-06/2.28, allocations: 2.938 kB / 0.7557 GB, free: 20.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.1293/2.41, allocations: 24.51 MB / 0.7796 GB, free: 7.066 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/2.41, allocations: 166 kB / 0.7798 GB, free: 6.875 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01751/2.427, allocations: 6.048 MB / 0.7857 GB, free: 1.824 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007142/2.428, allocations: 77.7 kB / 0.7858 GB, free: 1.742 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005707/2.434, allocations: 5.023 MB / 0.7907 GB, free: 13.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002311/2.436, allocations: 1.22 MB / 0.7919 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001409/2.438, allocations: 192 kB / 0.792 GB, free: 11.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001016/2.439, allocations: 0.7153 MB / 0.7927 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01073/2.45, allocations: 2.863 MB / 0.7955 GB, free: 9.008 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01712/2.467, allocations: 8.622 MB / 0.8039 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/2.482, allocations: 4.808 MB / 0.8086 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002357/2.482, allocations: 63.84 kB / 0.8087 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.03599/2.518, allocations: 11.01 MB / 0.8195 GB, free: 88 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.3535/2.872, allocations: 90.02 kB / 0.8195 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006827/2.872, allocations: 205.6 kB / 0.8197 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/2.873, allocations: 299.1 kB / 0.82 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01642/2.889, allocations: 2.379 MB / 0.8223 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005663/2.89, allocations: 402.6 kB / 0.8227 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01195/2.902, allocations: 0.6214 MB / 0.8233 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002432/2.904, allocations: 0.5641 MB / 0.8239 GB, free: 103.5 MB / 0.4948 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.009802/2.914, allocations: 3.376 MB / 0.8272 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/2.916, allocations: 0.5418 MB / 0.8277 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/2.928, allocations: 3.384 MB / 0.831 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.848e-05/2.928, allocations: 32.48 kB / 0.8311 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/2.928, allocations: 10.08 kB / 0.8311 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.204e-05/2.928, allocations: 13.73 kB / 0.8311 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03937/2.967, allocations: 13.7 MB / 0.8445 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.823e-05/2.967, allocations: 29.44 kB / 0.8445 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004577/2.972, allocations: 0.5899 MB / 0.8451 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.856e-05/2.972, allocations: 61.02 kB / 0.8451 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004958/2.973, allocations: 98.02 kB / 0.8452 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-05/2.973, allocations: 65.22 kB / 0.8453 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.354e-05/2.973, allocations: 52.38 kB / 0.8453 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/2.987, allocations: 6.177 MB / 0.8514 GB, free: 99.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003274/2.99, allocations: 0.8407 MB / 0.8522 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001881/2.992, allocations: 103 kB / 0.8523 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005365/2.997, allocations: 204.8 kB / 0.8525 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008906/2.998, allocations: 282.8 kB / 0.8527 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003447/2.999, allocations: 131.5 kB / 0.8529 GB, free: 99.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01131/3.01, allocations: 3.777 MB / 0.8566 GB, free: 99.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.12e-07/3.01, allocations: 0 / 0.8566 GB, free: 99.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01174/3.022, allocations: 1.549 MB / 0.8581 GB, free: 99.04 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 () * 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.001231/3.023, allocations: 282.8 kB / 0.8583 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01852/3.042, allocations: 6.443 MB / 0.8646 GB, free: 98.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.481e-05/3.042, allocations: 3.938 kB / 0.8646 GB, free: 98.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004471/3.046, allocations: 1.531 MB / 0.8661 GB, free: 98.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006451/3.053, allocations: 0.7031 MB / 0.8668 GB, free: 98.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0491/3.102, allocations: 19.37 MB / 0.8857 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01403/3.116, allocations: 5.246 MB / 0.8908 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/3.119, allocations: 482.8 kB / 0.8913 GB, free: 88.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.552e-06/3.119, allocations: 0 / 0.8913 GB, free: 88.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.1828/3.301, allocations: 86.87 MB / 0.9761 GB, free: 24.26 MB / 0.4948 GB