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.238/2.238, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007979/0.0007982, allocations: 16 kB / 314.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3146, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.1016/0.4163, allocations: 71.71 MB / 440.9 MB, free: 2.809 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04236/0.4587, allocations: 15.92 MB / 456.8 MB, free: 2.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01475/0.4735, allocations: 351.2 kB / 457.2 MB, free: 2.496 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01148/0.485, allocations: 3.64 MB / 460.8 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03406/0.5191, allocations: 10.05 MB / 470.9 MB, free: 4.762 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005223/0.5244, allocations: 1.053 MB / 471.9 MB, free: 3.707 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.295/0.8194, allocations: 3.976 MB / 475.9 MB, free: 4.758 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01552/0.835, allocations: 8.452 MB / 484.3 MB, free: 4.129 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003708/0.8387, allocations: 1.749 MB / 486.1 MB, free: 4.129 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004676/0.8434, allocations: 2.546 MB / 488.6 MB, free: 4.121 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.8452, allocations: 277.6 kB / 488.9 MB, free: 4.117 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.8484, allocations: 0.8319 MB / 489.7 MB, free: 4.117 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003963/0.8524, allocations: 2.793 MB / 492.5 MB, free: 4.117 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002611/0.855, allocations: 1.409 MB / 493.9 MB, free: 4.086 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.8667, allocations: 9.294 MB / 0.4914 GB, free: 1.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.749e-06/0.8667, allocations: 1.859 kB / 0.4914 GB, free: 1.973 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.713e-06/0.8667, allocations: 7 kB / 0.4914 GB, free: 1.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003432/0.8671, allocations: 0 / 0.4914 GB, free: 1.969 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.01533/0.8824, allocations: 6.651 MB / 0.4979 GB, free: 14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.8825, allocations: 9.438 kB / 0.4979 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01621/0.8987, allocations: 3.264 MB / 0.5011 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.9091, allocations: 4.368 MB / 0.5054 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005021/0.9097, allocations: 456 kB / 0.5058 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002234/0.9119, allocations: 0.5808 MB / 0.5064 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.057/0.969, allocations: 21.48 MB / 0.5274 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000335/0.9693, allocations: 67.67 kB / 0.5274 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002047/0.9714, allocations: 285.4 kB / 0.5277 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007631/0.9791, allocations: 3.528 MB / 0.5312 GB, free: 9.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05262/1.032, allocations: 17.43 MB / 0.5482 GB, free: 12.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1174/1.149, allocations: 70.15 MB / 0.6167 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05531/1.205, allocations: 14.48 MB / 0.6308 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03197/1.237, allocations: 14.36 MB / 0.6448 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.106e-05/1.237, allocations: 67.66 kB / 0.6449 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 7.44e-06/1.237, allocations: 0 / 0.6449 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of matching and sorting (n=320): time 0.4334/1.67, allocations: 43.62 MB / 0.6875 GB, free: 209.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/1.67, allocations: 167.1 kB / 0.6877 GB, free: 209.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/1.683, allocations: 6.332 MB / 0.6939 GB, free: 207 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006284/1.683, allocations: 73.48 kB / 0.6939 GB, free: 206.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003468/1.687, allocations: 5.032 MB / 0.6988 GB, free: 203 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001512/1.688, allocations: 1.218 MB / 0.7 GB, free: 202.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008929/1.689, allocations: 199.7 kB / 0.7002 GB, free: 202 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006585/1.69, allocations: 0.7192 MB / 0.7009 GB, free: 201.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007811/1.698, allocations: 3.247 MB / 0.7041 GB, free: 200 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/1.708, allocations: 9.043 MB / 0.7129 GB, free: 189 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/1.718, allocations: 5.172 MB / 0.718 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001602/1.718, allocations: 60 kB / 0.718 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02687/1.745, allocations: 11.97 MB / 0.7297 GB, free: 172.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/1.746, allocations: 93.72 kB / 0.7298 GB, free: 172.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002207/1.746, allocations: 204 kB / 0.73 GB, free: 171.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/1.747, allocations: 0.5323 MB / 0.7305 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009532/1.756, allocations: 2.382 MB / 0.7328 GB, free: 169 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/1.76, allocations: 2.714 MB / 0.7355 GB, free: 166.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008911/1.769, allocations: 0.545 MB / 0.736 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001585/1.77, allocations: 0.5719 MB / 0.7366 GB, free: 165 MB / 0.5261 GB 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.007571/1.778, allocations: 3.374 MB / 0.7399 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.779, allocations: 0.5399 MB / 0.7404 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009539/1.788, allocations: 4.381 MB / 0.7447 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-05/1.789, allocations: 36 kB / 0.7447 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.789, allocations: 0 / 0.7447 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-05/1.789, allocations: 15.94 kB / 0.7447 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03036/1.819, allocations: 13.52 MB / 0.7579 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.652e-05/1.819, allocations: 31.95 kB / 0.758 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/1.822, allocations: 0.6201 MB / 0.7586 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.144e-05/1.822, allocations: 48.09 kB / 0.7586 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003682/1.823, allocations: 93.23 kB / 0.7587 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.26e-05/1.823, allocations: 61.09 kB / 0.7588 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.541e-05/1.823, allocations: 47.75 kB / 0.7588 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/1.834, allocations: 6.55 MB / 0.7652 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002629/1.836, allocations: 0.8803 MB / 0.7661 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.838, allocations: 83.98 kB / 0.7662 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003661/1.841, allocations: 167.9 kB / 0.7663 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006554/1.842, allocations: 270.1 kB / 0.7666 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002714/1.842, allocations: 120 kB / 0.7667 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008059/1.85, allocations: 3.978 MB / 0.7706 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.204e-06/1.85, allocations: 0 / 0.7706 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009942/1.86, allocations: 1.589 MB / 0.7721 GB, free: 127.6 MB / 0.5261 GB 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.0009088/1.861, allocations: 271.6 kB / 0.7724 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01438/1.876, allocations: 7.197 MB / 0.7794 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.038e-05/1.876, allocations: 7.938 kB / 0.7794 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003514/1.879, allocations: 1.661 MB / 0.781 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00435/1.884, allocations: 0.6848 MB / 0.7817 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/1.918, allocations: 19.48 MB / 0.8007 GB, free: 97.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01013/1.929, allocations: 5.26 MB / 0.8059 GB, free: 92.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/1.931, allocations: 487.4 kB / 0.8063 GB, free: 92.14 MB / 0.5261 GB Notification: Performance of SimCode: time 2.796e-06/1.931, allocations: 0 / 0.8063 GB, free: 92.14 MB / 0.5261 GB Notification: Performance of Templates: time 0.4802/2.411, allocations: 103.1 MB / 0.907 GB, free: 182.4 MB / 0.5261 GB