Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007684/0.0007688, allocations: 100 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008551/0.0008555, allocations: 177.8 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 243 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1982/0.1982, allocations: 44.23 MB / 338.3 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003039, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002199/0.1032, allocations: 1.614 MB / 474.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1049, allocations: 1.118 MB / 475.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-05/0.105, allocations: 4 kB / 475.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.1054, allocations: 59.66 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1056, allocations: 67.59 kB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.106, allocations: 123.5 kB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.1063, allocations: 322.3 kB / 476.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.298e-05/0.1064, allocations: 41 kB / 476.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.1066, allocations: 91.47 kB / 476.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.1068, allocations: 127.3 kB / 476.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.1068, allocations: 8 kB / 476.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004881/0.1073, allocations: 319.5 kB / 476.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.1074, allocations: 47.77 kB / 476.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1076, allocations: 144.8 kB / 477 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.1079, allocations: 299.1 kB / 477.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1079, allocations: 0 / 477.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.108, allocations: 0 / 477.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.108, allocations: 0 / 477.3 MB, free: 8.93 MB / 350.1 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.0006757/0.1086, allocations: 0.5231 MB / 477.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1087, allocations: 8.031 kB / 477.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.968e-05/0.1088, allocations: 32.56 kB / 477.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.109, allocations: 243.9 kB / 478.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.1091, allocations: 25.12 kB / 478.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.1091, allocations: 35.98 kB / 478.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007032/0.1098, allocations: 497.4 kB / 478.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1098, allocations: 0 / 478.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.1099, allocations: 12 kB / 478.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.1099, allocations: 24.98 kB / 478.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006384/0.1106, allocations: 443.6 kB / 479.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.112, allocations: 1.185 MB / 480.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1122, allocations: 82.52 kB / 480.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1123, allocations: 48.83 kB / 480.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1124, allocations: 0 / 480.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1124, allocations: 38.5 kB / 480.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1124, allocations: 4 kB / 480.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004731/0.1129, allocations: 169.4 kB / 480.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1129, allocations: 51.41 kB / 480.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1131, allocations: 178.2 kB / 480.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1131, allocations: 25.7 kB / 480.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1132, allocations: 223.4 kB / 481.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1133, allocations: 27.64 kB / 481.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1133, allocations: 33.64 kB / 481.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1134, allocations: 322.8 kB / 481.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1136, allocations: 59.95 kB / 481.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.1138, allocations: 175 kB / 481.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.1142, allocations: 256.3 kB / 481.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.1142, allocations: 4 kB / 482 MB, free: 3.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004733/0.1147, allocations: 257.1 kB / 482.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.1147, allocations: 10.81 kB / 482.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1147, allocations: 4 kB / 482.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1148, allocations: 8 kB / 482.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.1151, allocations: 88.47 kB / 482.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.1161, allocations: 1.793 MB / 484.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.1163, allocations: 39.73 kB / 484.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.1163, allocations: 12 kB / 484.2 MB, free: 1.594 MB / 350.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002388/0.1166, allocations: 179.9 kB / 484.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.1166, allocations: 7.906 kB / 484.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005247/0.1171, allocations: 210.1 kB / 484.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.1172, allocations: 7.922 kB / 484.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1172, allocations: 4 kB / 484.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1172, allocations: 0 / 484.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.1175, allocations: 289.5 kB / 484.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1175, allocations: 0 / 484.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.1177, allocations: 67.97 kB / 484.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1177, allocations: 4 kB / 484.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1177, allocations: 0 / 484.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008798/0.1186, allocations: 1.781 MB / 486.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1186, allocations: 0 / 486.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.119, allocations: 231.5 kB / 486.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.119, allocations: 88.89 kB / 487 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1191, allocations: 11.92 kB / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.1192, allocations: 8 kB / 487 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.1192, allocations: 7.984 kB / 487 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1192, allocations: 8 kB / 487 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.522e-05/0.1193, allocations: 115.2 kB / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1193, allocations: 0 / 487.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004228/0.1197, allocations: 99.59 kB / 487.2 MB, free: 14.34 MB / 366.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002454/0.12, allocations: 135.7 kB / 487.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005239/0.1205, allocations: 192.8 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1205, allocations: 4 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.1208, allocations: 95.88 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.1211, allocations: 11.66 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007929/0.1219, allocations: 0.6236 MB / 488.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.1223, allocations: 0.7907 MB / 489.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.1223, allocations: 19.44 kB / 489.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1223, allocations: 4 kB / 489.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of Templates: time 0.008839/0.1312, allocations: 6.939 MB / 496.1 MB, free: 5.465 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches