Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.11 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 75.88 kB / 417.7 MB, free: 7.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 62.43 MB / 480.2 MB, free: 8.895 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003453/0.1119, allocations: 1.973 MB / 482.1 MB, free: 6.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1137, allocations: 1.126 MB / 483.3 MB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1138, allocations: 8 kB / 483.3 MB, free: 5.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.1142, allocations: 63.66 kB / 483.3 MB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.1144, allocations: 63.59 kB / 483.4 MB, free: 5.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.1149, allocations: 135.5 kB / 483.5 MB, free: 5.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.1152, allocations: 262.4 kB / 483.8 MB, free: 5.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.372e-05/0.1153, allocations: 37.02 kB / 483.8 MB, free: 5.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.1156, allocations: 111.4 kB / 483.9 MB, free: 5.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.1158, allocations: 123.3 kB / 484.1 MB, free: 4.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.1158, allocations: 11.94 kB / 484.1 MB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004942/0.1163, allocations: 315.5 kB / 484.4 MB, free: 4.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.842e-05/0.1164, allocations: 51.7 kB / 484.4 MB, free: 4.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.1166, allocations: 123.2 kB / 484.6 MB, free: 4.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.117, allocations: 303.1 kB / 484.8 MB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.117, allocations: 4 kB / 484.9 MB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.117, allocations: 0 / 484.9 MB, free: 4.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.117, allocations: 0 / 484.9 MB, free: 4.188 MB / 398.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.0007276/0.1177, allocations: 0.5699 MB / 485.4 MB, free: 3.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1178, allocations: 8.031 kB / 485.4 MB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.1178, allocations: 32.56 kB / 485.5 MB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1181, allocations: 236 kB / 485.7 MB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.1181, allocations: 41.03 kB / 485.7 MB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1182, allocations: 28 kB / 485.8 MB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007152/0.1189, allocations: 0.4896 MB / 486.2 MB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1189, allocations: 0 / 486.2 MB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.119, allocations: 12 kB / 486.3 MB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.119, allocations: 28.98 kB / 486.3 MB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.1196, allocations: 427.6 kB / 486.7 MB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.121, allocations: 1.193 MB / 487.9 MB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1212, allocations: 78.53 kB / 488 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.1214, allocations: 40.83 kB / 488 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.1214, allocations: 7.984 kB / 488 MB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1214, allocations: 34.56 kB / 488.1 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1214, allocations: 0 / 488.1 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004676/0.1219, allocations: 153.8 kB / 488.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.122, allocations: 59.39 kB / 488.3 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.1221, allocations: 171.7 kB / 488.4 MB, free: 360 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1221, allocations: 25.7 kB / 488.5 MB, free: 328 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1222, allocations: 219.2 kB / 488.7 MB, free: 104 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.1223, allocations: 27.64 kB / 488.7 MB, free: 76 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.1223, allocations: 57.61 kB / 488.8 MB, free: 12 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1225, allocations: 318.8 kB / 489.1 MB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.1226, allocations: 51.95 kB / 489.1 MB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.1228, allocations: 172.2 kB / 489.3 MB, free: 15.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.1232, allocations: 256 kB / 489.5 MB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1232, allocations: 0 / 489.5 MB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004471/0.1236, allocations: 245.1 kB / 489.8 MB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1237, allocations: 8 kB / 489.8 MB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1237, allocations: 4 kB / 489.8 MB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1237, allocations: 8.562 kB / 489.8 MB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.1241, allocations: 91.91 kB / 489.9 MB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008367/0.1249, allocations: 1.785 MB / 491.7 MB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1251, allocations: 27.83 kB / 491.7 MB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.1251, allocations: 20 kB / 491.7 MB, free: 12.85 MB / 414.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.0002299/0.1253, allocations: 176.1 kB / 491.9 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.1254, allocations: 7.906 kB / 491.9 MB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004888/0.1259, allocations: 194.1 kB / 492.1 MB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1259, allocations: 15.88 kB / 492.1 MB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1259, allocations: 0 / 492.1 MB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1259, allocations: 0 / 492.1 MB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.1262, allocations: 285.5 kB / 492.4 MB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1262, allocations: 4 kB / 492.4 MB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.1264, allocations: 59.97 kB / 492.4 MB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1264, allocations: 3.938 kB / 492.4 MB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1264, allocations: 8 kB / 492.5 MB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007599/0.1272, allocations: 1.773 MB / 494.2 MB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1272, allocations: 0 / 494.2 MB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.1275, allocations: 227.6 kB / 494.5 MB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.1276, allocations: 84.95 kB / 494.5 MB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.1276, allocations: 3.938 kB / 494.5 MB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1277, allocations: 7.984 kB / 494.5 MB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.1278, allocations: 19.98 kB / 494.6 MB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1278, allocations: 4 kB / 494.6 MB, free: 9.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.022e-05/0.1279, allocations: 114.3 kB / 494.7 MB, free: 9.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1279, allocations: 4 kB / 494.7 MB, free: 9.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004513/0.1284, allocations: 95.59 kB / 494.8 MB, free: 9.625 MB / 414.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.0002925/0.1287, allocations: 139.1 kB / 494.9 MB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005406/0.1292, allocations: 184.8 kB / 495.1 MB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1292, allocations: 0 / 495.1 MB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.1295, allocations: 99.86 kB / 495.2 MB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.1298, allocations: 19.36 kB / 495.2 MB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000853/0.1307, allocations: 0.6125 MB / 495.8 MB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.131, allocations: 0.7943 MB / 496.6 MB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.1311, allocations: 19.44 kB / 496.6 MB, free: 7.703 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1311, allocations: 0 / 496.6 MB, free: 7.703 MB / 414.1 MB Notification: Performance of Templates: time 0.009003/0.1401, allocations: 6.968 MB / 0.4918 GB, free: 0.7305 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches