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_pressureLossCoefficient_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_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.0.0_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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 96.33 kB / 17 MB, free: 6.418 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.001222/0.001222, allocations: 188.2 kB / 17.89 MB, free: 5.945 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.45/1.45, allocations: 223.3 MB / 241.9 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2051/0.2051, allocations: 44.26 MB / 337.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 11.98 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1285, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002127/0.1306, allocations: 1.364 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1319, allocations: 0.7329 MB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.8e-05/0.1319, allocations: 0 / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1322, allocations: 35.83 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.1323, allocations: 47.73 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1326, allocations: 79.78 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1328, allocations: 179.2 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.1329, allocations: 13.11 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1331, allocations: 67.7 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1332, allocations: 63.75 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1332, allocations: 4 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.1336, allocations: 159.7 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.1336, allocations: 31.89 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.1337, allocations: 45.64 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1339, allocations: 147.8 kB / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1339, allocations: 0 / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1339, allocations: 3.938 kB / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.134, allocations: 0 / 474.6 MB, free: 10.67 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.0006116/0.1346, allocations: 449 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1346, allocations: 12.03 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.1351, allocations: 59.75 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.1354, allocations: 206.9 kB / 475.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1354, allocations: 11.95 kB / 475.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1354, allocations: 12 kB / 475.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/0.1359, allocations: 243 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1359, allocations: 3.938 kB / 475.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.1359, allocations: 4 kB / 475.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.136, allocations: 15.98 kB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.1364, allocations: 239.8 kB / 475.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1375, allocations: 0.7285 MB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1377, allocations: 98.5 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.1378, allocations: 48.81 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1378, allocations: 4 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.1379, allocations: 34.5 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1379, allocations: 0 / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004739/0.1384, allocations: 189.8 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.1384, allocations: 51.41 kB / 477 MB, free: 8.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1386, allocations: 187.3 kB / 477.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1386, allocations: 33.64 kB / 477.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.1387, allocations: 143.4 kB / 477.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1388, allocations: 27.64 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.1388, allocations: 0 / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1389, allocations: 322.8 kB / 477.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1391, allocations: 51.95 kB / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.1392, allocations: 106.8 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1394, allocations: 71.94 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1394, allocations: 0 / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003816/0.1398, allocations: 193.2 kB / 478.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1398, allocations: 10.5 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1398, allocations: 0 / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1398, allocations: 7.953 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/0.1406, allocations: 108.1 kB / 478.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.1419, allocations: 1.817 MB / 480 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.142, allocations: 23.83 kB / 480 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.142, allocations: 8 kB / 480 MB, free: 4.855 MB / 350.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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.1421, allocations: 145.9 kB / 480.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.1422, allocations: 7.906 kB / 480.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.1426, allocations: 198.7 kB / 480.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1427, allocations: 7.953 kB / 480.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1427, allocations: 0 / 480.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1427, allocations: 0 / 480.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.1429, allocations: 229.6 kB / 480.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1429, allocations: 4 kB / 480.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.1435, allocations: 95.89 kB / 480.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1436, allocations: 0 / 480.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1436, allocations: 4 kB / 480.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.1446, allocations: 1.781 MB / 482.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1446, allocations: 3.938 kB / 482.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.145, allocations: 247.6 kB / 482.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.145, allocations: 96.89 kB / 482.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1451, allocations: 0 / 482.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1452, allocations: 19.98 kB / 482.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.1453, allocations: 11.94 kB / 482.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1453, allocations: 0 / 482.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1454, allocations: 135.9 kB / 483 MB, free: 1.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1454, allocations: 0 / 483 MB, free: 1.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000319/0.1457, allocations: 47.91 kB / 483 MB, free: 1.68 MB / 350.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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001901/0.1459, allocations: 118.9 kB / 483.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.147, allocations: 220.2 kB / 483.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.147, allocations: 0 / 483.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.1476, allocations: 123.8 kB / 483.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.148, allocations: 32.41 kB / 483.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.1486, allocations: 397.4 kB / 483.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.149, allocations: 0.7397 MB / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.1491, allocations: 37.45 kB / 484.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.1491, allocations: 19.44 kB / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1492, allocations: 0 / 484.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Templates: time 0.006094/0.1553, allocations: 2.811 MB / 487.5 MB, free: 13.2 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches