Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.139/2.139, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.798e-05, allocations: 0 / 271.3 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.4315, allocations: 80.72 MB / 400.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000507/0.4321, allocations: 91.94 kB / 400.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05795/0.4901, allocations: 7.584 MB / 408.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4901, allocations: 0 / 408.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.4902, allocations: 4 kB / 408.4 MB, free: 8.004 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000933/0.4911, allocations: 434.8 kB / 408.9 MB, free: 7.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.4912, allocations: 8.031 kB / 408.9 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.4913, allocations: 11.91 kB / 408.9 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.4915, allocations: 182.8 kB / 409.1 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.4916, allocations: 4 kB / 409.1 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.4917, allocations: 8 kB / 409.1 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004411/0.4921, allocations: 104 kB / 409.2 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.4925, allocations: 114.1 kB / 409.3 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.4926, allocations: 0 / 409.3 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.4926, allocations: 3.938 kB / 409.3 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.4926, allocations: 0 / 409.3 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.4943, allocations: 0.4953 MB / 409.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.4947, allocations: 82.58 kB / 409.9 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.4949, allocations: 40.86 kB / 409.9 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.4949, allocations: 3.984 kB / 409.9 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.495, allocations: 30.56 kB / 409.9 MB, free: 6.336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 5.011e-06/0.495, allocations: 0 / 409.9 MB, free: 6.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004793/0.4955, allocations: 93.61 kB / 410 MB, free: 6.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.4956, allocations: 55.39 kB / 410.1 MB, free: 6.172 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.4958, allocations: 109 kB / 410.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.4958, allocations: 25.7 kB / 410.2 MB, free: 6.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.496, allocations: 186.1 kB / 410.4 MB, free: 5.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.4961, allocations: 35.45 kB / 410.4 MB, free: 5.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.4961, allocations: 224 / 410.4 MB, free: 5.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.4964, allocations: 323.8 kB / 410.7 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.4965, allocations: 23.94 kB / 410.8 MB, free: 5.457 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.4967, allocations: 61.16 kB / 410.8 MB, free: 5.379 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.4969, allocations: 39.91 kB / 410.9 MB, free: 5.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.105e-06/0.4969, allocations: 0 / 410.9 MB, free: 5.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005055/0.4974, allocations: 113.5 kB / 411 MB, free: 5.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4975, allocations: 8 kB / 411 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.816e-06/0.4975, allocations: 4.156 kB / 411 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/0.4976, allocations: 4 kB / 411 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.4981, allocations: 51.89 kB / 411 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006802/0.4988, allocations: 0.5861 MB / 411.6 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.4991, allocations: 19.83 kB / 411.6 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.4992, allocations: 8.094 kB / 411.7 MB, free: 4.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.4994, allocations: 116.8 kB / 411.8 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.4995, allocations: 7.906 kB / 411.8 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006641/0.5002, allocations: 143.6 kB / 411.9 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.318e-06/0.5002, allocations: 0 / 411.9 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.5002, allocations: 0 / 411.9 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.256e-06/0.5002, allocations: 0 / 411.9 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.5008, allocations: 182.1 kB / 412.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.382e-06/0.5008, allocations: 3.984 kB / 412.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.5014, allocations: 43.91 kB / 412.1 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.765e-06/0.5014, allocations: 0 / 412.1 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.5014, allocations: 4 kB / 412.1 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006382/0.5021, allocations: 0.5821 MB / 412.7 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/0.5021, allocations: 4.031 kB / 412.7 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.5028, allocations: 245.3 kB / 413 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.503, allocations: 101 kB / 413.1 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.5031, allocations: 0 / 413.1 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.5034, allocations: 20.14 kB / 413.1 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.5035, allocations: 7.984 kB / 413.1 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.5036, allocations: 4 kB / 413.1 MB, free: 2.969 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.853e-05/0.5037, allocations: 87.28 kB / 413.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.143e-06/0.5037, allocations: 0 / 413.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009663/0.5047, allocations: 83.77 kB / 413.3 MB, free: 2.801 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006526/0.5054, allocations: 211.2 kB / 413.5 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005409/0.5059, allocations: 88.06 kB / 413.6 MB, free: 2.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.72e-06/0.506, allocations: 4 kB / 413.6 MB, free: 2.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.5063, allocations: 48.3 kB / 413.6 MB, free: 2.449 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.5067, allocations: 17.53 kB / 413.6 MB, free: 2.434 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009691/0.5077, allocations: 201 kB / 413.8 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.5082, allocations: 0.708 MB / 414.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.468e-05/0.5084, allocations: 19.44 kB / 414.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of SimCode: time 2.504e-06/0.5084, allocations: 0 / 414.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of Templates: time 0.01032/0.5187, allocations: 2.718 MB / 417.3 MB, free: 14.74 MB / 362.7 MB