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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|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_nominalPressureLossLawDensity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|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_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0023/0.0023, allocations: 182.1 kB / 16.4 MB, free: 5.75 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.048/2.048, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001188/0.001188, allocations: 101.4 kB / 270.9 MB, free: 8.352 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.5285/0.5285, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004565, allocations: 15.98 kB / 431.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 58.84 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002778/0.1275, allocations: 1.552 MB / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.1299, allocations: 1.007 MB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.13, allocations: 7.938 kB / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.1304, allocations: 59.7 kB / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.1307, allocations: 59.81 kB / 492.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.1313, allocations: 123.6 kB / 493 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.1316, allocations: 187.5 kB / 493.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1317, allocations: 44.7 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.1319, allocations: 83.56 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.1321, allocations: 95.5 kB / 493.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.1322, allocations: 4 kB / 493.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007783/0.133, allocations: 311.6 kB / 493.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.382e-05/0.1331, allocations: 51.8 kB / 493.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.1332, allocations: 69.58 kB / 493.9 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.1338, allocations: 275.7 kB / 494.1 MB, free: 7.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1338, allocations: 3.938 kB / 494.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1338, allocations: 0 / 494.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1338, allocations: 0 / 494.1 MB, free: 7.27 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009507/0.1348, allocations: 0.5422 MB / 494.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1348, allocations: 8.031 kB / 494.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.1349, allocations: 31.62 kB / 494.7 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.1353, allocations: 234.7 kB / 495 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.1354, allocations: 24.98 kB / 495 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.1354, allocations: 28 kB / 495 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.1366, allocations: 497.4 kB / 495.5 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1366, allocations: 7.922 kB / 495.5 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.1367, allocations: 15.98 kB / 495.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-05/0.1367, allocations: 32.94 kB / 495.5 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.1378, allocations: 431.7 kB / 496 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.1402, allocations: 1.201 MB / 497.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.1405, allocations: 86.53 kB / 497.3 MB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.1406, allocations: 7.922 kB / 497.3 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1406, allocations: 30.56 kB / 497.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.905e-06/0.1406, allocations: 0 / 497.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007717/0.1414, allocations: 173.6 kB / 497.5 MB, free: 3.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.1415, allocations: 55.36 kB / 497.5 MB, free: 3.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1417, allocations: 162.3 kB / 497.7 MB, free: 3.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1417, allocations: 29.7 kB / 497.7 MB, free: 3.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.1419, allocations: 285.6 kB / 498 MB, free: 3.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.142, allocations: 27.66 kB / 498 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.142, allocations: 8 kB / 498 MB, free: 3.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1422, allocations: 318.8 kB / 498.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.1424, allocations: 55.95 kB / 498.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.1428, allocations: 180.1 kB / 498.6 MB, free: 2.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.1431, allocations: 83.89 kB / 498.6 MB, free: 2.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1431, allocations: 0 / 498.6 MB, free: 2.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000806/0.1439, allocations: 269.3 kB / 498.9 MB, free: 2.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.144, allocations: 4.562 kB / 498.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.144, allocations: 8.078 kB / 498.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.144, allocations: 8 kB / 498.9 MB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/0.1447, allocations: 91.83 kB / 499 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.1459, allocations: 1.789 MB / 0.4891 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.1462, allocations: 31.73 kB / 0.4891 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.1462, allocations: 12 kB / 0.4891 GB, free: 168 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.3177/0.4639, allocations: 181.4 kB / 0.4893 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.464, allocations: 10.62 kB / 0.4893 GB, free: 43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000986/0.465, allocations: 206.9 kB / 0.4895 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.465, allocations: 1.938 kB / 0.4895 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.465, allocations: 8.688 kB / 0.4895 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4651, allocations: 0.7031 kB / 0.4895 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.4655, allocations: 289.4 kB / 0.4898 GB, free: 42.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4656, allocations: 0.75 kB / 0.4898 GB, free: 42.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.466, allocations: 62.64 kB / 0.4898 GB, free: 42.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.466, allocations: 2.375 kB / 0.4898 GB, free: 42.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.4661, allocations: 3.875 kB / 0.4898 GB, free: 42.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008134/0.4669, allocations: 1.77 MB / 0.4916 GB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4669, allocations: 3.625 kB / 0.4916 GB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/0.4674, allocations: 232.5 kB / 0.4918 GB, free: 40.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.4675, allocations: 93.36 kB / 0.4919 GB, free: 40.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.4676, allocations: 4.031 kB / 0.4919 GB, free: 40.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.4677, allocations: 12.84 kB / 0.4919 GB, free: 40.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.4678, allocations: 10.97 kB / 0.4919 GB, free: 40.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.4678, allocations: 5.312 kB / 0.4919 GB, free: 40.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.468, allocations: 114.2 kB / 0.492 GB, free: 40.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.468, allocations: 0 / 0.492 GB, free: 40.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000635/0.4686, allocations: 101.2 kB / 0.4921 GB, free: 40.73 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.0003295/0.469, allocations: 139.9 kB / 0.4923 GB, free: 40.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.47, allocations: 201.3 kB / 0.4924 GB, free: 40.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.47, allocations: 0 / 0.4924 GB, free: 40.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005738/0.4706, allocations: 97.05 kB / 0.4925 GB, free: 40.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.4709, allocations: 16.52 kB / 0.4926 GB, free: 40.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.4721, allocations: 0.5939 MB / 0.4931 GB, free: 40.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.4725, allocations: 0.7983 MB / 0.4939 GB, free: 39.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.4726, allocations: 24.06 kB / 0.4939 GB, free: 39.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4726, allocations: 1.125 kB / 0.4939 GB, free: 39.58 MB / 378.7 MB Notification: Performance of Templates: time 0.01451/0.4872, allocations: 6.779 MB / 0.5006 GB, free: 39.18 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches