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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.119/2.119, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.434e-05, allocations: 3.984 kB / 303.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2692, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.3926, allocations: 81.69 MB / 439.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3928, allocations: 59.97 kB / 439.8 MB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01847/0.4113, allocations: 4.497 MB / 444.3 MB, free: 8.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.17e-06/0.4113, allocations: 3.938 kB / 444.3 MB, free: 8.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.4114, allocations: 4 kB / 444.3 MB, free: 8.559 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.0007394/0.4121, allocations: 462.3 kB / 444.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4122, allocations: 11.97 kB / 444.7 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.479e-05/0.4123, allocations: 31.67 kB / 444.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.4126, allocations: 234.7 kB / 445 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.4126, allocations: 4 kB / 445 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.4127, allocations: 16 kB / 445 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003258/0.413, allocations: 116.8 kB / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.4135, allocations: 185.9 kB / 445.3 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.4135, allocations: 7.844 kB / 445.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.4135, allocations: 4 kB / 445.3 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.4136, allocations: 11.95 kB / 445.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.4153, allocations: 0.9345 MB / 446.3 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.4157, allocations: 207.9 kB / 446.5 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.4158, allocations: 67.84 kB / 446.5 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4159, allocations: 7.984 kB / 446.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.4159, allocations: 34.55 kB / 446.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.003e-06/0.4159, allocations: 4 kB / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001589/0.4175, allocations: 0.9156 MB / 447.5 MB, free: 4.949 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.4176, allocations: 128.5 kB / 447.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.4178, allocations: 161.6 kB / 447.8 MB, free: 4.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.4179, allocations: 25.7 kB / 447.8 MB, free: 4.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.418, allocations: 214.6 kB / 448 MB, free: 4.387 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.4181, allocations: 94.56 kB / 448.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.4182, allocations: 0 / 448.1 MB, free: 4.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4183, allocations: 326.8 kB / 448.4 MB, free: 3.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.4186, allocations: 60.8 kB / 448.5 MB, free: 3.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.4191, allocations: 167.6 kB / 448.7 MB, free: 3.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.4194, allocations: 85.08 kB / 448.7 MB, free: 3.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.4195, allocations: 4 kB / 448.7 MB, free: 3.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009615/0.4205, allocations: 261.2 kB / 449 MB, free: 3.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.4205, allocations: 4 kB / 449 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.4205, allocations: 4 kB / 449 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/0.4206, allocations: 11.95 kB / 449 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.4212, allocations: 83.84 kB / 449.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/0.4213, allocations: 11.98 kB / 449.1 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.4216, allocations: 4 kB / 449.1 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.4217, allocations: 12 kB / 449.1 MB, free: 3.211 MB / 378.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 () * 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.0001689/0.4219, allocations: 125.1 kB / 449.3 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.4221, allocations: 19.72 kB / 449.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.4225, allocations: 107.4 kB / 449.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.4225, allocations: 7.953 kB / 449.4 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.88e-06/0.4226, allocations: 0 / 449.4 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.4226, allocations: 0 / 449.4 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.4247, allocations: 0.717 MB / 450.1 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.4248, allocations: 7.953 kB / 450.1 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006891/0.4255, allocations: 64.03 kB / 450.2 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-05/0.4255, allocations: 11.98 kB / 450.2 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.4256, allocations: 12.19 kB / 450.2 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.4256, allocations: 4 kB / 450.2 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/0.4256, allocations: 7.938 kB / 450.2 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.4268, allocations: 0.6977 MB / 450.9 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.427, allocations: 96.83 kB / 451 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/0.4271, allocations: 15.92 kB / 451 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005765/0.4277, allocations: 0 / 451 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.4278, allocations: 19.94 kB / 451 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.4278, allocations: 19.98 kB / 451.1 MB, free: 1.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.428, allocations: 120.3 kB / 451.2 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.019e-06/0.4281, allocations: 0 / 451.2 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001193/0.4293, allocations: 48 kB / 451.2 MB, free: 0.9258 MB / 378.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 () * 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.0001764/0.4295, allocations: 111.1 kB / 451.3 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.4299, allocations: 164.4 kB / 451.5 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.897e-06/0.4299, allocations: 4.062 kB / 451.5 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.4301, allocations: 83.8 kB / 451.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.4308, allocations: 36.16 kB / 451.6 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.4326, allocations: 0.8413 MB / 452.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.4331, allocations: 0.7635 MB / 453.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.4332, allocations: 23.44 kB / 453.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of SimCode: time 2.148e-06/0.4332, allocations: 4 kB / 453.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of Templates: time 0.00584/0.4391, allocations: 2.697 MB / 455.9 MB, free: 12.12 MB / 394.7 MB