Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 179.7 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.613/1.613, 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.0008749/0.0008749, allocations: 93.05 kB / 270.9 MB, free: 8.355 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.3437/0.3437, allocations: 43.57 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004297, allocations: 16 kB / 431.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 58.85 MB / 490.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002163/0.1361, allocations: 1.5 MB / 491.8 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1372, allocations: 0.5807 MB / 492.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1374, allocations: 0 / 492.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.1377, allocations: 43.75 kB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.1379, allocations: 71.64 kB / 492.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1383, allocations: 95.62 kB / 492.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.1386, allocations: 258.8 kB / 492.8 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.1387, allocations: 36.22 kB / 492.8 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1389, allocations: 71.59 kB / 492.9 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.139, allocations: 107.5 kB / 493 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.1391, allocations: 4 kB / 493 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.1395, allocations: 215.7 kB / 493.2 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.1395, allocations: 55.75 kB / 493.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.1396, allocations: 57.58 kB / 493.3 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.14, allocations: 231.6 kB / 493.6 MB, free: 7.625 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.14, allocations: 0 / 493.6 MB, free: 7.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.14, allocations: 0 / 493.6 MB, free: 7.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.14, allocations: 3.938 kB / 493.6 MB, free: 7.621 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007523/0.1408, allocations: 0.4913 MB / 494.1 MB, free: 7.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1408, allocations: 8.031 kB / 494.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.1427, allocations: 203.4 kB / 494.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.1431, allocations: 274.6 kB / 494.5 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.1431, allocations: 16.5 kB / 494.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.1432, allocations: 27.94 kB / 494.6 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009599/0.1442, allocations: 0.5005 MB / 495.1 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1442, allocations: 0 / 495.1 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.1442, allocations: 12 kB / 495.1 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.1443, allocations: 24.55 kB / 495.1 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.1455, allocations: 0.5954 MB / 495.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.1479, allocations: 1.169 MB / 496.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.1486, allocations: 178.3 kB / 497.1 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/0.149, allocations: 88.75 kB / 497.1 MB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.149, allocations: 12 kB / 497.2 MB, free: 3.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1491, allocations: 30.56 kB / 497.2 MB, free: 3.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1491, allocations: 0 / 497.2 MB, free: 3.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001279/0.1504, allocations: 325.2 kB / 497.5 MB, free: 3.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1504, allocations: 55.34 kB / 497.6 MB, free: 3.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.1507, allocations: 278.5 kB / 497.8 MB, free: 3.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1508, allocations: 25.7 kB / 497.8 MB, free: 3.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1509, allocations: 171.5 kB / 498 MB, free: 2.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.151, allocations: 23.66 kB / 498 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.151, allocations: 0 / 498 MB, free: 2.902 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1511, allocations: 330.8 kB / 498.4 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.1515, allocations: 99.89 kB / 498.5 MB, free: 2.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.1519, allocations: 119.3 kB / 498.6 MB, free: 2.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.1523, allocations: 99.91 kB / 498.7 MB, free: 2.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1523, allocations: 4 kB / 498.7 MB, free: 2.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000889/0.1532, allocations: 281 kB / 499 MB, free: 1.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1532, allocations: 4 kB / 499 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1532, allocations: 4 kB / 499 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1533, allocations: 0 / 499 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006322/0.1596, allocations: 475.2 kB / 499.4 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1898/0.3494, allocations: 1.941 MB / 0.4896 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.35, allocations: 44.39 kB / 0.4897 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.35, allocations: 12.47 kB / 0.4897 GB, free: 42.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.3502, allocations: 154.9 kB / 0.4898 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.3503, allocations: 20.44 kB / 0.4898 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.453e-05/0.3504, allocations: 30.58 kB / 0.4899 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3504, allocations: 4.062 kB / 0.4899 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3504, allocations: 0.875 kB / 0.4899 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3504, allocations: 0.5625 kB / 0.4899 GB, free: 42.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.3508, allocations: 285.6 kB / 0.4901 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3508, allocations: 2.219 kB / 0.4901 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006372/0.3572, allocations: 455.4 kB / 0.4906 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.3572, allocations: 0.9688 kB / 0.4906 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.3572, allocations: 9.078 kB / 0.4906 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/0.3597, allocations: 1.95 MB / 0.4925 GB, free: 40.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3597, allocations: 0 / 0.4925 GB, free: 40.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/0.3606, allocations: 334.7 kB / 0.4928 GB, free: 40.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.3607, allocations: 100.2 kB / 0.4929 GB, free: 40.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.3607, allocations: 1.219 kB / 0.4929 GB, free: 40.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.3611, allocations: 25.45 kB / 0.4929 GB, free: 40.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.3612, allocations: 10.28 kB / 0.4929 GB, free: 40.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.3612, allocations: 4.875 kB / 0.4929 GB, free: 40.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002127/0.3614, allocations: 208.5 kB / 0.4931 GB, free: 40.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3615, allocations: 3.438 kB / 0.4932 GB, free: 40.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.3618, allocations: 70.75 kB / 0.4932 GB, free: 40.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000181/0.362, allocations: 107.3 kB / 0.4933 GB, free: 40.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006439/0.3685, allocations: 0.6058 MB / 0.4939 GB, free: 40.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3685, allocations: 0.7656 kB / 0.4939 GB, free: 40.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005975/0.3745, allocations: 0.4972 MB / 0.4944 GB, free: 40.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.3749, allocations: 40.19 kB / 0.4944 GB, free: 40.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.376, allocations: 0.5638 MB / 0.495 GB, free: 39.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.3763, allocations: 0.7729 MB / 0.4957 GB, free: 39.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.3764, allocations: 21.02 kB / 0.4958 GB, free: 39.23 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.3765, allocations: 4.547 kB / 0.4958 GB, free: 39.23 MB / 378.7 MB Notification: Performance of Templates: time 0.008805/0.3853, allocations: 6.613 MB / 0.5022 GB, free: 38.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches