Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 234.9 MB / 251.1 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004866, allocations: 8 kB / 314.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.373, allocations: 54.88 MB / 369.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.5327, allocations: 82.24 MB / 452.1 MB, free: 8.484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.533, allocations: 83.94 kB / 452.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02383/0.5569, allocations: 5.278 MB / 457.4 MB, free: 3.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5569, allocations: 3.938 kB / 457.4 MB, free: 3.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.557, allocations: 0 / 457.4 MB, free: 3.109 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000581/0.5576, allocations: 426.8 kB / 457.8 MB, free: 2.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5576, allocations: 12.03 kB / 457.8 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.5577, allocations: 7.906 kB / 457.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.5578, allocations: 171 kB / 458 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.5579, allocations: 0 / 458 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.5579, allocations: 4 kB / 458 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.5581, allocations: 61.67 kB / 458.1 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5581, allocations: 3.953 kB / 458.1 MB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.5581, allocations: 8 kB / 458.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.5582, allocations: 7.984 kB / 458.1 MB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.5583, allocations: 55.91 kB / 458.2 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.5586, allocations: 193.5 kB / 458.4 MB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.5587, allocations: 54.64 kB / 458.4 MB, free: 1.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-05/0.5588, allocations: 24.12 kB / 458.4 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.5589, allocations: 34.56 kB / 458.5 MB, free: 1.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.5589, allocations: 4 kB / 458.5 MB, free: 1.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.03158/0.5905, allocations: 1.322 MB / 459.8 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.5905, allocations: 59.34 kB / 459.8 MB, free: 492 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.5907, allocations: 123.9 kB / 460 MB, free: 356 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.5908, allocations: 33.64 kB / 460 MB, free: 316 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.5909, allocations: 162.8 kB / 460.2 MB, free: 148 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.347e-05/0.5909, allocations: 35.38 kB / 460.2 MB, free: 112 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.591, allocations: 4 kB / 460.2 MB, free: 108 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5911, allocations: 314.8 kB / 460.5 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.5917, allocations: 91.95 kB / 460.6 MB, free: 15.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.5923, allocations: 95.95 kB / 460.7 MB, free: 15.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006237/0.5929, allocations: 96.22 kB / 460.8 MB, free: 15.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5929, allocations: 0 / 460.8 MB, free: 15.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001298/0.5942, allocations: 237.5 kB / 461 MB, free: 15.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.5943, allocations: 7.953 kB / 461 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.5943, allocations: 4 kB / 461 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5943, allocations: 0 / 461 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.5949, allocations: 43.89 kB / 461.1 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.5949, allocations: 4 kB / 461.1 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.5953, allocations: 15.98 kB / 461.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.5954, allocations: 4 kB / 461.1 MB, free: 15.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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.000151/0.5955, allocations: 121.7 kB / 461.2 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.5956, allocations: 7.906 kB / 461.2 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.5971, allocations: 298.1 kB / 461.5 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.5971, allocations: 4 kB / 461.5 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5971, allocations: 0 / 461.5 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5972, allocations: 0 / 461.5 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.6002, allocations: 0.6738 MB / 462.2 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6002, allocations: 0 / 462.2 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.6007, allocations: 39.97 kB / 462.2 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.6007, allocations: 0 / 462.2 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.6008, allocations: 8 kB / 462.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.6008, allocations: 4.078 kB / 462.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.6008, allocations: 11.94 kB / 462.2 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.6021, allocations: 341.9 kB / 462.6 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.6023, allocations: 105 kB / 462.7 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.695e-05/0.6024, allocations: 3.984 kB / 462.7 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.6028, allocations: 19.98 kB / 462.7 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.6029, allocations: 11.94 kB / 462.7 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.6029, allocations: 7.984 kB / 462.7 MB, free: 13.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.98e-05/0.603, allocations: 99.27 kB / 462.8 MB, free: 13.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.856e-06/0.603, allocations: 0 / 462.8 MB, free: 13.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007979/0.6038, allocations: 175.7 kB / 463 MB, free: 13.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 12 * 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.0009824/0.6048, allocations: 266.9 kB / 463.3 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.606, allocations: 203.8 kB / 463.5 MB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.606, allocations: 4 kB / 463.5 MB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005787/0.6066, allocations: 107.9 kB / 463.6 MB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.6069, allocations: 19.94 kB / 463.6 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.6094, allocations: 435.2 kB / 464 MB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.6098, allocations: 0.7043 MB / 464.7 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.61, allocations: 23.42 kB / 464.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.61, allocations: 3.938 kB / 464.7 MB, free: 11.34 MB / 394.7 MB Notification: Performance of Templates: time 0.01152/0.6216, allocations: 4.405 MB / 469.1 MB, free: 6.922 MB / 394.7 MB