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.891/1.891, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.202e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08778/0.08784, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3737/0.4616, allocations: 94.38 MB / 420.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4618, allocations: 72.45 kB / 421 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9253/1.387, allocations: 144.5 MB / 0.5523 GB, free: 76.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.016e-06/1.387, allocations: 0 / 0.5523 GB, free: 76.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003287/1.388, allocations: 147.8 kB / 0.5524 GB, free: 76.05 MB / 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.01985/1.407, allocations: 6.541 MB / 0.5588 GB, free: 73.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.407, allocations: 10.03 kB / 0.5588 GB, free: 73.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02196/1.429, allocations: 3.615 MB / 0.5623 GB, free: 72.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02116/1.451, allocations: 7.633 MB / 0.5698 GB, free: 72.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006948/1.451, allocations: 0.5894 MB / 0.5704 GB, free: 72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003391/1.455, allocations: 0.7856 MB / 0.5711 GB, free: 72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05948/1.514, allocations: 21.52 MB / 0.5922 GB, free: 67.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004649/1.515, allocations: 97.22 kB / 0.5922 GB, free: 67.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003091/1.518, allocations: 385.6 kB / 0.5926 GB, free: 67.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004252/1.522, allocations: 1.945 MB / 0.5945 GB, free: 67.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0482/1.57, allocations: 17.18 MB / 0.6113 GB, free: 60.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1015/1.672, allocations: 79.33 MB / 0.6888 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2854/1.957, allocations: 6.484 MB / 0.6951 GB, free: 83.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004663/1.962, allocations: 2.048 MB / 0.6971 GB, free: 83.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02401/1.986, allocations: 9.754 MB / 0.7066 GB, free: 81.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/1.986, allocations: 59.67 kB / 0.7067 GB, free: 81.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=284): time 7.587e-06/1.986, allocations: 0 / 0.7067 GB, free: 81.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=320): time 0.08981/2.076, allocations: 22.63 MB / 0.7288 GB, free: 76.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/2.076, allocations: 164 kB / 0.7289 GB, free: 76.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/2.087, allocations: 5.255 MB / 0.7341 GB, free: 76.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005137/2.087, allocations: 75.16 kB / 0.7341 GB, free: 76.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003389/2.091, allocations: 5.025 MB / 0.739 GB, free: 73.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001603/2.092, allocations: 1.217 MB / 0.7402 GB, free: 72.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000865/2.093, allocations: 196.1 kB / 0.7404 GB, free: 72.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006508/2.094, allocations: 0.7137 MB / 0.7411 GB, free: 72.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005877/2.1, allocations: 2.63 MB / 0.7437 GB, free: 72.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009024/2.109, allocations: 8.346 MB / 0.7518 GB, free: 64.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009249/2.118, allocations: 4.627 MB / 0.7563 GB, free: 63.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001789/2.118, allocations: 61.44 kB / 0.7564 GB, free: 63.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.02447/2.143, allocations: 10.54 MB / 0.7667 GB, free: 60.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/2.143, allocations: 91.62 kB / 0.7668 GB, free: 60.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002369/2.143, allocations: 214.4 kB / 0.767 GB, free: 60.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003406/2.144, allocations: 298 kB / 0.7673 GB, free: 60.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01099/2.155, allocations: 2.382 MB / 0.7696 GB, free: 60.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003582/2.155, allocations: 408 kB / 0.77 GB, free: 59.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/2.165, allocations: 0.6238 MB / 0.7706 GB, free: 59.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/2.167, allocations: 0.5655 MB / 0.7711 GB, free: 59.7 MB / 442.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 () * 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.002627/2.17, allocations: 0.8542 MB / 0.772 GB, free: 59.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/2.171, allocations: 0.5426 MB / 0.7725 GB, free: 58.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00728/2.178, allocations: 3.181 MB / 0.7756 GB, free: 57.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.894e-05/2.178, allocations: 39.58 kB / 0.7757 GB, free: 57.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/2.178, allocations: 0 / 0.7757 GB, free: 57.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.501e-05/2.178, allocations: 15.97 kB / 0.7757 GB, free: 57.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03131/2.21, allocations: 13.58 MB / 0.7889 GB, free: 48.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.606e-05/2.21, allocations: 32 kB / 0.789 GB, free: 48.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00312/2.213, allocations: 0.5907 MB / 0.7895 GB, free: 48.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-05/2.213, allocations: 55.94 kB / 0.7896 GB, free: 48.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003605/2.214, allocations: 99.7 kB / 0.7897 GB, free: 48.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.135e-05/2.214, allocations: 62.8 kB / 0.7897 GB, free: 48.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.431e-05/2.214, allocations: 62.8 kB / 0.7898 GB, free: 48.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/2.224, allocations: 11.95 MB / 0.8015 GB, free: 34.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002738/2.226, allocations: 0.839 MB / 0.8023 GB, free: 34.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001399/2.228, allocations: 94.75 kB / 0.8024 GB, free: 33.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004144/2.232, allocations: 205.3 kB / 0.8026 GB, free: 33.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006574/2.233, allocations: 287.9 kB / 0.8029 GB, free: 33.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000286/2.233, allocations: 131.5 kB / 0.803 GB, free: 33.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008697/2.242, allocations: 3.634 MB / 0.8065 GB, free: 30.22 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.961e-06/2.242, allocations: 0 / 0.8065 GB, free: 30.22 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.02311/2.265, allocations: 1.548 MB / 0.808 GB, free: 28.68 MB / 442.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 () * 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.001543/2.267, allocations: 275.6 kB / 0.8083 GB, free: 28.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02467/2.291, allocations: 6.14 MB / 0.8143 GB, free: 22.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-05/2.291, allocations: 9 kB / 0.8143 GB, free: 22.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005904/2.297, allocations: 1.468 MB / 0.8157 GB, free: 21.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009912/2.307, allocations: 0.7052 MB / 0.8164 GB, free: 20.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/2.348, allocations: 13.61 MB / 0.8297 GB, free: 8.203 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01166/2.36, allocations: 5.254 MB / 0.8348 GB, free: 4.344 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001869/2.362, allocations: 477 kB / 0.8353 GB, free: 3.895 MB / 442.7 MB Notification: Performance of SimCode: time 2.455e-06/2.362, allocations: 0 / 0.8353 GB, free: 3.895 MB / 442.7 MB Notification: Performance of Templates: time 0.4167/2.779, allocations: 86.99 MB / 0.9203 GB, free: 73.77 MB / 458.7 MB