Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009302/0.0009303, allocations: 104.8 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3954/0.3954, allocations: 44.82 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 67.84 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3614, allocations: 62.02 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003775/0.3652, allocations: 1.875 MB / 0.517 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3676, allocations: 1.413 MB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.3677, allocations: 6.625 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.368, allocations: 37.06 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.3682, allocations: 46.41 kB / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.3687, allocations: 209.5 kB / 0.5187 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3689, allocations: 101.3 kB / 0.5188 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.3689, allocations: 7.188 kB / 0.5188 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.3692, allocations: 55.09 kB / 0.5188 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.3693, allocations: 45.48 kB / 0.5189 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3693, allocations: 5.469 kB / 0.5189 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007983/0.3701, allocations: 0.5032 MB / 0.5194 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.3701, allocations: 15.2 kB / 0.5194 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.3702, allocations: 45.44 kB / 0.5194 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005633/0.3708, allocations: 363.2 kB / 0.5198 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3708, allocations: 0 / 0.5198 GB, free: 35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3708, allocations: 0 / 0.5198 GB, free: 35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3708, allocations: 0 / 0.5198 GB, free: 35 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.0005865/0.3714, allocations: 435.5 kB / 0.5202 GB, free: 34.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3715, allocations: 11.31 kB / 0.5202 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.3715, allocations: 10.22 kB / 0.5202 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.3716, allocations: 178.1 kB / 0.5204 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3717, allocations: 18.94 kB / 0.5204 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.3717, allocations: 14.47 kB / 0.5204 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.3721, allocations: 139.9 kB / 0.5205 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3721, allocations: 0 / 0.5205 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3721, allocations: 4 kB / 0.5205 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.3722, allocations: 2.5 kB / 0.5206 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.3725, allocations: 139.5 kB / 0.5207 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009426/0.3735, allocations: 0.5163 MB / 0.5212 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.3738, allocations: 106.7 kB / 0.5213 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.374, allocations: 49.36 kB / 0.5213 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.374, allocations: 0 / 0.5213 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.3741, allocations: 33.41 kB / 0.5214 GB, free: 33.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.3741, allocations: 0 / 0.5214 GB, free: 33.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.00059/0.3747, allocations: 170.6 kB / 0.5215 GB, free: 33.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.3747, allocations: 51.41 kB / 0.5216 GB, free: 33.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.3748, allocations: 114.5 kB / 0.5217 GB, free: 33.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3748, allocations: 25.7 kB / 0.5217 GB, free: 33.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.3749, allocations: 120.1 kB / 0.5218 GB, free: 33.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.3749, allocations: 40.42 kB / 0.5219 GB, free: 33.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.375, allocations: 29.61 kB / 0.5219 GB, free: 33.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.3751, allocations: 321.7 kB / 0.5222 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3752, allocations: 40.62 kB / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.3754, allocations: 76.8 kB / 0.5223 GB, free: 32.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.3757, allocations: 134.3 kB / 0.5224 GB, free: 32.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3758, allocations: 0 / 0.5224 GB, free: 32.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004264/0.3762, allocations: 170.7 kB / 0.5226 GB, free: 32.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3762, allocations: 5.656 kB / 0.5226 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3762, allocations: 0 / 0.5226 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3763, allocations: 2.875 kB / 0.5226 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.3765, allocations: 52.16 kB / 0.5227 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002532/0.3768, allocations: 0.5878 MB / 0.5232 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.377, allocations: 21.14 kB / 0.5233 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.377, allocations: 10.12 kB / 0.5233 GB, free: 32.07 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 8.356e-05/0.3771, allocations: 124.5 kB / 0.5234 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.3771, allocations: 10.06 kB / 0.5234 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00053/0.3777, allocations: 164.4 kB / 0.5236 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3777, allocations: 2.875 kB / 0.5236 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3777, allocations: 3.938 kB / 0.5236 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3777, allocations: 3.281 kB / 0.5236 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.378, allocations: 216.3 kB / 0.5238 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.378, allocations: 0 / 0.5238 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.3783, allocations: 51.47 kB / 0.5238 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3783, allocations: 3.031 kB / 0.5238 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3783, allocations: 4 kB / 0.5238 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002015/0.3785, allocations: 0.5821 MB / 0.5244 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3785, allocations: 2.25 kB / 0.5244 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.3797, allocations: 1.143 MB / 0.5255 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3798, allocations: 98.31 kB / 0.5256 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3798, allocations: 7.938 kB / 0.5256 GB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.38, allocations: 9.125 kB / 0.5256 GB, free: 29.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.38, allocations: 10.23 kB / 0.5256 GB, free: 29.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3801, allocations: 8.766 kB / 0.5256 GB, free: 29.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.841e-05/0.3801, allocations: 88.84 kB / 0.5257 GB, free: 29.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3801, allocations: 0 / 0.5257 GB, free: 29.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006202/0.3807, allocations: 78.56 kB / 0.5258 GB, free: 29.74 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.0003475/0.3811, allocations: 185.6 kB / 0.526 GB, free: 29.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004666/0.3816, allocations: 125.9 kB / 0.5261 GB, free: 29.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3816, allocations: 0 / 0.5261 GB, free: 29.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.3819, allocations: 75.28 kB / 0.5262 GB, free: 29.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3823, allocations: 16.89 kB / 0.5262 GB, free: 29.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008164/0.3831, allocations: 481.7 kB / 0.5266 GB, free: 29.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.3833, allocations: 0.7136 MB / 0.5273 GB, free: 28.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.3834, allocations: 22.34 kB / 0.5274 GB, free: 28.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.3835, allocations: 17.28 kB / 0.5274 GB, free: 28.47 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3835, allocations: 2.938 kB / 0.5274 GB, free: 28.47 MB / 378.7 MB Notification: Performance of Templates: time 0.006453/0.3899, allocations: 2.278 MB / 0.5296 GB, free: 28.26 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches