Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") 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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.0009949, allocations: 109.9 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3465/0.3465, allocations: 44.13 MB / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 51.92 kB / 457.8 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3515, allocations: 60.8 MB / 0.5064 GB, free: 38.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002817/0.3544, allocations: 1.849 MB / 0.5082 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3562, allocations: 1.371 MB / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.3563, allocations: 2.781 kB / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.3565, allocations: 35.2 kB / 0.5096 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.3566, allocations: 46.33 kB / 0.5096 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.357, allocations: 200.3 kB / 0.5098 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.283e-05/0.3571, allocations: 104.8 kB / 0.5099 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.3572, allocations: 10.67 kB / 0.5099 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.3573, allocations: 51.28 kB / 0.51 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.794e-05/0.3574, allocations: 43.56 kB / 0.51 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3574, allocations: 6.766 kB / 0.51 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005219/0.3579, allocations: 499.1 kB / 0.5105 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.3579, allocations: 13.98 kB / 0.5105 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.358, allocations: 48.2 kB / 0.5106 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.3584, allocations: 354.2 kB / 0.5109 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3584, allocations: 0 / 0.5109 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3584, allocations: 0 / 0.5109 GB, free: 35.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3584, allocations: 0 / 0.5109 GB, free: 35.69 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004592/0.3589, allocations: 453.9 kB / 0.5113 GB, free: 35.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3589, allocations: 8.531 kB / 0.5113 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.359, allocations: 10.53 kB / 0.5114 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.964e-05/0.3591, allocations: 173.8 kB / 0.5115 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3591, allocations: 7.25 kB / 0.5115 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.3591, allocations: 20.75 kB / 0.5116 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3594, allocations: 142.3 kB / 0.5117 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3594, allocations: 0 / 0.5117 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.3594, allocations: 10.95 kB / 0.5117 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3594, allocations: 2.969 kB / 0.5117 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.3597, allocations: 131.7 kB / 0.5118 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.3604, allocations: 0.5145 MB / 0.5123 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.3606, allocations: 110.7 kB / 0.5124 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3608, allocations: 48.11 kB / 0.5125 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.3608, allocations: 0 / 0.5125 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.3608, allocations: 33.25 kB / 0.5125 GB, free: 34.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.3608, allocations: 0 / 0.5125 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004342/0.3613, allocations: 168.4 kB / 0.5127 GB, free: 34.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.3613, allocations: 53.88 kB / 0.5127 GB, free: 34.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.3614, allocations: 118.9 kB / 0.5128 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.3614, allocations: 29.7 kB / 0.5129 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.3614, allocations: 119.6 kB / 0.513 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.3615, allocations: 33.41 kB / 0.513 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.3615, allocations: 34.38 kB / 0.513 GB, free: 33.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.3616, allocations: 318.1 kB / 0.5133 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.3617, allocations: 41.97 kB / 0.5134 GB, free: 33.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3618, allocations: 78.7 kB / 0.5135 GB, free: 33.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.362, allocations: 140.5 kB / 0.5136 GB, free: 33.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3621, allocations: 0 / 0.5136 GB, free: 33.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002975/0.3624, allocations: 158 kB / 0.5137 GB, free: 33.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3624, allocations: 5.875 kB / 0.5138 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3624, allocations: 3.938 kB / 0.5138 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3624, allocations: 3.062 kB / 0.5138 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.3626, allocations: 42.77 kB / 0.5138 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002634/0.3629, allocations: 0.5949 MB / 0.5144 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.363, allocations: 26.83 kB / 0.5144 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.363, allocations: 6 kB / 0.5144 GB, free: 32.75 MB / 378.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.507e-05/0.3631, allocations: 116.7 kB / 0.5145 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.3631, allocations: 9.812 kB / 0.5145 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.3635, allocations: 171 kB / 0.5147 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3635, allocations: 3 kB / 0.5147 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3635, allocations: 3.938 kB / 0.5147 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3635, allocations: 3.328 kB / 0.5147 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3637, allocations: 220.8 kB / 0.5149 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3638, allocations: 0 / 0.5149 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.364, allocations: 44.55 kB / 0.515 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.364, allocations: 4 kB / 0.515 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.364, allocations: 3.094 kB / 0.515 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001724/0.3642, allocations: 0.5842 MB / 0.5155 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3642, allocations: 3.281 kB / 0.5155 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009328/0.3651, allocations: 1.142 MB / 0.5167 GB, free: 30.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.3652, allocations: 100.7 kB / 0.5168 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3652, allocations: 1.094 kB / 0.5168 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3653, allocations: 16.06 kB / 0.5168 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.3654, allocations: 8.156 kB / 0.5168 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3654, allocations: 4.281 kB / 0.5168 GB, free: 30.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.035e-05/0.3654, allocations: 90.38 kB / 0.5169 GB, free: 30.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3654, allocations: 0 / 0.5169 GB, free: 30.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004232/0.3658, allocations: 74.97 kB / 0.5169 GB, free: 30.43 MB / 378.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002916/0.3661, allocations: 171.7 kB / 0.5171 GB, free: 30.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.3665, allocations: 126 kB / 0.5172 GB, free: 30.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3665, allocations: 4.062 kB / 0.5172 GB, free: 30.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.3667, allocations: 71.75 kB / 0.5173 GB, free: 30.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.3671, allocations: 16.33 kB / 0.5173 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.3677, allocations: 498.2 kB / 0.5178 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.3678, allocations: 0.7071 MB / 0.5185 GB, free: 29.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.586e-05/0.3679, allocations: 18 kB / 0.5185 GB, free: 29.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.368, allocations: 16.97 kB / 0.5185 GB, free: 29.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.368, allocations: 3.062 kB / 0.5185 GB, free: 29.16 MB / 378.7 MB Notification: Performance of Templates: time 0.00477/0.3728, allocations: 2.182 MB / 0.5206 GB, free: 28.98 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches