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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.969/1.969, allocations: 209.3 MB / 224.8 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004327, allocations: 12 kB / 282.5 MB, free: 9.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08642/0.08688, allocations: 48.71 MB / 331.2 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3062/0.3931, allocations: 71.69 MB / 402.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04376/0.4369, allocations: 15.89 MB / 418.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01646/0.4534, allocations: 347.2 kB / 419.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01163/0.4651, allocations: 3.651 MB / 422.8 MB, free: 9.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03482/0.4999, allocations: 10.06 MB / 432.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005436/0.5054, allocations: 1.057 MB / 433.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008913/0.5144, allocations: 3.978 MB / 437.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01647/0.5309, allocations: 8.464 MB / 446.3 MB, free: 1.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004131/0.535, allocations: 1.752 MB / 448.1 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004881/0.54, allocations: 2.543 MB / 450.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001512/0.5415, allocations: 272 kB / 450.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.5446, allocations: 0.831 MB / 451.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004391/0.549, allocations: 2.798 MB / 454.5 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00251/0.5516, allocations: 1.407 MB / 455.9 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.5657, allocations: 9.297 MB / 465.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.711e-06/0.5658, allocations: 0 / 465.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.641e-06/0.5658, allocations: 0 / 465.2 MB, free: 14.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002807/0.5661, allocations: 0 / 465.2 MB, free: 14.64 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.01568/0.5818, allocations: 6.669 MB / 471.9 MB, free: 7.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5819, allocations: 8.031 kB / 471.9 MB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.5984, allocations: 3.262 MB / 475.1 MB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.609, allocations: 4.358 MB / 479.5 MB, free: 192 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006118/0.6097, allocations: 459.4 kB / 480 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002127/0.6118, allocations: 0.5816 MB / 480.5 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.542/1.154, allocations: 21.47 MB / 0.4902 GB, free: 119.4 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003128/1.154, allocations: 73.52 kB / 0.4903 GB, free: 119.3 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001407/1.156, allocations: 285.1 kB / 0.4906 GB, free: 119.2 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007384/1.163, allocations: 3.531 MB / 0.494 GB, free: 118.6 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04894/1.212, allocations: 17.41 MB / 0.511 GB, free: 112.2 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09165/1.304, allocations: 70.17 MB / 0.5796 GB, free: 44.86 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04899/1.353, allocations: 14.48 MB / 0.5937 GB, free: 30.21 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02468/1.378, allocations: 14.36 MB / 0.6077 GB, free: 15.65 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/1.378, allocations: 66.19 kB / 0.6078 GB, free: 15.58 MB / 410.8 MB Notification: Performance of pre-optimization done (n=284): time 7.586e-06/1.378, allocations: 0 / 0.6078 GB, free: 15.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=320): time 0.1567/1.534, allocations: 43.61 MB / 0.6504 GB, free: 3.699 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/1.535, allocations: 162.5 kB / 0.6505 GB, free: 3.508 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2449/1.779, allocations: 6.333 MB / 0.6567 GB, free: 143.8 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005479/1.78, allocations: 72.3 kB / 0.6568 GB, free: 143.8 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003689/1.784, allocations: 5.029 MB / 0.6617 GB, free: 140.7 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00157/1.785, allocations: 1.221 MB / 0.6629 GB, free: 139.8 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007186/1.786, allocations: 195.1 kB / 0.6631 GB, free: 139.6 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0006386/1.787, allocations: 0.7136 MB / 0.6638 GB, free: 139.1 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008066/1.795, allocations: 3.258 MB / 0.667 GB, free: 138.1 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0116/1.806, allocations: 9.039 MB / 0.6758 GB, free: 129.3 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/1.818, allocations: 5.179 MB / 0.6809 GB, free: 127.4 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002835/1.818, allocations: 59 kB / 0.6809 GB, free: 127.4 MB / 442.8 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02853/1.847, allocations: 11.97 MB / 0.6926 GB, free: 122.8 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000202/1.847, allocations: 93.81 kB / 0.6927 GB, free: 122.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000264/1.847, allocations: 201.5 kB / 0.6929 GB, free: 122.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/1.848, allocations: 0.5367 MB / 0.6934 GB, free: 122.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/1.859, allocations: 2.377 MB / 0.6957 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/1.862, allocations: 2.723 MB / 0.6984 GB, free: 120.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009185/1.872, allocations: 0.5351 MB / 0.6989 GB, free: 120.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001601/1.873, allocations: 0.5727 MB / 0.6995 GB, free: 120.5 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * 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 (1239): * Single equations (assignments): 1235 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007204/1.88, allocations: 3.372 MB / 0.7028 GB, free: 118.9 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.882, allocations: 0.5384 MB / 0.7033 GB, free: 118.6 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009417/1.891, allocations: 4.385 MB / 0.7076 GB, free: 115 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/1.891, allocations: 32 kB / 0.7076 GB, free: 115 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.891, allocations: 0 / 0.7076 GB, free: 115 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.458e-05/1.891, allocations: 25.97 kB / 0.7076 GB, free: 115 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03004/1.921, allocations: 13.52 MB / 0.7208 GB, free: 102.1 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/1.921, allocations: 28 kB / 0.7208 GB, free: 102.1 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/1.925, allocations: 0.6246 MB / 0.7215 GB, free: 101.5 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-05/1.925, allocations: 44 kB / 0.7215 GB, free: 101.4 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003697/1.925, allocations: 90.64 kB / 0.7216 GB, free: 101.4 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.737e-05/1.925, allocations: 63.03 kB / 0.7216 GB, free: 101.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.488e-05/1.925, allocations: 43.81 kB / 0.7217 GB, free: 101.3 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.936, allocations: 6.566 MB / 0.7281 GB, free: 94.18 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/1.939, allocations: 0.8648 MB / 0.7289 GB, free: 93.29 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/1.94, allocations: 95.97 kB / 0.729 GB, free: 93.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/1.943, allocations: 163.9 kB / 0.7292 GB, free: 93.04 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006501/1.944, allocations: 272.4 kB / 0.7295 GB, free: 92.77 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/1.944, allocations: 121.1 kB / 0.7296 GB, free: 92.65 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.007636/1.952, allocations: 3.974 MB / 0.7335 GB, free: 88.68 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.402e-06/1.952, allocations: 0 / 0.7335 GB, free: 88.68 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.009845/1.962, allocations: 1.59 MB / 0.735 GB, free: 87.1 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 123 * 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 (305): * Single equations (assignments): 302 * 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.0008881/1.963, allocations: 274.7 kB / 0.7353 GB, free: 86.83 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01421/1.977, allocations: 7.202 MB / 0.7423 GB, free: 79.64 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.229e-05/1.977, allocations: 8.125 kB / 0.7423 GB, free: 79.63 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003429/1.981, allocations: 1.662 MB / 0.7439 GB, free: 77.98 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/1.985, allocations: 0.681 MB / 0.7446 GB, free: 77.3 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03398/2.019, allocations: 19.49 MB / 0.7636 GB, free: 57.4 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009971/2.029, allocations: 5.254 MB / 0.7688 GB, free: 52.11 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/2.031, allocations: 495.3 kB / 0.7692 GB, free: 51.62 MB / 442.8 MB Notification: Performance of SimCode: time 1.643e-06/2.031, allocations: 0 / 0.7692 GB, free: 51.62 MB / 442.8 MB Notification: Performance of Templates: time 0.4068/2.438, allocations: 103.1 MB / 0.8699 GB, free: 88.89 MB / 442.8 MB