Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_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.00109/0.00109, allocations: 96.95 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 199.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.8 MB / 246.9 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2186/0.2186, allocations: 46.2 MB / 345.3 MB, free: 11.35 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 63.57 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.00201/0.1304, allocations: 1.404 MB / 484.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1318, allocations: 0.8376 MB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.1319, allocations: 0 / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1321, allocations: 35.81 kB / 485.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.1323, allocations: 51.73 kB / 485.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1326, allocations: 83.72 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1329, allocations: 223.1 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.1329, allocations: 9.125 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.1331, allocations: 59.7 kB / 485.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.1333, allocations: 79.69 kB / 486 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1333, allocations: 4 kB / 486 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002994/0.1336, allocations: 159.8 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.1337, allocations: 43.75 kB / 486.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.605e-05/0.1338, allocations: 81.38 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.1341, allocations: 203.5 kB / 486.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1342, allocations: 7.875 kB / 486.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1342, allocations: 4 kB / 486.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.1342, allocations: 0 / 486.5 MB, free: 0.7891 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.0006095/0.1348, allocations: 440.4 kB / 486.9 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1348, allocations: 8.875 kB / 486.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004514/0.1353, allocations: 60.69 kB / 487 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1355, allocations: 208.2 kB / 487.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.1356, allocations: 12.42 kB / 487.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.1356, allocations: 16.12 kB / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.1361, allocations: 241.4 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1362, allocations: 4 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.1362, allocations: 4 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.1362, allocations: 15.98 kB / 487.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.1367, allocations: 243.5 kB / 487.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.1381, allocations: 0.7364 MB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.1383, allocations: 94.48 kB / 488.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.1385, allocations: 52.81 kB / 488.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1385, allocations: 8 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1385, allocations: 34.5 kB / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1386, allocations: 0 / 488.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005795/0.1391, allocations: 193.5 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1392, allocations: 51.41 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1394, allocations: 196.8 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1394, allocations: 25.7 kB / 489.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/0.1395, allocations: 135.5 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.1396, allocations: 23.66 kB / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.1396, allocations: 17.72 kB / 489.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1398, allocations: 326.8 kB / 489.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.1399, allocations: 55.94 kB / 489.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.1401, allocations: 109.7 kB / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003557/0.1405, allocations: 171 kB / 489.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1405, allocations: 0 / 489.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004474/0.141, allocations: 201.3 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.141, allocations: 11.94 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.141, allocations: 0 / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.141, allocations: 4 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009859/0.142, allocations: 96.14 kB / 490.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.1435, allocations: 1.813 MB / 492 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.1437, allocations: 27.78 kB / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1437, allocations: 7.984 kB / 492 MB, free: 10.83 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.0001562/0.1439, allocations: 146.5 kB / 492.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.1439, allocations: 15.75 kB / 492.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.1445, allocations: 194.8 kB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1445, allocations: 0 / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1445, allocations: 0 / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1445, allocations: 0 / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.1448, allocations: 229.5 kB / 492.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1448, allocations: 0 / 492.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/0.1456, allocations: 83.91 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.1456, allocations: 4 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.1457, allocations: 4 kB / 492.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.1469, allocations: 1.774 MB / 494.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.147, allocations: 3.938 kB / 494.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.1474, allocations: 263.4 kB / 494.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.1475, allocations: 88.95 kB / 494.8 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1475, allocations: 0 / 494.8 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1476, allocations: 15.98 kB / 494.8 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.1477, allocations: 11.98 kB / 494.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1477, allocations: 11.94 kB / 494.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1479, allocations: 137.8 kB / 495 MB, free: 7.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1479, allocations: 0 / 495 MB, free: 7.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.1482, allocations: 47.89 kB / 495 MB, free: 7.656 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.00021/0.1484, allocations: 111.2 kB / 495.1 MB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.1497, allocations: 216.2 kB / 495.4 MB, free: 7.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1497, allocations: 0 / 495.4 MB, free: 7.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007651/0.1505, allocations: 99.83 kB / 495.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.151, allocations: 48.22 kB / 495.5 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007274/0.1517, allocations: 414.7 kB / 495.9 MB, free: 6.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.1521, allocations: 0.7475 MB / 496.7 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.1522, allocations: 29.41 kB / 496.7 MB, free: 5.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.1523, allocations: 19.42 kB / 496.7 MB, free: 5.941 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1523, allocations: 0 / 496.7 MB, free: 5.941 MB / 366.1 MB Notification: Performance of Templates: time 0.007255/0.1596, allocations: 2.843 MB / 499.5 MB, free: 3.148 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches