Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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.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.143/2.143, allocations: 235.1 MB / 243 MB, free: 9.512 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.391e-05/1.407e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2793, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4073, allocations: 81.5 MB / 439.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.4076, allocations: 79.95 kB / 439.6 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02143/0.429, allocations: 5.182 MB / 444.8 MB, free: 8.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.362e-06/0.4291, allocations: 0 / 444.8 MB, free: 8.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.4291, allocations: 4 kB / 444.8 MB, free: 8.066 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.0005239/0.4296, allocations: 406.1 kB / 445.2 MB, free: 7.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4297, allocations: 8.031 kB / 445.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.4297, allocations: 7.906 kB / 445.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.4299, allocations: 178.8 kB / 445.4 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4299, allocations: 4 kB / 445.4 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.4299, allocations: 0 / 445.4 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001377/0.4301, allocations: 55.97 kB / 445.5 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.4302, allocations: 61.64 kB / 445.5 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4302, allocations: 0 / 445.5 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.793e-06/0.4303, allocations: 0 / 445.5 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.035e-06/0.4303, allocations: 0 / 445.5 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.4305, allocations: 170.2 kB / 445.7 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.4306, allocations: 54.5 kB / 445.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.563e-05/0.4307, allocations: 36.86 kB / 445.8 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-05/0.4308, allocations: 19.98 kB / 445.8 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.4308, allocations: 30.56 kB / 445.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.562e-06/0.4309, allocations: 0 / 445.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.02133/0.4522, allocations: 1.622 MB / 447.4 MB, free: 5.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4523, allocations: 59.39 kB / 447.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4524, allocations: 109.2 kB / 447.6 MB, free: 5.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.4525, allocations: 25.7 kB / 447.6 MB, free: 5.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.4526, allocations: 158.8 kB / 447.8 MB, free: 4.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.4527, allocations: 35.45 kB / 447.8 MB, free: 4.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.4527, allocations: 0 / 447.8 MB, free: 4.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4529, allocations: 318.8 kB / 448.1 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.4531, allocations: 75.92 kB / 448.2 MB, free: 4.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.4532, allocations: 64 kB / 448.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.4549, allocations: 227.8 kB / 448.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.771e-06/0.455, allocations: 0 / 448.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001988/0.457, allocations: 353.2 kB / 448.8 MB, free: 3.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.457, allocations: 4.781 kB / 448.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.457, allocations: 4 kB / 448.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4571, allocations: 3.953 kB / 448.8 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.4575, allocations: 43.95 kB / 448.9 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.791e-06/0.4575, allocations: 4 kB / 448.9 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.4578, allocations: 11.98 kB / 448.9 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.4578, allocations: 4 kB / 448.9 MB, free: 3.734 MB / 378.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 () * 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.0001239/0.458, allocations: 111.5 kB / 449 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.458, allocations: 7.906 kB / 449 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.4602, allocations: 382 kB / 449.4 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.705e-06/0.4602, allocations: 0 / 449.4 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.312e-06/0.4603, allocations: 3.953 kB / 449.4 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.419e-06/0.4603, allocations: 7.984 kB / 449.4 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.4636, allocations: 0.7409 MB / 450.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.986e-06/0.4636, allocations: 0 / 450.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.464, allocations: 39.97 kB / 450.2 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.464, allocations: 3.953 kB / 450.2 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.464, allocations: 4 kB / 450.2 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.464, allocations: 4 kB / 450.2 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.219e-06/0.4641, allocations: 8.031 kB / 450.2 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.4662, allocations: 483.5 kB / 450.7 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.4664, allocations: 113 kB / 450.8 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.4664, allocations: 0 / 450.8 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.4668, allocations: 11.98 kB / 450.8 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.4668, allocations: 15.97 kB / 450.8 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.4669, allocations: 11.94 kB / 450.8 MB, free: 1.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.035e-05/0.467, allocations: 101.6 kB / 450.9 MB, free: 1.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.12e-06/0.467, allocations: 0 / 450.9 MB, free: 1.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007388/0.4677, allocations: 179.7 kB / 451.1 MB, free: 1.41 MB / 378.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 () * 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.0008168/0.4685, allocations: 250.9 kB / 451.4 MB, free: 1.152 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.469, allocations: 160 kB / 451.5 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.54e-06/0.4691, allocations: 0 / 451.5 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.4693, allocations: 91.91 kB / 451.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.4696, allocations: 15.98 kB / 451.6 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.471, allocations: 276.6 kB / 451.9 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.4715, allocations: 0.7002 MB / 452.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.4717, allocations: 19.42 kB / 452.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of SimCode: time 2.126e-06/0.4717, allocations: 4 kB / 452.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of Templates: time 0.009539/0.4812, allocations: 4.464 MB / 457.1 MB, free: 11.36 MB / 394.7 MB