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.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.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.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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004374, allocations: 11.98 kB / 314.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.346, allocations: 54.87 MB / 369.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002441/0.3485, allocations: 1.434 MB / 370.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.351, allocations: 1.21 MB / 371.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.3511, allocations: 0 / 371.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.3513, allocations: 35.81 kB / 371.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.3515, allocations: 51.84 kB / 371.9 MB, free: 10 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.3521, allocations: 199.5 kB / 372.1 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3523, allocations: 71.81 kB / 372.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.095e-05/0.3523, allocations: 13.11 kB / 372.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.3525, allocations: 47.78 kB / 372.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.3526, allocations: 43.83 kB / 372.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3526, allocations: 4 kB / 372.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008811/0.3535, allocations: 495.2 kB / 372.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.3536, allocations: 15.91 kB / 372.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.3536, allocations: 41.64 kB / 372.9 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.3541, allocations: 216.3 kB / 373.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.931e-06/0.3541, allocations: 0 / 373.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.306e-06/0.3541, allocations: 4 kB / 373.1 MB, free: 8.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.359e-06/0.3542, allocations: 0 / 373.1 MB, free: 8.867 MB / 298.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.0006288/0.3548, allocations: 427 kB / 373.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3548, allocations: 8.031 kB / 373.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.3549, allocations: 19.8 kB / 373.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.3551, allocations: 171 kB / 373.7 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3551, allocations: 8 kB / 373.7 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.3552, allocations: 19.94 kB / 373.7 MB, free: 8.141 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.3555, allocations: 141.6 kB / 373.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3556, allocations: 3.938 kB / 373.8 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.3556, allocations: 4 kB / 373.9 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.3556, allocations: 7.953 kB / 373.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.356, allocations: 143.9 kB / 374 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.3571, allocations: 0.526 MB / 374.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.3575, allocations: 102.6 kB / 374.6 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.3576, allocations: 4 kB / 374.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.3576, allocations: 38.5 kB / 374.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 2.538e-06/0.3576, allocations: 0 / 374.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006489/0.3583, allocations: 177.5 kB / 374.8 MB, free: 6.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.3583, allocations: 59.36 kB / 374.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3585, allocations: 118 kB / 375 MB, free: 6.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3585, allocations: 25.7 kB / 375 MB, free: 6.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.3586, allocations: 185.9 kB / 375.2 MB, free: 6.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.3587, allocations: 35.45 kB / 375.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.3587, allocations: 8 kB / 375.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3589, allocations: 314.8 kB / 375.6 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.3591, allocations: 47.91 kB / 375.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.3593, allocations: 82.39 kB / 375.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.3595, allocations: 55.97 kB / 375.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-06/0.3595, allocations: 0 / 375.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004799/0.36, allocations: 173.8 kB / 375.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.36, allocations: 4 kB / 375.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.36, allocations: 0 / 375.9 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3601, allocations: 4 kB / 375.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.3604, allocations: 51.89 kB / 376 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004858/0.3609, allocations: 0.59 MB / 376.6 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.361, allocations: 23.83 kB / 376.6 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.3611, allocations: 4 kB / 376.6 MB, free: 5.062 MB / 298.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 () * Number of clocked 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.0001331/0.3612, allocations: 117.8 kB / 376.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.3613, allocations: 11.86 kB / 376.7 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.3619, allocations: 194.3 kB / 376.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.102e-06/0.3619, allocations: 0 / 376.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.283e-06/0.3619, allocations: 0 / 376.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.992e-06/0.3619, allocations: 0 / 376.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.3623, allocations: 213.5 kB / 377.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.175e-06/0.3623, allocations: 4 kB / 377.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.3626, allocations: 51.89 kB / 377.2 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.042e-06/0.3626, allocations: 0 / 377.2 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.3627, allocations: 3.953 kB / 377.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004432/0.3631, allocations: 0.586 MB / 377.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.192e-06/0.3631, allocations: 0 / 377.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006555/0.3638, allocations: 311.4 kB / 378.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3639, allocations: 105 kB / 378.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.364, allocations: 0 / 378.2 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.3641, allocations: 11.98 kB / 378.2 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.3642, allocations: 16.05 kB / 378.2 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.3642, allocations: 7.984 kB / 378.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.684e-05/0.3643, allocations: 91.2 kB / 378.3 MB, free: 3.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.3643, allocations: 7.938 kB / 378.3 MB, free: 3.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004789/0.3648, allocations: 71.84 kB / 378.4 MB, free: 3.152 MB / 298.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 () * Number of clocked 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.0003718/0.3652, allocations: 179.1 kB / 378.5 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.3658, allocations: 140.2 kB / 378.7 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.657e-06/0.3658, allocations: 0 / 378.7 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.3661, allocations: 80.14 kB / 378.8 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3664, allocations: 12.16 kB / 378.8 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008527/0.3672, allocations: 394.1 kB / 379.2 MB, free: 2.328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.3676, allocations: 0.7121 MB / 379.9 MB, free: 1.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.3677, allocations: 19.38 kB / 379.9 MB, free: 1.57 MB / 298.7 MB Notification: Performance of SimCode: time 1.591e-06/0.3677, allocations: 3.938 kB / 379.9 MB, free: 1.566 MB / 298.7 MB Notification: Performance of Templates: time 0.005796/0.3735, allocations: 2.516 MB / 382.4 MB, free: 15.05 MB / 314.7 MB