Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Damper.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1006, allocations: 44.5 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4046/0.5052, allocations: 71.88 MB / 380.8 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.5056, allocations: 65.94 kB / 380.9 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01782/0.5234, allocations: 4.052 MB / 385 MB, free: 14.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5235, allocations: 1.219 kB / 385 MB, free: 14.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.5235, allocations: 4.188 kB / 385 MB, free: 14.28 MB / 314.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.0009259/0.5244, allocations: 0.4924 MB / 385.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.5245, allocations: 11.2 kB / 385.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/0.5246, allocations: 37.3 kB / 385.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.5249, allocations: 235.5 kB / 385.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.525, allocations: 15.81 kB / 385.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.5251, allocations: 34.59 kB / 385.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005664/0.5256, allocations: 240.2 kB / 386 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.5257, allocations: 5.438 kB / 386 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.5257, allocations: 8.281 kB / 386 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.5257, allocations: 10.23 kB / 386 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.5262, allocations: 152.7 kB / 386.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.5277, allocations: 0.8154 MB / 387 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007385/0.5285, allocations: 284.6 kB / 387.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.5286, allocations: 6.531 kB / 387.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5286, allocations: 41.22 kB / 387.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.369e-06/0.5286, allocations: 0 / 387.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.003869/0.5325, allocations: 1.958 MB / 389.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.5326, allocations: 111.8 kB / 389.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.5329, allocations: 186.2 kB / 389.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.5329, allocations: 39.2 kB / 389.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.533, allocations: 194.6 kB / 389.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.5331, allocations: 163.4 kB / 390 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.5332, allocations: 8.125 kB / 390 MB, free: 11.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.5333, allocations: 326.5 kB / 390.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.5335, allocations: 92.62 kB / 390.4 MB, free: 10.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.5338, allocations: 158.9 kB / 390.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.5342, allocations: 112.9 kB / 390.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5342, allocations: 0 / 390.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007992/0.535, allocations: 331.5 kB / 391 MB, free: 10.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.535, allocations: 5.25 kB / 391 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5351, allocations: 2.562 kB / 391 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.5351, allocations: 7.875 kB / 391 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.5358, allocations: 99.64 kB / 391.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.5358, allocations: 6.562 kB / 391.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.5361, allocations: 10.88 kB / 391.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.5361, allocations: 13.22 kB / 391.1 MB, free: 10.55 MB / 314.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.0002119/0.5364, allocations: 153.4 kB / 391.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.5365, allocations: 30.12 kB / 391.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.5366, allocations: 38.88 kB / 391.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.5366, allocations: 9.344 kB / 391.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.5366, allocations: 3.953 kB / 391.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.5367, allocations: 3.578 kB / 391.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.5386, allocations: 1.045 MB / 392.4 MB, free: 9.836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.5386, allocations: 4.25 kB / 392.4 MB, free: 9.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/0.5394, allocations: 91.61 kB / 392.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.5394, allocations: 6.203 kB / 392.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.5394, allocations: 11.56 kB / 392.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.5395, allocations: 3.875 kB / 392.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.5395, allocations: 7.812 kB / 392.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.5406, allocations: 0.7219 MB / 393.2 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.5407, allocations: 108.3 kB / 393.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.5408, allocations: 11.34 kB / 393.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.5411, allocations: 11.12 kB / 393.4 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.5412, allocations: 34.55 kB / 393.4 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.5412, allocations: 14.75 kB / 393.4 MB, free: 9.309 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.5414, allocations: 139.6 kB / 393.6 MB, free: 9.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.392e-06/0.5414, allocations: 0 / 393.6 MB, free: 9.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006034/0.542, allocations: 78.44 kB / 393.6 MB, free: 9.223 MB / 314.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.0001549/0.5422, allocations: 116.6 kB / 393.7 MB, free: 9.129 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006323/0.5428, allocations: 255.9 kB / 394 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5429, allocations: 0 / 394 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.5432, allocations: 143.6 kB / 394.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.544, allocations: 59.14 kB / 394.2 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.5461, allocations: 1.126 MB / 395.3 MB, free: 8.312 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.5464, allocations: 0.78 MB / 396.1 MB, free: 7.605 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.5466, allocations: 30.72 kB / 396.1 MB, free: 7.598 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5466, allocations: 0 / 396.1 MB, free: 7.598 MB / 314.7 MB Notification: Performance of Templates: time 0.007824/0.5544, allocations: 3.316 MB / 399.4 MB, free: 7.332 MB / 314.7 MB