Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 180.3 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 79.81 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3063/0.3063, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003878, allocations: 8 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.119, allocations: 58.85 MB / 490.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.001991/0.1211, allocations: 1.488 MB / 491.7 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1229, allocations: 1.272 MB / 493 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.123, allocations: 0 / 493 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.1232, allocations: 35.77 kB / 493 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.1233, allocations: 43.75 kB / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.1238, allocations: 203.3 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1239, allocations: 95.45 kB / 493.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.1239, allocations: 9.109 kB / 493.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1241, allocations: 51.72 kB / 493.4 MB, free: 8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.1241, allocations: 43.77 kB / 493.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1242, allocations: 8 kB / 493.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006037/0.1248, allocations: 479 kB / 494 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.1248, allocations: 15.92 kB / 494 MB, free: 7.465 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.1248, allocations: 41.64 kB / 494 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.1252, allocations: 215.8 kB / 494.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1252, allocations: 0 / 494.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1252, allocations: 0 / 494.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1252, allocations: 0 / 494.2 MB, free: 7.207 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.0005482/0.1258, allocations: 431 kB / 494.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1258, allocations: 8.031 kB / 494.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.1259, allocations: 19.7 kB / 494.7 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.126, allocations: 178.8 kB / 494.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.126, allocations: 8 kB / 494.9 MB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.126, allocations: 12 kB / 494.9 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1264, allocations: 157.6 kB / 495 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1264, allocations: 3.984 kB / 495 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1264, allocations: 7.938 kB / 495 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1264, allocations: 4 kB / 495 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.1267, allocations: 143.9 kB / 495.2 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008487/0.1276, allocations: 0.5144 MB / 495.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.1279, allocations: 102.7 kB / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.128, allocations: 56.83 kB / 495.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.1281, allocations: 3.938 kB / 495.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.1281, allocations: 38.56 kB / 495.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1281, allocations: 0 / 495.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004797/0.1286, allocations: 181.5 kB / 496.1 MB, free: 5.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1286, allocations: 51.41 kB / 496.1 MB, free: 5.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.1287, allocations: 118 kB / 496.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1287, allocations: 29.69 kB / 496.3 MB, free: 4.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.1288, allocations: 107.8 kB / 496.4 MB, free: 4.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1288, allocations: 39.41 kB / 496.4 MB, free: 4.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.1289, allocations: 4 kB / 496.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.129, allocations: 318.8 kB / 496.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.1291, allocations: 51.91 kB / 496.8 MB, free: 4.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1292, allocations: 84.77 kB / 496.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1294, allocations: 56.36 kB / 496.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1294, allocations: 0 / 496.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003295/0.1297, allocations: 173.3 kB / 497.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1298, allocations: 4 kB / 497.1 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1298, allocations: 4 kB / 497.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1298, allocations: 0 / 497.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.13, allocations: 51.91 kB / 497.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003569/0.1304, allocations: 0.5943 MB / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.1305, allocations: 15.92 kB / 497.7 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1305, allocations: 12 kB / 497.8 MB, free: 3.395 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 (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.0001029/0.1306, allocations: 125.7 kB / 497.9 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.1307, allocations: 15.94 kB / 497.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.1311, allocations: 185.8 kB / 498.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1311, allocations: 0 / 498.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1311, allocations: 0 / 498.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1311, allocations: 0 / 498.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.1314, allocations: 213.6 kB / 498.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1314, allocations: 7.938 kB / 498.3 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.1316, allocations: 43.97 kB / 498.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1316, allocations: 0 / 498.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1316, allocations: 0 / 498.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003322/0.132, allocations: 0.5977 MB / 498.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.132, allocations: 3.984 kB / 498.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.1325, allocations: 311.3 kB / 499.2 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.1326, allocations: 96.97 kB / 499.3 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.1326, allocations: 7.938 kB / 499.3 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1327, allocations: 8 kB / 499.4 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1328, allocations: 12.05 kB / 499.4 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1328, allocations: 11.98 kB / 499.4 MB, free: 1.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.642e-05/0.1329, allocations: 87.28 kB / 499.5 MB, free: 1.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1329, allocations: 0 / 499.5 MB, free: 1.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.1333, allocations: 75.83 kB / 499.5 MB, free: 1.496 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 (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.0003125/0.1336, allocations: 171 kB / 499.7 MB, free: 1.316 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.134, allocations: 140.1 kB / 499.8 MB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.134, allocations: 0 / 499.8 MB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.1342, allocations: 79.89 kB / 499.9 MB, free: 1.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.1345, allocations: 11.94 kB / 499.9 MB, free: 1.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.1352, allocations: 393.9 kB / 0.4886 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1769/0.3121, allocations: 0.7084 MB / 0.4893 GB, free: 42.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.594e-05/0.3122, allocations: 23.72 kB / 0.4893 GB, free: 42.83 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3122, allocations: 0 / 0.4893 GB, free: 42.83 MB / 378.7 MB Notification: Performance of Templates: time 0.004696/0.3169, allocations: 2.474 MB / 0.4917 GB, free: 42.71 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches