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 2.016/2.016, allocations: 209.3 MB / 224.9 MB, free: 424 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004573, allocations: 19.98 kB / 282.6 MB, free: 9.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2851, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.4272, allocations: 94.46 MB / 425.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4275, allocations: 83.94 kB / 425.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7719/1.199, allocations: 144.4 MB / 0.5568 GB, free: 39.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.656e-06/1.199, allocations: 4 kB / 0.5568 GB, free: 39.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003157/1.2, allocations: 144 kB / 0.557 GB, free: 38.9 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.01989/1.22, allocations: 6.886 MB / 0.5637 GB, free: 31.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.22, allocations: 8.031 kB / 0.5637 GB, free: 31.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02055/1.24, allocations: 3.621 MB / 0.5672 GB, free: 28.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01996/1.26, allocations: 7.655 MB / 0.5747 GB, free: 20.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007251/1.261, allocations: 0.5897 MB / 0.5753 GB, free: 19.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003284/1.264, allocations: 0.7809 MB / 0.576 GB, free: 19.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05835/1.323, allocations: 21.79 MB / 0.5973 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004866/1.323, allocations: 91.14 kB / 0.5974 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003167/1.326, allocations: 387.8 kB / 0.5978 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004652/1.331, allocations: 1.929 MB / 0.5997 GB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05494/1.386, allocations: 17.62 MB / 0.6169 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3793/1.766, allocations: 79.32 MB / 0.6943 GB, free: 24.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02407/1.79, allocations: 6.577 MB / 0.7008 GB, free: 23.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02095/1.811, allocations: 9.744 MB / 0.7103 GB, free: 21.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.213e-05/1.811, allocations: 60.88 kB / 0.7103 GB, free: 21.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 8.401e-06/1.811, allocations: 0 / 0.7103 GB, free: 21.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.1283/1.939, allocations: 24.94 MB / 0.7347 GB, free: 13.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.939, allocations: 163.6 kB / 0.7348 GB, free: 13.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01843/1.958, allocations: 5.399 MB / 0.7401 GB, free: 11.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005169/1.958, allocations: 76.77 kB / 0.7402 GB, free: 11.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003352/1.962, allocations: 5.03 MB / 0.7451 GB, free: 7.273 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.963, allocations: 1.215 MB / 0.7463 GB, free: 6.387 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008901/1.964, allocations: 190.2 kB / 0.7465 GB, free: 6.238 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006796/1.965, allocations: 0.7189 MB / 0.7472 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00783/1.973, allocations: 2.87 MB / 0.75 GB, free: 4.883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01205/1.985, allocations: 8.579 MB / 0.7583 GB, free: 12.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/1.997, allocations: 4.812 MB / 0.763 GB, free: 8.152 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002167/1.997, allocations: 56 kB / 0.7631 GB, free: 8.098 MB / 442.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.03197/2.029, allocations: 11.1 MB / 0.7739 GB, free: 14.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002193/2.029, allocations: 92.22 kB / 0.774 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003816/2.029, allocations: 204 kB / 0.7742 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004403/2.03, allocations: 300 kB / 0.7745 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01068/2.041, allocations: 2.384 MB / 0.7768 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004911/2.041, allocations: 405.3 kB / 0.7772 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009995/2.051, allocations: 0.6241 MB / 0.7778 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002008/2.053, allocations: 0.5631 MB / 0.7784 GB, free: 10.71 MB / 458.7 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.01003/2.063, allocations: 3.377 MB / 0.7817 GB, free: 7.742 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/2.065, allocations: 0.5437 MB / 0.7822 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/2.075, allocations: 3.383 MB / 0.7855 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.394e-05/2.075, allocations: 32 kB / 0.7855 GB, free: 4.266 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/2.075, allocations: 4 kB / 0.7855 GB, free: 4.262 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-05/2.075, allocations: 18.81 kB / 0.7856 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3073/2.383, allocations: 13.69 MB / 0.7989 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-05/2.383, allocations: 32.38 kB / 0.799 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/2.386, allocations: 0.5926 MB / 0.7995 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.737e-05/2.386, allocations: 53.25 kB / 0.7996 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004622/2.387, allocations: 97.77 kB / 0.7997 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-05/2.387, allocations: 70.41 kB / 0.7998 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.4e-05/2.387, allocations: 50.28 kB / 0.7998 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/2.4, allocations: 12.14 MB / 0.8117 GB, free: 91.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002957/2.403, allocations: 0.8422 MB / 0.8125 GB, free: 91.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/2.404, allocations: 95.89 kB / 0.8126 GB, free: 91.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004211/2.409, allocations: 197.1 kB / 0.8128 GB, free: 91.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007163/2.409, allocations: 294.2 kB / 0.813 GB, free: 91.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003182/2.41, allocations: 130 kB / 0.8132 GB, free: 91.76 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01004/2.42, allocations: 3.782 MB / 0.8169 GB, free: 91.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.303e-06/2.42, allocations: 0 / 0.8169 GB, free: 91.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01099/2.431, allocations: 1.551 MB / 0.8184 GB, free: 91.54 MB / 458.7 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.0009617/2.432, allocations: 272.3 kB / 0.8186 GB, free: 91.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01395/2.446, allocations: 6.446 MB / 0.8249 GB, free: 91.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.576e-05/2.446, allocations: 3.875 kB / 0.8249 GB, free: 91.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003785/2.45, allocations: 1.534 MB / 0.8264 GB, free: 91.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004961/2.455, allocations: 0.7031 MB / 0.8271 GB, free: 91.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05093/2.506, allocations: 19.3 MB / 0.846 GB, free: 82.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01977/2.525, allocations: 5.251 MB / 0.8511 GB, free: 81.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003529/2.529, allocations: 475.9 kB / 0.8515 GB, free: 81.64 MB / 458.7 MB Notification: Performance of SimCode: time 2.525e-06/2.529, allocations: 0 / 0.8515 GB, free: 81.64 MB / 458.7 MB Notification: Performance of Templates: time 0.1513/2.68, allocations: 86.87 MB / 0.9364 GB, free: 18.84 MB / 458.7 MB