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.154/2.154, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.479e-05, allocations: 0 / 309.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3351, allocations: 54.86 MB / 364.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.121/0.4561, allocations: 82.36 MB / 446.9 MB, free: 14.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4564, allocations: 64.53 kB / 446.9 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01892/0.4753, allocations: 4.525 MB / 451.5 MB, free: 9.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.839e-06/0.4754, allocations: 4 kB / 451.5 MB, free: 9.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.4754, allocations: 8.844 kB / 451.5 MB, free: 9.547 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.0007378/0.4762, allocations: 470.4 kB / 451.9 MB, free: 9.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4762, allocations: 11.97 kB / 452 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.351e-05/0.4763, allocations: 27.67 kB / 452 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.4766, allocations: 230.7 kB / 452.2 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.4767, allocations: 16.44 kB / 452.2 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.812e-05/0.4767, allocations: 23.91 kB / 452.2 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.4772, allocations: 214.7 kB / 452.5 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.4772, allocations: 3.984 kB / 452.5 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.4773, allocations: 8.656 kB / 452.5 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.4773, allocations: 7.953 kB / 452.5 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.4777, allocations: 140.5 kB / 452.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.4795, allocations: 0.9898 MB / 453.6 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.4799, allocations: 214.3 kB / 453.8 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.4801, allocations: 75.44 kB / 453.9 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.4801, allocations: 4.469 kB / 453.9 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.4802, allocations: 39.48 kB / 453.9 MB, free: 6.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.948e-06/0.4802, allocations: 0 / 453.9 MB, free: 6.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001668/0.4818, allocations: 0.9666 MB / 454.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/0.482, allocations: 136.5 kB / 455 MB, free: 5.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.4822, allocations: 165.8 kB / 455.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.4822, allocations: 29.7 kB / 455.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.4824, allocations: 214.6 kB / 455.4 MB, free: 5.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.4825, allocations: 113.7 kB / 455.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.4825, allocations: 9.5 kB / 455.6 MB, free: 5.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4827, allocations: 326.8 kB / 455.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.4829, allocations: 60.75 kB / 455.9 MB, free: 4.656 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.4832, allocations: 180.1 kB / 456.1 MB, free: 4.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.4834, allocations: 88.88 kB / 456.2 MB, free: 4.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.494e-06/0.4835, allocations: 0 / 456.2 MB, free: 4.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006408/0.4841, allocations: 301.3 kB / 456.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.4841, allocations: 9.875 kB / 456.5 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.4842, allocations: 8 kB / 456.5 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4842, allocations: 4 kB / 456.5 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.4846, allocations: 87.89 kB / 456.6 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.4846, allocations: 7.938 kB / 456.6 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.4849, allocations: 11.91 kB / 456.6 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.4849, allocations: 20 kB / 456.6 MB, free: 3.898 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.0001205/0.485, allocations: 120.9 kB / 456.8 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.4852, allocations: 35.81 kB / 456.8 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.4855, allocations: 107.1 kB / 456.9 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.753e-06/0.4855, allocations: 4.109 kB / 456.9 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.4855, allocations: 3.938 kB / 456.9 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4855, allocations: 3.984 kB / 456.9 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.4871, allocations: 0.7754 MB / 457.7 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.256e-06/0.4871, allocations: 0 / 457.7 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.4876, allocations: 75.89 kB / 457.8 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.845e-06/0.4876, allocations: 4 kB / 457.8 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.4876, allocations: 8 kB / 457.8 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.978e-06/0.4876, allocations: 8.125 kB / 457.8 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.4877, allocations: 8 kB / 457.8 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.4885, allocations: 0.7253 MB / 458.5 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-05/0.4886, allocations: 100.8 kB / 458.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.4887, allocations: 12 kB / 458.6 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.489, allocations: 12.27 kB / 458.6 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.4891, allocations: 20.05 kB / 458.6 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.4891, allocations: 15.98 kB / 458.7 MB, free: 1.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.4893, allocations: 140.3 kB / 458.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.4893, allocations: 0 / 458.8 MB, free: 1.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006568/0.49, allocations: 64.38 kB / 458.9 MB, free: 1.453 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.0001606/0.4902, allocations: 111.2 kB / 459 MB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.4906, allocations: 196.5 kB / 459.2 MB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.4907, allocations: 4.062 kB / 459.2 MB, free: 1.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.4909, allocations: 83.81 kB / 459.2 MB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.4915, allocations: 46.84 kB / 459.3 MB, free: 1.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.4932, allocations: 0.8618 MB / 460.2 MB, free: 104 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.4937, allocations: 0.7597 MB / 460.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.813e-05/0.4938, allocations: 27.44 kB / 460.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.785e-06/0.4938, allocations: 0 / 460.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of Templates: time 0.005722/0.4996, allocations: 2.732 MB / 463.7 MB, free: 12.55 MB / 394.7 MB