Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) 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.642/1.642, allocations: 171.2 MB / 186.8 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 8 kB / 233.2 MB, free: 3.016 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07142/0.07181, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2869/0.3588, allocations: 66.58 MB / 338.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.3591, allocations: 61.72 kB / 338.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01638/0.3755, allocations: 4.063 MB / 342.7 MB, free: 3.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.491e-06/0.3755, allocations: 4 kB / 342.7 MB, free: 3.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.3755, allocations: 4 kB / 342.7 MB, free: 3.941 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.0008058/0.3764, allocations: 0.4933 MB / 343.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3764, allocations: 12.03 kB / 343.2 MB, free: 3.402 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.3765, allocations: 31.62 kB / 343.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.3768, allocations: 237.7 kB / 343.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.3769, allocations: 18.86 kB / 343.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.3769, allocations: 23.06 kB / 343.5 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.3774, allocations: 238.3 kB / 343.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.3775, allocations: 3.906 kB / 343.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.3775, allocations: 14.62 kB / 343.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.3776, allocations: 4 kB / 343.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.378, allocations: 164.6 kB / 343.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.3794, allocations: 0.8021 MB / 344.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.38, allocations: 292.3 kB / 345 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3801, allocations: 8.219 kB / 345 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.3801, allocations: 45.88 kB / 345.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 3.488e-06/0.3802, allocations: 0 / 345.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.003706/0.3839, allocations: 1.944 MB / 347 MB, free: 15.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.384, allocations: 110.8 kB / 347.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3842, allocations: 168.4 kB / 347.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3843, allocations: 37.56 kB / 347.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.3844, allocations: 196.8 kB / 347.5 MB, free: 15.31 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.3846, allocations: 162.9 kB / 347.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.3846, allocations: 11.12 kB / 347.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3848, allocations: 330.7 kB / 348 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.385, allocations: 88.64 kB / 348.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.3853, allocations: 156.6 kB / 348.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.3856, allocations: 111.5 kB / 348.4 MB, free: 14.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3856, allocations: 4 kB / 348.4 MB, free: 14.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007136/0.3863, allocations: 339.5 kB / 348.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3864, allocations: 4 kB / 348.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3864, allocations: 4 kB / 348.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3864, allocations: 0 / 348.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.3869, allocations: 99.95 kB / 348.8 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3869, allocations: 4 kB / 348.8 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.3871, allocations: 11.5 kB / 348.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.3871, allocations: 11.88 kB / 348.8 MB, free: 14.23 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.0002118/0.3873, allocations: 161 kB / 349 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.3875, allocations: 23.72 kB / 349 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.3876, allocations: 44.48 kB / 349.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.628e-06/0.3876, allocations: 4 kB / 349.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.3876, allocations: 0 / 349.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.061e-06/0.3877, allocations: 0 / 349.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.3896, allocations: 1.051 MB / 350.1 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.3896, allocations: 4 kB / 350.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/0.3903, allocations: 91.33 kB / 350.2 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.427e-05/0.3904, allocations: 8 kB / 350.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.3904, allocations: 11.06 kB / 350.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/0.3905, allocations: 4 kB / 350.2 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/0.3905, allocations: 7.938 kB / 350.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.3924, allocations: 0.8528 MB / 351.1 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.3926, allocations: 108.7 kB / 351.2 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.914e-05/0.3927, allocations: 15.23 kB / 351.2 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.3933, allocations: 10.88 kB / 351.2 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3935, allocations: 27.59 kB / 351.3 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.3936, allocations: 15.69 kB / 351.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002894/0.3939, allocations: 138.8 kB / 351.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.06e-06/0.3939, allocations: 0 / 351.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001248/0.3951, allocations: 74.62 kB / 351.5 MB, free: 11.78 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.000257/0.3954, allocations: 122.2 kB / 351.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009476/0.3964, allocations: 268.8 kB / 351.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.427e-06/0.3964, allocations: 4.188 kB / 351.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004464/0.3969, allocations: 141.6 kB / 352 MB, free: 11.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.398, allocations: 47.08 kB / 352 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.4011, allocations: 1.118 MB / 353.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/0.4019, allocations: 0.7802 MB / 353.9 MB, free: 9.387 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.4022, allocations: 27.44 kB / 354 MB, free: 9.359 MB / 282.7 MB Notification: Performance of SimCode: time 2.121e-06/0.4022, allocations: 0 / 354 MB, free: 9.359 MB / 282.7 MB Notification: Performance of Templates: time 0.007759/0.41, allocations: 3.323 MB / 357.3 MB, free: 6.074 MB / 282.7 MB