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.001538/0.001538, allocations: 171.8 kB / 16.72 MB, free: 5.051 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.229/1.229, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0006815/0.0006813, allocations: 90.36 kB / 271.2 MB, free: 8.242 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.2942/0.2942, allocations: 43.57 MB / 363.1 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 15.98 kB / 432 MB, free: 5.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.09361, allocations: 58.84 MB / 490.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.001825/0.09547, allocations: 1.602 MB / 492.5 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.09683, allocations: 1.053 MB / 493.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.09689, allocations: 0 / 493.5 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.09712, allocations: 55.66 kB / 493.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.09729, allocations: 75.59 kB / 493.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.09759, allocations: 111.6 kB / 493.7 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.09786, allocations: 286.3 kB / 494 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.852e-05/0.09794, allocations: 48.69 kB / 494.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.09808, allocations: 91.52 kB / 494.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.09823, allocations: 119.3 kB / 494.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.09826, allocations: 4 kB / 494.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.09869, allocations: 307.5 kB / 494.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.09875, allocations: 51.69 kB / 494.6 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.09887, allocations: 136.9 kB / 494.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.0992, allocations: 295.4 kB / 495.1 MB, free: 6.629 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.09921, allocations: 0 / 495.1 MB, free: 6.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09921, allocations: 0 / 495.1 MB, free: 6.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.09922, allocations: 0 / 495.1 MB, free: 6.629 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.0005888/0.09982, allocations: 0.5269 MB / 495.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.09986, allocations: 11.97 kB / 495.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.09992, allocations: 32.56 kB / 495.6 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1001, allocations: 236 kB / 495.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.1002, allocations: 25.12 kB / 495.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.1002, allocations: 40 kB / 495.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006403/0.1009, allocations: 0.4935 MB / 496.4 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1009, allocations: 0 / 496.4 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.1009, allocations: 8 kB / 496.4 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.101, allocations: 32.98 kB / 496.4 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.1016, allocations: 423.7 kB / 496.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.1029, allocations: 1.193 MB / 498.1 MB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.103, allocations: 86.47 kB / 498.1 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1032, allocations: 48.83 kB / 498.2 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1032, allocations: 4.141 kB / 498.2 MB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1032, allocations: 30.56 kB / 498.2 MB, free: 3.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1032, allocations: 4 kB / 498.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004229/0.1037, allocations: 173.4 kB / 498.4 MB, free: 3.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.1037, allocations: 59.39 kB / 498.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1038, allocations: 166.3 kB / 498.6 MB, free: 2.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.1039, allocations: 29.7 kB / 498.6 MB, free: 2.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.104, allocations: 223.2 kB / 498.9 MB, free: 2.555 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.104, allocations: 27.66 kB / 498.9 MB, free: 2.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.104, allocations: 4 kB / 498.9 MB, free: 2.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.1041, allocations: 322.8 kB / 499.2 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1043, allocations: 55.95 kB / 499.3 MB, free: 2.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1045, allocations: 180.2 kB / 499.4 MB, free: 1.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.1048, allocations: 255.9 kB / 499.7 MB, free: 1.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1048, allocations: 4 kB / 499.7 MB, free: 1.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004219/0.1053, allocations: 253.4 kB / 499.9 MB, free: 1.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1053, allocations: 8 kB / 499.9 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1053, allocations: 4 kB / 500 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1053, allocations: 4 kB / 500 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.1056, allocations: 96.45 kB / 0.4883 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1544/0.2601, allocations: 1.779 MB / 0.4901 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.2603, allocations: 31.12 kB / 0.4901 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.2603, allocations: 18.45 kB / 0.4901 GB, free: 42.3 MB / 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.0002206/0.2606, allocations: 188.8 kB / 0.4903 GB, free: 42.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.2606, allocations: 8 kB / 0.4903 GB, free: 42.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.2611, allocations: 194.5 kB / 0.4905 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2611, allocations: 1.281 kB / 0.4905 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2611, allocations: 0 / 0.4905 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2611, allocations: 1.75 kB / 0.4905 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.2614, allocations: 299.5 kB / 0.4908 GB, free: 41.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2614, allocations: 5.156 kB / 0.4908 GB, free: 41.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.2617, allocations: 67.02 kB / 0.4908 GB, free: 41.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.2617, allocations: 0 / 0.4908 GB, free: 41.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2617, allocations: 3.594 kB / 0.4908 GB, free: 41.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004777/0.2622, allocations: 1.774 MB / 0.4926 GB, free: 40.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2622, allocations: 3.938 kB / 0.4926 GB, free: 40.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.2625, allocations: 234.9 kB / 0.4928 GB, free: 40.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.2625, allocations: 89.02 kB / 0.4929 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2625, allocations: 2.188 kB / 0.4929 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.2626, allocations: 9.625 kB / 0.4929 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.2627, allocations: 13.16 kB / 0.4929 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2627, allocations: 9.812 kB / 0.4929 GB, free: 40 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.359e-05/0.2628, allocations: 112.6 kB / 0.493 GB, free: 39.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2628, allocations: 0 / 0.493 GB, free: 39.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.2632, allocations: 103.5 kB / 0.4931 GB, free: 39.92 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.0002218/0.2634, allocations: 150.5 kB / 0.4933 GB, free: 39.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.264, allocations: 192.5 kB / 0.4935 GB, free: 39.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.264, allocations: 0 / 0.4935 GB, free: 39.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.2643, allocations: 100.5 kB / 0.4936 GB, free: 39.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.2645, allocations: 11 kB / 0.4936 GB, free: 39.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.2652, allocations: 0.5966 MB / 0.4941 GB, free: 39.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.2655, allocations: 0.7952 MB / 0.4949 GB, free: 38.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.2655, allocations: 18 kB / 0.4949 GB, free: 38.77 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2655, allocations: 1.031 kB / 0.4949 GB, free: 38.77 MB / 378.7 MB Notification: Performance of Templates: time 0.007702/0.2732, allocations: 6.925 MB / 0.5017 GB, free: 38.25 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/jenkins/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