Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001207, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.23 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1254, allocations: 62.45 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003462/0.1289, allocations: 1.678 MB / 483.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.1304, allocations: 0.8296 MB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.1305, allocations: 4 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1307, allocations: 31.83 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.1309, allocations: 59.72 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1312, allocations: 91.02 kB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.1314, allocations: 163.2 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.659e-05/0.1315, allocations: 17.09 kB / 484.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.1317, allocations: 71.7 kB / 484.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1319, allocations: 67.69 kB / 484.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1319, allocations: 8 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.1322, allocations: 159.8 kB / 484.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.1323, allocations: 39.84 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.974e-05/0.1324, allocations: 59.61 kB / 484.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.1327, allocations: 211.3 kB / 485 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1327, allocations: 0 / 485 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1327, allocations: 0 / 485 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.1327, allocations: 7.938 kB / 485 MB, free: 1.02 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006029/0.1333, allocations: 455 kB / 485.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1334, allocations: 8.031 kB / 485.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005268/0.1339, allocations: 72.67 kB / 485.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1342, allocations: 216.1 kB / 485.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.1342, allocations: 12.36 kB / 485.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.1342, allocations: 16.12 kB / 485.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.1347, allocations: 225.5 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1347, allocations: 0 / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1347, allocations: 7.984 kB / 486 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.1347, allocations: 19.98 kB / 486 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.1352, allocations: 231.6 kB / 486.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.1363, allocations: 0.7208 MB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1366, allocations: 90.5 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.1367, allocations: 48.81 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1367, allocations: 4 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1368, allocations: 42.5 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1368, allocations: 0 / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004919/0.1373, allocations: 173.5 kB / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1373, allocations: 51.41 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.1375, allocations: 191.3 kB / 487.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1375, allocations: 25.7 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1376, allocations: 135.5 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.1377, allocations: 27.64 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.1377, allocations: 33.7 kB / 487.7 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1379, allocations: 322.8 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.138, allocations: 43.95 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.1382, allocations: 102.8 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1385, allocations: 154.7 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1385, allocations: 4 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003572/0.1388, allocations: 189.2 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1389, allocations: 11.94 kB / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1389, allocations: 0 / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1389, allocations: 4 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/0.1398, allocations: 120.1 kB / 488.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.141, allocations: 1.817 MB / 490.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1411, allocations: 23.86 kB / 490.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1412, allocations: 8 kB / 490.5 MB, free: 11.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001204/0.1413, allocations: 137.8 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.1413, allocations: 11.84 kB / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.1418, allocations: 186.9 kB / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1418, allocations: 0 / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1418, allocations: 4 kB / 490.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1418, allocations: 4 kB / 490.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1421, allocations: 229.4 kB / 491.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1421, allocations: 0 / 491.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006553/0.1427, allocations: 107.9 kB / 491.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1428, allocations: 0 / 491.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.1428, allocations: 4 kB / 491.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009926/0.1438, allocations: 1.777 MB / 493 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1438, allocations: 4.312 kB / 493 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.1441, allocations: 251.2 kB / 493.2 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.1442, allocations: 92.86 kB / 493.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1442, allocations: 0 / 493.3 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1444, allocations: 15.98 kB / 493.3 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.1444, allocations: 7.984 kB / 493.3 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1445, allocations: 4 kB / 493.3 MB, free: 8.105 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1446, allocations: 139.9 kB / 493.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1446, allocations: 0 / 493.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.1449, allocations: 40 kB / 493.5 MB, free: 7.93 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 (11): * Single equations (assignments): 8 * 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.0001997/0.1451, allocations: 111.2 kB / 493.6 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.1463, allocations: 236 kB / 493.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1463, allocations: 4 kB / 493.8 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.1469, allocations: 127.8 kB / 494 MB, free: 7.453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1472, allocations: 48.12 kB / 494 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.1479, allocations: 332.9 kB / 494.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1482, allocations: 0.7435 MB / 495.1 MB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.1483, allocations: 33.41 kB / 495.1 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.1483, allocations: 15.44 kB / 495.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1483, allocations: 0 / 495.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of Templates: time 0.006139/0.1545, allocations: 3.046 MB / 498.2 MB, free: 3.254 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches