Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.TestBraking.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Translational.TestBraking") Notification: Performance of loadModel(ModelicaTest): time 2.072/2.072, allocations: 234.9 MB / 250.5 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.000435, allocations: 12 kB / 314.4 MB, free: 9.695 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2961, allocations: 54.85 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4202, allocations: 82.44 MB / 451.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.4204, allocations: 67.95 kB / 451.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.4392, allocations: 4.524 MB / 456.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.29e-06/0.4393, allocations: 0 / 456.3 MB, free: 5.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.4393, allocations: 4 kB / 456.3 MB, free: 5.605 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007957/0.4401, allocations: 496.5 kB / 456.8 MB, free: 5.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4401, allocations: 12.03 kB / 456.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.4402, allocations: 27.67 kB / 456.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.4406, allocations: 222.7 kB / 457 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.4406, allocations: 16.38 kB / 457 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.4407, allocations: 27.91 kB / 457.1 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.4411, allocations: 218.6 kB / 457.3 MB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.4412, allocations: 4 kB / 457.3 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.4412, allocations: 8 kB / 457.3 MB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.832e-06/0.4412, allocations: 8 kB / 457.3 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.4416, allocations: 135.8 kB / 457.4 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.4433, allocations: 0.9849 MB / 458.4 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.4438, allocations: 226.3 kB / 458.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.4438, allocations: 8.406 kB / 458.7 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4439, allocations: 42.55 kB / 458.7 MB, free: 2.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.038e-06/0.4439, allocations: 4 kB / 458.7 MB, free: 2.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001784/0.4457, allocations: 1.019 MB / 459.7 MB, free: 1.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.4458, allocations: 132.5 kB / 459.8 MB, free: 1.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.446, allocations: 169.7 kB / 460 MB, free: 1.457 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.4461, allocations: 29.7 kB / 460 MB, free: 1.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.4462, allocations: 210.5 kB / 460.2 MB, free: 1.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.4463, allocations: 106.5 kB / 460.4 MB, free: 1.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.4464, allocations: 11.94 kB / 460.4 MB, free: 1.098 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4465, allocations: 330.8 kB / 460.7 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.4467, allocations: 60.72 kB / 460.7 MB, free: 0.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.447, allocations: 187.9 kB / 460.9 MB, free: 484 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.4473, allocations: 104.1 kB / 461 MB, free: 380 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.243e-06/0.4473, allocations: 0 / 461 MB, free: 380 kB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006302/0.4479, allocations: 285.2 kB / 461.3 MB, free: 88 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.4479, allocations: 15.94 kB / 461.3 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.448, allocations: 4 kB / 461.3 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.448, allocations: 4.109 kB / 461.3 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.4484, allocations: 91.78 kB / 461.4 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4484, allocations: 4 kB / 461.4 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.4486, allocations: 15.91 kB / 461.4 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.4487, allocations: 19.98 kB / 461.5 MB, free: 15.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (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 prepare postOptimizeDAE: time 0.0001829/0.4489, allocations: 146 kB / 461.6 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.449, allocations: 19.81 kB / 461.6 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.4493, allocations: 110.9 kB / 461.7 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.4493, allocations: 4 kB / 461.7 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.4494, allocations: 7.984 kB / 461.7 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.376e-06/0.4494, allocations: 0 / 461.7 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.4509, allocations: 0.7828 MB / 462.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.783e-06/0.4509, allocations: 0 / 462.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.4514, allocations: 71.91 kB / 462.6 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.399e-06/0.4514, allocations: 4 kB / 462.6 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.4514, allocations: 12.19 kB / 462.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.158e-06/0.4514, allocations: 4 kB / 462.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4515, allocations: 0 / 462.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000854/0.4523, allocations: 0.7327 MB / 463.4 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.4524, allocations: 100.9 kB / 463.4 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.4525, allocations: 19.98 kB / 463.5 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.4528, allocations: 4 kB / 463.5 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.4529, allocations: 27.88 kB / 463.5 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.4529, allocations: 15.98 kB / 463.5 MB, free: 13.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.4531, allocations: 128.5 kB / 463.6 MB, free: 13.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.4531, allocations: 4 kB / 463.6 MB, free: 13.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006712/0.4538, allocations: 60.12 kB / 463.7 MB, free: 13.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (29): * Single equations (assignments): 29 * 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.0001646/0.454, allocations: 125.2 kB / 463.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004511/0.4544, allocations: 196.4 kB / 464 MB, free: 13.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.22e-06/0.4545, allocations: 0 / 464 MB, free: 13.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.4546, allocations: 87.84 kB / 464.1 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.4553, allocations: 47.48 kB / 464.2 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.4573, allocations: 1.122 MB / 465.3 MB, free: 11.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.4578, allocations: 0.756 MB / 466 MB, free: 11.06 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.4579, allocations: 27.44 kB / 466.1 MB, free: 11.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.425e-06/0.4579, allocations: 0 / 466.1 MB, free: 11.04 MB / 394.7 MB Notification: Performance of Templates: time 0.005926/0.4638, allocations: 2.747 MB / 468.8 MB, free: 8.285 MB / 394.7 MB