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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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|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|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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 118.4 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 183 kB / 18.71 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1929/0.1929, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3353, allocations: 60.81 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002781/0.3381, allocations: 1.805 MB / 0.5207 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3399, allocations: 1.344 MB / 0.522 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.34, allocations: 1.188 kB / 0.522 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.3402, allocations: 37.25 kB / 0.522 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.3403, allocations: 53.3 kB / 0.5221 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.3408, allocations: 247.3 kB / 0.5223 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.3409, allocations: 106 kB / 0.5224 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.341, allocations: 7 kB / 0.5224 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3411, allocations: 44.44 kB / 0.5225 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.46e-05/0.3412, allocations: 50.91 kB / 0.5225 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3412, allocations: 4.469 kB / 0.5225 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007161/0.3419, allocations: 0.4998 MB / 0.523 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.342, allocations: 22.38 kB / 0.523 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.342, allocations: 37.44 kB / 0.5231 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.3425, allocations: 361.6 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3425, allocations: 0 / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3425, allocations: 0 / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3426, allocations: 0 / 0.5234 GB, free: 0.8594 MB / 382.1 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.00052/0.3431, allocations: 443.1 kB / 0.5238 GB, free: 448 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3431, allocations: 9.25 kB / 0.5238 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.3432, allocations: 14.72 kB / 0.5239 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.92e-05/0.3433, allocations: 177.4 kB / 0.524 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.3433, allocations: 9.031 kB / 0.524 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.3433, allocations: 16.19 kB / 0.524 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.3436, allocations: 139.4 kB / 0.5242 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3437, allocations: 0 / 0.5242 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3437, allocations: 5.375 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.3437, allocations: 3.594 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.344, allocations: 136.5 kB / 0.5243 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009703/0.345, allocations: 0.5219 MB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.3453, allocations: 105.5 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.3455, allocations: 53.09 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.3455, allocations: 2.109 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3455, allocations: 36.28 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.3455, allocations: 0 / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005341/0.3461, allocations: 160 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3461, allocations: 52.41 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3462, allocations: 120.3 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.3463, allocations: 29.7 kB / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.3463, allocations: 109 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.3464, allocations: 45.52 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.3465, allocations: 35.12 kB / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3466, allocations: 322.8 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.3467, allocations: 38.2 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3469, allocations: 78.38 kB / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.3471, allocations: 133.6 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3471, allocations: 1.375 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003113/0.3475, allocations: 164.6 kB / 0.5262 GB, free: 14.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3475, allocations: 5.5 kB / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3475, allocations: 1.375 kB / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3475, allocations: 2.75 kB / 0.5263 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3477, allocations: 49 kB / 0.5263 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003136/0.348, allocations: 0.5939 MB / 0.5269 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.803e-05/0.3481, allocations: 17.48 kB / 0.5269 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.3482, allocations: 10.25 kB / 0.5269 GB, free: 13.91 MB / 398.1 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 9.292e-05/0.3483, allocations: 122.2 kB / 0.527 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.3483, allocations: 8.734 kB / 0.527 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.3487, allocations: 170.2 kB / 0.5272 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-06/0.3487, allocations: 3.547 kB / 0.5272 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3487, allocations: 3.938 kB / 0.5272 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3487, allocations: 0.6094 kB / 0.5272 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.349, allocations: 220.2 kB / 0.5274 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.349, allocations: 0 / 0.5274 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.3492, allocations: 46.16 kB / 0.5275 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3492, allocations: 5.375 kB / 0.5275 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3492, allocations: 1.375 kB / 0.5275 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003034/0.3495, allocations: 0.5877 MB / 0.528 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3496, allocations: 0 / 0.528 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.35, allocations: 300.8 kB / 0.5283 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.3501, allocations: 94.48 kB / 0.5284 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3502, allocations: 4 kB / 0.5284 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3503, allocations: 8.109 kB / 0.5284 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.3503, allocations: 13.48 kB / 0.5284 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.3503, allocations: 4.125 kB / 0.5284 GB, free: 12.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.3504, allocations: 90.14 kB / 0.5285 GB, free: 12.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3504, allocations: 64 / 0.5285 GB, free: 12.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.3508, allocations: 80.33 kB / 0.5286 GB, free: 12.4 MB / 398.1 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.000307/0.3511, allocations: 177.6 kB / 0.5288 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003987/0.3515, allocations: 125.6 kB / 0.5289 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.3515, allocations: 5.281 kB / 0.5289 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.3517, allocations: 70.89 kB / 0.529 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.352, allocations: 16.02 kB / 0.529 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.3526, allocations: 315.4 kB / 0.5293 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3529, allocations: 0.706 MB / 0.53 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.037e-05/0.353, allocations: 13.16 kB / 0.53 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.353, allocations: 23.11 kB / 0.53 GB, free: 11.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.353, allocations: 0 / 0.53 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Templates: time 0.005073/0.3581, allocations: 2.263 MB / 0.5322 GB, free: 10.1 MB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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