Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.965/1.965, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.893e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2681, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.411, allocations: 93.71 MB / 413.7 MB, free: 2.695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.4113, allocations: 75.95 kB / 413.8 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7568/1.168, allocations: 141 MB / 0.5418 GB, free: 17.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.558e-06/1.168, allocations: 0 / 0.5418 GB, free: 17.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003202/1.169, allocations: 144 kB / 0.542 GB, free: 17.79 MB / 378.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.01863/1.187, allocations: 6.545 MB / 0.5484 GB, free: 11.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.187, allocations: 8.031 kB / 0.5484 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02034/1.208, allocations: 3.625 MB / 0.5519 GB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02006/1.228, allocations: 7.613 MB / 0.5593 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005608/1.228, allocations: 264 kB / 0.5596 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003293/1.232, allocations: 467.9 kB / 0.56 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02805/1.26, allocations: 11.29 MB / 0.5711 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04247/1.302, allocations: 16.52 MB / 0.5872 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004253/1.303, allocations: 99.02 kB / 0.5873 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002788/1.306, allocations: 48 kB / 0.5873 GB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2584/1.564, allocations: 1.93 MB / 0.5892 GB, free: 65.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0973/1.661, allocations: 77.01 MB / 0.6644 GB, free: 20.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005506/1.667, allocations: 3.315 MB / 0.6677 GB, free: 19.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003591/1.67, allocations: 1.882 MB / 0.6695 GB, free: 18.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001671/1.672, allocations: 1.77 MB / 0.6712 GB, free: 16.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.567e-05/1.672, allocations: 67.38 kB / 0.6713 GB, free: 16.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 8.738e-06/1.672, allocations: 0 / 0.6713 GB, free: 16.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=317): time 0.06242/1.735, allocations: 18.04 MB / 0.6889 GB, free: 9.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/1.735, allocations: 163 kB / 0.6891 GB, free: 9.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008373/1.743, allocations: 4.429 MB / 0.6934 GB, free: 8.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005053/1.744, allocations: 25.7 kB / 0.6934 GB, free: 8.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003377/1.747, allocations: 5.171 MB / 0.6985 GB, free: 4.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001384/1.749, allocations: 1.173 MB / 0.6996 GB, free: 3.152 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007785/1.749, allocations: 0 / 0.6996 GB, free: 3.152 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006524/1.75, allocations: 0.723 MB / 0.7003 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005583/1.756, allocations: 2.486 MB / 0.7027 GB, free: 1.789 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01973/1.775, allocations: 8.356 MB / 0.7109 GB, free: 8.984 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01964/1.795, allocations: 4.496 MB / 0.7153 GB, free: 7.004 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004589/1.796, allocations: 60 kB / 0.7154 GB, free: 6.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=1293) (initialization): time 0.04941/1.845, allocations: 9.449 MB / 0.7246 GB, free: 14.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001796/1.845, allocations: 92 kB / 0.7247 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003247/1.846, allocations: 212 kB / 0.7249 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004454/1.846, allocations: 308 kB / 0.7252 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/1.857, allocations: 2.446 MB / 0.7276 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004463/1.857, allocations: 423.8 kB / 0.728 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009526/1.867, allocations: 453.5 kB / 0.7284 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002114/1.869, allocations: 0.5847 MB / 0.729 GB, free: 10.58 MB / 442.7 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.002345/1.871, allocations: 0.6342 MB / 0.7296 GB, free: 9.941 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.873, allocations: 493.6 kB / 0.7301 GB, free: 9.453 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007368/1.88, allocations: 2.829 MB / 0.7328 GB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.384e-05/1.88, allocations: 34.86 kB / 0.7328 GB, free: 6.988 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/1.88, allocations: 0 / 0.7328 GB, free: 6.988 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-05/1.88, allocations: 17.42 kB / 0.7329 GB, free: 6.988 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02983/1.91, allocations: 11.54 MB / 0.7441 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.597e-05/1.91, allocations: 28 kB / 0.7442 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003099/1.913, allocations: 0.5881 MB / 0.7447 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.137e-05/1.913, allocations: 48 kB / 0.7448 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003428/1.914, allocations: 51.8 kB / 0.7448 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.026e-05/1.914, allocations: 64.44 kB / 0.7449 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.892e-05/1.914, allocations: 51.14 kB / 0.7449 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/1.927, allocations: 10.12 MB / 0.7548 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002733/1.93, allocations: 0.7661 MB / 0.7556 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.931, allocations: 57.61 kB / 0.7556 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003691/1.935, allocations: 150.8 kB / 0.7558 GB, free: 0.5352 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007068/1.936, allocations: 276.4 kB / 0.756 GB, free: 336 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003126/1.936, allocations: 127.2 kB / 0.7562 GB, free: 216 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.2861/2.222, allocations: 3.541 MB / 0.7596 GB, free: 102.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.724e-06/2.222, allocations: 0 / 0.7596 GB, free: 102.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01193/2.234, allocations: 1.309 MB / 0.7609 GB, free: 102.7 MB / 458.7 MB 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.0009153/2.235, allocations: 212.2 kB / 0.7611 GB, free: 102.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01206/2.247, allocations: 5.71 MB / 0.7667 GB, free: 102.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.341e-05/2.247, allocations: 3.875 kB / 0.7667 GB, free: 102.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002857/2.25, allocations: 1.38 MB / 0.768 GB, free: 102.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004529/2.255, allocations: 0.5224 MB / 0.7685 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03478/2.289, allocations: 13.36 MB / 0.7816 GB, free: 99.01 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0126/2.302, allocations: 5.236 MB / 0.7867 GB, free: 98.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001939/2.304, allocations: 446.9 kB / 0.7871 GB, free: 98.12 MB / 458.7 MB Notification: Performance of SimCode: time 2.418e-06/2.304, allocations: 0 / 0.7871 GB, free: 98.12 MB / 458.7 MB Notification: Performance of Templates: time 0.1304/2.434, allocations: 82.17 MB / 0.8674 GB, free: 55.02 MB / 458.7 MB