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.002452/0.002452, allocations: 183.5 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001749/0.001749, allocations: 100.4 kB / 270.9 MB, free: 8.383 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.5141/0.5141, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004803, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.126, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002679/0.1288, allocations: 1.469 MB / 491.7 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1302, allocations: 0.5497 MB / 492.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1304, allocations: 0 / 492.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.1308, allocations: 51.73 kB / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.131, allocations: 51.83 kB / 492.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.1315, allocations: 95.73 kB / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.1318, allocations: 147.7 kB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1319, allocations: 40.2 kB / 492.6 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.132, allocations: 67.66 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1322, allocations: 87.59 kB / 492.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.1322, allocations: 4 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005925/0.1328, allocations: 211.8 kB / 493 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.975e-05/0.133, allocations: 51.8 kB / 493 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1331, allocations: 61.58 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.1336, allocations: 211.8 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1336, allocations: 0 / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1336, allocations: 4 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1336, allocations: 0 / 493.3 MB, free: 8.125 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.000877/0.1345, allocations: 0.4912 MB / 493.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1346, allocations: 8.031 kB / 493.8 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.1378, allocations: 207.3 kB / 494 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.1384, allocations: 270.7 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.1385, allocations: 20.55 kB / 494.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-05/0.1386, allocations: 20 kB / 494.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.1403, allocations: 0.5004 MB / 494.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1403, allocations: 4 kB / 494.8 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/0.1404, allocations: 11.98 kB / 494.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.1405, allocations: 24.55 kB / 494.9 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.1428, allocations: 0.5915 MB / 495.5 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.1466, allocations: 1.173 MB / 496.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.1479, allocations: 178.3 kB / 496.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1479, allocations: 4.141 kB / 496.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.148, allocations: 30.56 kB / 496.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.855e-06/0.148, allocations: 0 / 496.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.002457/0.1505, allocations: 321.1 kB / 497.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.1506, allocations: 59.36 kB / 497.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.1511, allocations: 274.5 kB / 497.5 MB, free: 3.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.1512, allocations: 29.7 kB / 497.5 MB, free: 3.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.1513, allocations: 221.9 kB / 497.7 MB, free: 3.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.1514, allocations: 23.66 kB / 497.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.1515, allocations: 0 / 497.7 MB, free: 3.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1516, allocations: 322.8 kB / 498.1 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007008/0.1523, allocations: 95.84 kB / 498.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.1531, allocations: 123.3 kB / 498.3 MB, free: 2.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.1538, allocations: 99.91 kB / 498.4 MB, free: 2.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1538, allocations: 0 / 498.4 MB, free: 2.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001581/0.1554, allocations: 265.2 kB / 498.6 MB, free: 2.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.1555, allocations: 8 kB / 498.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1555, allocations: 96 / 498.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1555, allocations: 3.938 kB / 498.6 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/0.1671, allocations: 471.4 kB / 499.1 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004725/0.1719, allocations: 1.945 MB / 0.4893 GB, free: 56 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.1727, allocations: 51.78 kB / 0.4894 GB, free: 4 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3126/0.4854, allocations: 6.266 kB / 0.4894 GB, free: 43.48 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.000312/0.4858, allocations: 153.6 kB / 0.4895 GB, free: 43.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.4859, allocations: 18.06 kB / 0.4895 GB, free: 43.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.486, allocations: 26.84 kB / 0.4895 GB, free: 43.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.486, allocations: 1.25 kB / 0.4895 GB, free: 43.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.486, allocations: 0 / 0.4895 GB, free: 43.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.486, allocations: 8.375 kB / 0.4896 GB, free: 43.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.4866, allocations: 285.9 kB / 0.4898 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4866, allocations: 3.531 kB / 0.4898 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01154/0.4982, allocations: 462.8 kB / 0.4903 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.4982, allocations: 1.156 kB / 0.4903 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.4983, allocations: 5.797 kB / 0.4903 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004375/0.5027, allocations: 1.946 MB / 0.4922 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5027, allocations: 1.281 kB / 0.4922 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.5043, allocations: 333.5 kB / 0.4925 GB, free: 41.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.5044, allocations: 93.06 kB / 0.4926 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.5045, allocations: 1.781 kB / 0.4926 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/0.5052, allocations: 24.22 kB / 0.4926 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.5054, allocations: 7.797 kB / 0.4926 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.5054, allocations: 9.953 kB / 0.4926 GB, free: 41.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003188/0.5057, allocations: 210.4 kB / 0.4928 GB, free: 41.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5057, allocations: 0 / 0.4928 GB, free: 41.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005399/0.5063, allocations: 74.98 kB / 0.4929 GB, free: 41.12 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.0002514/0.5066, allocations: 107.9 kB / 0.493 GB, free: 41.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01209/0.5187, allocations: 0.6013 MB / 0.4936 GB, free: 41.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.5187, allocations: 0 / 0.4936 GB, free: 41.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01125/0.53, allocations: 0.4998 MB / 0.4941 GB, free: 41.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.5305, allocations: 44.36 kB / 0.4941 GB, free: 41.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.5321, allocations: 0.5635 MB / 0.4947 GB, free: 40.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.5325, allocations: 0.7804 MB / 0.4954 GB, free: 40.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.5326, allocations: 21.48 kB / 0.4955 GB, free: 40.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5327, allocations: 0 / 0.4955 GB, free: 40.02 MB / 378.7 MB Notification: Performance of Templates: time 0.01342/0.5461, allocations: 6.444 MB / 0.5017 GB, free: 39.76 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/jenkins1/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