Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.385/2.385, allocations: 234.9 MB / 251.1 MB, free: 9.488 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000595/0.0005952, allocations: 12 kB / 314.9 MB, free: 9.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3405, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.4875, allocations: 82.43 MB / 452.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4878, allocations: 67.95 kB / 452.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02052/0.5084, allocations: 4.532 MB / 456.8 MB, free: 3.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5084, allocations: 0 / 456.8 MB, free: 3.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.5085, allocations: 4 kB / 456.8 MB, free: 3.57 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.0009113/0.5094, allocations: 496.4 kB / 457.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5095, allocations: 8.031 kB / 457.3 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.5095, allocations: 27.67 kB / 457.3 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.5099, allocations: 234.7 kB / 457.6 MB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.5099, allocations: 12.44 kB / 457.6 MB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.621e-05/0.51, allocations: 27.91 kB / 457.6 MB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.5105, allocations: 218.6 kB / 457.8 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.5106, allocations: 4 kB / 457.8 MB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.5106, allocations: 8 kB / 457.8 MB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.5106, allocations: 8 kB / 457.8 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.511, allocations: 135.8 kB / 458 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.5131, allocations: 0.9889 MB / 459 MB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.5136, allocations: 226.2 kB / 459.2 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.5137, allocations: 7.938 kB / 459.2 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.5137, allocations: 42.55 kB / 459.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.346e-06/0.5137, allocations: 0 / 459.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002042/0.5158, allocations: 1.019 MB / 460.3 MB, free: 15.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.5159, allocations: 140.5 kB / 460.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.5162, allocations: 182.6 kB / 460.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.5162, allocations: 33.7 kB / 460.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.5164, allocations: 210.5 kB / 460.8 MB, free: 15.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.5165, allocations: 106.5 kB / 460.9 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.5165, allocations: 8 kB / 460.9 MB, free: 15.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5167, allocations: 326.8 kB / 461.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.5169, allocations: 60.72 kB / 461.3 MB, free: 14.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.5172, allocations: 191.9 kB / 461.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.5175, allocations: 95.94 kB / 461.6 MB, free: 14.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5175, allocations: 0 / 461.6 MB, free: 14.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007312/0.5182, allocations: 293.2 kB / 461.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.5183, allocations: 9.828 kB / 461.9 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.5183, allocations: 4 kB / 461.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/0.5183, allocations: 8.109 kB / 461.9 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/0.5189, allocations: 91.77 kB / 462 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.519, allocations: 8 kB / 462 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.5192, allocations: 12.22 kB / 462 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.5193, allocations: 20 kB / 462 MB, free: 13.88 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.0001899/0.5195, allocations: 141.7 kB / 462.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.5196, allocations: 19.81 kB / 462.2 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.5199, allocations: 122.8 kB / 462.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.5199, allocations: 4 kB / 462.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5199, allocations: 0 / 462.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.5199, allocations: 7.984 kB / 462.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.5215, allocations: 0.775 MB / 463.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.5215, allocations: 4 kB / 463.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.5221, allocations: 76.08 kB / 463.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.5221, allocations: 4 kB / 463.2 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.5222, allocations: 8 kB / 463.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.5222, allocations: 4 kB / 463.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5222, allocations: 4 kB / 463.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.5231, allocations: 0.6282 MB / 463.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.88e-05/0.5232, allocations: 104.8 kB / 463.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.5232, allocations: 8 kB / 463.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.5236, allocations: 8 kB / 463.9 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.5236, allocations: 27.91 kB / 464 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.5237, allocations: 11.95 kB / 464 MB, free: 11.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001872/0.5239, allocations: 136.5 kB / 464.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5239, allocations: 0 / 464.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006214/0.5245, allocations: 56 kB / 464.2 MB, free: 11.58 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.0001643/0.5247, allocations: 119.1 kB / 464.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.5252, allocations: 208.1 kB / 464.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5253, allocations: 0 / 464.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.5255, allocations: 84.84 kB / 464.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.5262, allocations: 55.69 kB / 464.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.5286, allocations: 1.11 MB / 465.7 MB, free: 9.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.5291, allocations: 0.756 MB / 466.5 MB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5292, allocations: 23.44 kB / 466.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5292, allocations: 0 / 466.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of Templates: time 0.007011/0.5362, allocations: 2.754 MB / 469.3 MB, free: 6.383 MB / 394.7 MB