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.001726/0.001726, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001837/0.001837, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.435/1.435, allocations: 222.9 MB / 243 MB, free: 15.15 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.2232/0.2232, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 65.55 kB / 409.9 MB, free: 26.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1251, allocations: 60.82 MB / 470.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002866/0.128, allocations: 1.673 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1293, allocations: 0.8023 MB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.1294, allocations: 0 / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.1296, allocations: 39.83 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.1298, allocations: 55.67 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1301, allocations: 91.64 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1302, allocations: 151.2 kB / 473.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.1303, allocations: 21.11 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1304, allocations: 63.7 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1306, allocations: 71.67 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1306, allocations: 4 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.1309, allocations: 163.8 kB / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.1309, allocations: 35.83 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.131, allocations: 63.61 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.1313, allocations: 203.3 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1313, allocations: 0 / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1313, allocations: 7.984 kB / 474.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1313, allocations: 4 kB / 474.2 MB, free: 10.16 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.0005698/0.1319, allocations: 462.9 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.132, allocations: 8.031 kB / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.1325, allocations: 72.67 kB / 474.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.1327, allocations: 204.1 kB / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1327, allocations: 8.375 kB / 474.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1327, allocations: 16.12 kB / 474.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/0.1332, allocations: 246.5 kB / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1332, allocations: 0 / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1332, allocations: 0 / 475.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.1332, allocations: 23.98 kB / 475.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.1337, allocations: 227.5 kB / 475.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.1347, allocations: 0.7207 MB / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1349, allocations: 86.5 kB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.135, allocations: 52.97 kB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1351, allocations: 3.984 kB / 476.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1351, allocations: 38.5 kB / 476.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1351, allocations: 4 kB / 476.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004552/0.1356, allocations: 165.3 kB / 476.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.1356, allocations: 55.39 kB / 476.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1358, allocations: 187.3 kB / 476.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1358, allocations: 29.7 kB / 476.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.1359, allocations: 139.4 kB / 476.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.1359, allocations: 31.62 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.136, allocations: 33.72 kB / 476.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.1361, allocations: 322.8 kB / 477.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1362, allocations: 51.94 kB / 477.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.1363, allocations: 98.58 kB / 477.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.1366, allocations: 158.6 kB / 477.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1366, allocations: 4 kB / 477.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003449/0.137, allocations: 181.2 kB / 477.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.137, allocations: 11.38 kB / 477.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.137, allocations: 12.22 kB / 477.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1371, allocations: 4 kB / 477.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.1379, allocations: 119.8 kB / 477.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.139, allocations: 1.816 MB / 479.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.1392, allocations: 28.14 kB / 479.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.1392, allocations: 8 kB / 479.7 MB, free: 4.219 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.0001107/0.1393, allocations: 141.8 kB / 479.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.1394, allocations: 11.84 kB / 479.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.1398, allocations: 182.8 kB / 480 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1398, allocations: 0 / 480 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1398, allocations: 0 / 480 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1399, allocations: 0 / 480 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.1402, allocations: 233.5 kB / 480.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1402, allocations: 0 / 480.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007018/0.1409, allocations: 115.8 kB / 480.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.1409, allocations: 3.984 kB / 480.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1409, allocations: 0 / 480.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.1419, allocations: 1.79 MB / 482.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.142, allocations: 4.031 kB / 482.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.1423, allocations: 235.5 kB / 482.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.1424, allocations: 92.86 kB / 482.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1424, allocations: 4 kB / 482.5 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.1426, allocations: 11.98 kB / 482.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.1426, allocations: 7.984 kB / 482.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1426, allocations: 4 kB / 482.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1428, allocations: 135.9 kB / 482.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1428, allocations: 0 / 482.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.1431, allocations: 39.91 kB / 482.7 MB, free: 1.066 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.0002048/0.1433, allocations: 123.1 kB / 482.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.1445, allocations: 228.1 kB / 483 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.1445, allocations: 0 / 483 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006/0.1451, allocations: 123.8 kB / 483.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1455, allocations: 56.36 kB / 483.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.1461, allocations: 341.1 kB / 483.6 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1464, allocations: 0.7358 MB / 484.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1465, allocations: 33.41 kB / 484.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.1466, allocations: 23.38 kB / 484.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1466, allocations: 0 / 484.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Templates: time 0.00621/0.1528, allocations: 3.026 MB / 487.4 MB, free: 12.39 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 -s cvode -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/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_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