Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.828/1.828, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003713, allocations: 12 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08448/0.08488, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.349/0.4339, allocations: 66.58 MB / 339.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.4342, allocations: 66.59 kB / 339.3 MB, free: 6.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02219/0.4564, allocations: 4.064 MB / 343.3 MB, free: 3.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4565, allocations: 0 / 343.3 MB, free: 3.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.4565, allocations: 8 kB / 343.3 MB, free: 3.297 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.0009063/0.4574, allocations: 0.4915 MB / 343.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4575, allocations: 8.031 kB / 343.8 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.364e-05/0.4576, allocations: 35.61 kB / 343.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.4579, allocations: 233.5 kB / 344.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.4579, allocations: 19.75 kB / 344.1 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.458, allocations: 26.5 kB / 344.1 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.4586, allocations: 237.6 kB / 344.4 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.4586, allocations: 3.906 kB / 344.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.4587, allocations: 11.75 kB / 344.4 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.4587, allocations: 4 kB / 344.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.4592, allocations: 162.5 kB / 344.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.4607, allocations: 0.805 MB / 345.4 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/0.4614, allocations: 292.8 kB / 345.6 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.4615, allocations: 4 kB / 345.6 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4615, allocations: 42.17 kB / 345.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/0.4615, allocations: 3.938 kB / 345.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.00389/0.4654, allocations: 1.939 MB / 347.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.4655, allocations: 114.4 kB / 347.7 MB, free: 15.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.4658, allocations: 183.3 kB / 347.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.4658, allocations: 33.45 kB / 348 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.466, allocations: 149.2 kB / 348.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.4661, allocations: 162.8 kB / 348.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.4662, allocations: 11.12 kB / 348.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4663, allocations: 345.6 kB / 348.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.4666, allocations: 87.34 kB / 348.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.4669, allocations: 149.1 kB / 348.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.4672, allocations: 120.5 kB / 349 MB, free: 13.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4672, allocations: 0 / 349 MB, free: 13.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007872/0.468, allocations: 341.5 kB / 349.3 MB, free: 13.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4681, allocations: 8 kB / 349.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4681, allocations: 0 / 349.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4681, allocations: 4 kB / 349.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.4688, allocations: 95.58 kB / 349.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4688, allocations: 4 kB / 349.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.469, allocations: 13.78 kB / 349.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.4691, allocations: 15.23 kB / 349.4 MB, free: 13.61 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.0002108/0.4693, allocations: 154.2 kB / 349.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.4694, allocations: 35.61 kB / 349.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.788e-05/0.4695, allocations: 37.55 kB / 349.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.4695, allocations: 4 kB / 349.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.4696, allocations: 4 kB / 349.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4696, allocations: 0.9375 kB / 349.7 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.4716, allocations: 1.055 MB / 350.7 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4716, allocations: 0 / 350.7 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.4724, allocations: 95.58 kB / 350.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.4724, allocations: 4.094 kB / 350.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.4724, allocations: 11.72 kB / 350.8 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.4725, allocations: 12 kB / 350.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.4725, allocations: 0 / 350.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.4736, allocations: 0.7268 MB / 351.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.4737, allocations: 104.8 kB / 351.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.506e-05/0.4738, allocations: 11.8 kB / 351.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.4741, allocations: 11.69 kB / 351.7 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.4742, allocations: 31.84 kB / 351.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.4743, allocations: 15.95 kB / 351.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.4744, allocations: 137.9 kB / 351.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4744, allocations: 0 / 351.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006646/0.4751, allocations: 75 kB / 351.9 MB, free: 11.36 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.0001825/0.4753, allocations: 125.5 kB / 352.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006601/0.476, allocations: 257.9 kB / 352.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.476, allocations: 3.938 kB / 352.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.4763, allocations: 145.6 kB / 352.5 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.477, allocations: 50.66 kB / 352.5 MB, free: 10.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.4793, allocations: 1.098 MB / 353.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.4798, allocations: 0.7725 MB / 354.4 MB, free: 9.008 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.48, allocations: 34.95 kB / 354.4 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.4801, allocations: 27.44 kB / 354.4 MB, free: 8.949 MB / 282.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4802, allocations: 0 / 354.4 MB, free: 8.949 MB / 282.7 MB Notification: Performance of Templates: time 0.009722/0.4899, allocations: 2.648 MB / 357.1 MB, free: 6.316 MB / 282.7 MB