Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|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_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001453/0.001453, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 210.4 kB / 18.58 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.253/0.253, allocations: 46.13 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 87 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1269, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003678/0.1306, allocations: 1.832 MB / 482 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1319, allocations: 0.6269 MB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.1319, allocations: 4 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.1323, allocations: 59.67 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.1325, allocations: 75.58 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.1329, allocations: 111.5 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.1332, allocations: 230.8 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.1332, allocations: 32.28 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1334, allocations: 87.52 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.1335, allocations: 103.4 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.1336, allocations: 8 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.134, allocations: 219.8 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.1341, allocations: 55.7 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.1342, allocations: 103.3 kB / 483.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.1347, allocations: 331.2 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1347, allocations: 4 kB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1347, allocations: 0 / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1347, allocations: 0 / 484 MB, free: 1.332 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007993/0.1355, allocations: 0.511 MB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1356, allocations: 11.97 kB / 484.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.1374, allocations: 208.3 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.1378, allocations: 263.9 kB / 485 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1378, allocations: 24.94 kB / 485 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.1379, allocations: 16.38 kB / 485 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.1389, allocations: 0.5047 MB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.139, allocations: 3.938 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.139, allocations: 12 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.1391, allocations: 24.55 kB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.1404, allocations: 0.5837 MB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.1427, allocations: 1.165 MB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.1434, allocations: 170.3 kB / 487.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.1438, allocations: 92.69 kB / 487.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1438, allocations: 11.94 kB / 487.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1439, allocations: 30.56 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.624e-06/0.1439, allocations: 0 / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001346/0.1452, allocations: 297.3 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.1453, allocations: 55.41 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.1456, allocations: 282.5 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.1457, allocations: 29.7 kB / 488.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1458, allocations: 167.5 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1458, allocations: 27.64 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-05/0.146, allocations: 37.69 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1461, allocations: 334.8 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.1465, allocations: 83.89 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.1469, allocations: 127.3 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/0.1477, allocations: 203.2 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1478, allocations: 3.938 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009392/0.1487, allocations: 265.1 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1487, allocations: 10.34 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1488, allocations: 4.094 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1488, allocations: 0 / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0061/0.1549, allocations: 471.3 kB / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/0.158, allocations: 1.941 MB / 491.9 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.1584, allocations: 39.81 kB / 491.9 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.1584, allocations: 15.98 kB / 491.9 MB, free: 9.016 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002464/0.1587, allocations: 157.7 kB / 492.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.1588, allocations: 27.7 kB / 492.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/0.1589, allocations: 25.8 kB / 492.1 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1589, allocations: 3.938 kB / 492.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1589, allocations: 0 / 492.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1589, allocations: 0 / 492.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.1594, allocations: 289.4 kB / 492.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1594, allocations: 4 kB / 492.4 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005733/0.1651, allocations: 459.3 kB / 492.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1652, allocations: 0 / 492.9 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.1652, allocations: 3.984 kB / 492.9 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.1681, allocations: 1.941 MB / 494.8 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1681, allocations: 4 kB / 494.8 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.169, allocations: 323.2 kB / 495.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1691, allocations: 96.91 kB / 495.2 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.1691, allocations: 4 kB / 495.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.1695, allocations: 15.97 kB / 495.3 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.1696, allocations: 11.97 kB / 495.3 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.1696, allocations: 7.984 kB / 495.3 MB, free: 5.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002397/0.1699, allocations: 209.9 kB / 495.5 MB, free: 5.301 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1699, allocations: 0 / 495.5 MB, free: 5.301 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000379/0.1702, allocations: 71.84 kB / 495.6 MB, free: 5.23 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.0002463/0.1705, allocations: 119.1 kB / 495.7 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006211/0.1767, allocations: 0.5967 MB / 496.3 MB, free: 4.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1767, allocations: 4.125 kB / 496.3 MB, free: 4.504 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005555/0.1823, allocations: 499.6 kB / 496.8 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.1828, allocations: 44.8 kB / 496.8 MB, free: 3.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1839, allocations: 483.9 kB / 497.3 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1843, allocations: 0.7831 MB / 498.1 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.1845, allocations: 49.91 kB / 498.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.1845, allocations: 19.42 kB / 498.1 MB, free: 2.602 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1845, allocations: 4 kB / 498.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of Templates: time 0.009785/0.1943, allocations: 5.18 MB / 0.4915 GB, free: 13.48 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches