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.001527/0.001527, allocations: 107.4 kB / 17.21 MB, free: 6.289 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.001831/0.001831, allocations: 194 kB / 18.12 MB, free: 5.383 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.466/1.466, allocations: 222.9 MB / 241.8 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 64.88 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1284, allocations: 60.83 MB / 468.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003161/0.1316, allocations: 1.731 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1329, allocations: 0.8103 MB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.133, allocations: 4 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.1332, allocations: 31.83 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.1334, allocations: 51.73 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1337, allocations: 75.78 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.134, allocations: 219.1 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.134, allocations: 9.125 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1342, allocations: 67.64 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1343, allocations: 75.69 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1343, allocations: 4 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.1346, allocations: 159.8 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.1347, allocations: 35.89 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.205e-05/0.1348, allocations: 63.55 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.1351, allocations: 195.6 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1351, allocations: 3.984 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1351, allocations: 0 / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1351, allocations: 0 / 472.1 MB, free: 11.28 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.0008226/0.136, allocations: 463 kB / 472.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.602e-05/0.1361, allocations: 12.03 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000593/0.1367, allocations: 68.67 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1369, allocations: 212.1 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1369, allocations: 12.36 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1369, allocations: 16.12 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.1374, allocations: 239 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1374, allocations: 0 / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.1375, allocations: 3.984 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.1375, allocations: 23.98 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.1379, allocations: 223.8 kB / 473.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.1391, allocations: 0.7207 MB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.1394, allocations: 98.42 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1395, allocations: 48.81 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1396, allocations: 4 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.1396, allocations: 34.5 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.1396, allocations: 0 / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005917/0.1402, allocations: 169.5 kB / 474.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.1403, allocations: 59.33 kB / 474.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1405, allocations: 183.3 kB / 474.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1405, allocations: 29.7 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1407, allocations: 139.4 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.1407, allocations: 27.64 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.1408, allocations: 29.72 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1409, allocations: 326.8 kB / 475.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.1411, allocations: 51.94 kB / 475.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.1412, allocations: 90.83 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.1415, allocations: 166.6 kB / 475.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1416, allocations: 3.938 kB / 475.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003737/0.1419, allocations: 185.1 kB / 475.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.142, allocations: 11.94 kB / 475.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.142, allocations: 0 / 475.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.142, allocations: 4.219 kB / 475.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009164/0.1429, allocations: 123.8 kB / 475.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.1444, allocations: 1.813 MB / 477.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1445, allocations: 31.8 kB / 477.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.1446, allocations: 4 kB / 477.6 MB, free: 5.332 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 (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.0001487/0.1447, allocations: 145.9 kB / 477.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.1448, allocations: 11.84 kB / 477.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.1452, allocations: 178.8 kB / 478 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1453, allocations: 0 / 478 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1453, allocations: 0 / 478 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1453, allocations: 4 kB / 478 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.1455, allocations: 229.5 kB / 478.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1455, allocations: 0 / 478.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/0.1462, allocations: 119.8 kB / 478.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.1463, allocations: 0 / 478.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1463, allocations: 3.984 kB / 478.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.1475, allocations: 1.785 MB / 480.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1475, allocations: 0 / 480.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.148, allocations: 239.2 kB / 480.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.148, allocations: 97.05 kB / 480.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.1481, allocations: 4 kB / 480.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1482, allocations: 11.98 kB / 480.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.1483, allocations: 7.984 kB / 480.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.1483, allocations: 0 / 480.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1484, allocations: 139.9 kB / 480.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1484, allocations: 0 / 480.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.1488, allocations: 47.91 kB / 480.6 MB, free: 2.168 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 (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.0002276/0.149, allocations: 123.1 kB / 480.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.1502, allocations: 224.1 kB / 481 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1502, allocations: 4 kB / 481 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006392/0.1508, allocations: 115.9 kB / 481.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1513, allocations: 48.33 kB / 481.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008159/0.1521, allocations: 393.6 kB / 481.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.1526, allocations: 0.7474 MB / 482.3 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.1527, allocations: 33.41 kB / 482.3 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.1528, allocations: 11.44 kB / 482.3 MB, free: 440 kB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1528, allocations: 0 / 482.3 MB, free: 440 kB / 350.1 MB Notification: Performance of Templates: time 0.006221/0.159, allocations: 2.909 MB / 485.2 MB, free: 13.58 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