Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Damper.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.2 MB / 187.3 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 8 kB / 233.8 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.08596, allocations: 38.77 MB / 272.5 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.4362, allocations: 66.56 MB / 339.1 MB, free: 7.441 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4365, allocations: 66.91 kB / 339.2 MB, free: 7.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0171/0.4536, allocations: 4.062 MB / 343.2 MB, free: 4.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4536, allocations: 0 / 343.2 MB, free: 4.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.4537, allocations: 12 kB / 343.2 MB, free: 4.012 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008884/0.4546, allocations: 0.4974 MB / 343.7 MB, free: 3.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4546, allocations: 8.031 kB / 343.8 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.37e-05/0.4547, allocations: 31.62 kB / 343.8 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.4551, allocations: 236.7 kB / 344 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.4551, allocations: 15.94 kB / 344 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.4552, allocations: 30.88 kB / 344.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.4557, allocations: 238.6 kB / 344.3 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.4558, allocations: 3.906 kB / 344.3 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.4558, allocations: 14.06 kB / 344.3 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4558, allocations: 4 kB / 344.3 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.4563, allocations: 162.7 kB / 344.5 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.4578, allocations: 0.7988 MB / 345.3 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.4586, allocations: 297.3 kB / 345.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.4587, allocations: 11.12 kB / 345.6 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.4587, allocations: 42.48 kB / 345.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 3.196e-06/0.4587, allocations: 3.938 kB / 345.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.00395/0.4627, allocations: 1.939 MB / 347.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/0.4628, allocations: 106.8 kB / 347.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.4631, allocations: 190.2 kB / 347.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.4631, allocations: 36.64 kB / 347.9 MB, free: 15.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.4633, allocations: 200.7 kB / 348.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.4634, allocations: 160 kB / 348.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.4635, allocations: 6.688 kB / 348.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4636, allocations: 330.2 kB / 348.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.4639, allocations: 92.7 kB / 348.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.4642, allocations: 160.3 kB / 348.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.4645, allocations: 109.5 kB / 348.9 MB, free: 14.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.4645, allocations: 4 kB / 348.9 MB, free: 14.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007831/0.4654, allocations: 332.3 kB / 349.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4654, allocations: 4 kB / 349.3 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.4654, allocations: 96 / 349.3 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.4654, allocations: 8 kB / 349.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.4661, allocations: 95.83 kB / 349.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.4661, allocations: 4 kB / 349.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.4664, allocations: 11.75 kB / 349.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.4664, allocations: 15.83 kB / 349.4 MB, free: 14.28 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * 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.0002145/0.4666, allocations: 153.5 kB / 349.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.4667, allocations: 23.72 kB / 349.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.4669, allocations: 40.23 kB / 349.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.4669, allocations: 12 kB / 349.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.4669, allocations: 0 / 349.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.4669, allocations: 0 / 349.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.4689, allocations: 1.057 MB / 350.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.469, allocations: 4 kB / 350.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007231/0.4697, allocations: 91.67 kB / 350.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.4697, allocations: 4 kB / 350.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.4698, allocations: 15.69 kB / 350.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.4698, allocations: 4 kB / 350.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.4698, allocations: 4 kB / 350.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.471, allocations: 0.7204 MB / 351.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4711, allocations: 107.5 kB / 351.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.734e-05/0.4712, allocations: 14.94 kB / 351.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.4715, allocations: 10.8 kB / 351.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.4716, allocations: 38.55 kB / 351.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.4716, allocations: 15.44 kB / 351.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.4718, allocations: 138.5 kB / 351.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4718, allocations: 0 / 351.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000616/0.4724, allocations: 78.56 kB / 351.9 MB, free: 12.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * 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.0002226/0.4727, allocations: 115.1 kB / 352 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007321/0.4734, allocations: 262.8 kB / 352.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4734, allocations: 3.938 kB / 352.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.4738, allocations: 140 kB / 352.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008231/0.4746, allocations: 61.78 kB / 352.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.477, allocations: 1.122 MB / 353.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.4774, allocations: 0.7764 MB / 354.4 MB, free: 9.629 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.4776, allocations: 27.44 kB / 354.4 MB, free: 9.602 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4776, allocations: 0 / 354.4 MB, free: 9.602 MB / 282.7 MB Notification: Performance of Templates: time 0.008248/0.4858, allocations: 3.323 MB / 357.7 MB, free: 6.316 MB / 282.7 MB