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.001176/0.001176, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.001056/0.001056, allocations: 192 kB / 18.56 MB, free: 4.562 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.333/1.333, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.2039/0.2039, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.95 kB / 408.5 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1192, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003638/0.1229, allocations: 1.666 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1245, allocations: 0.8023 MB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.1245, allocations: 0 / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1248, allocations: 43.75 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.125, allocations: 55.73 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.1253, allocations: 87.64 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1255, allocations: 159.2 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.1256, allocations: 13.11 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1257, allocations: 63.7 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1259, allocations: 71.69 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1259, allocations: 4 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.1262, allocations: 159.8 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.1263, allocations: 39.83 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.1263, allocations: 63.61 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1267, allocations: 207.5 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1267, allocations: 4 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1267, allocations: 4 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1267, allocations: 0 / 472.7 MB, free: 10.93 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.0006324/0.1273, allocations: 451 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1274, allocations: 8.031 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005432/0.1279, allocations: 76.61 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.1282, allocations: 212.1 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1282, allocations: 8.375 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1282, allocations: 12.12 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.1287, allocations: 246.5 kB / 473.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1287, allocations: 0 / 473.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.1287, allocations: 4 kB / 473.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.1288, allocations: 23.92 kB / 473.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.1292, allocations: 223.6 kB / 473.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.1302, allocations: 0.7246 MB / 474.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.1305, allocations: 86.5 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1306, allocations: 48.81 kB / 474.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1306, allocations: 4.141 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1306, allocations: 46.44 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.1307, allocations: 0 / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004878/0.1311, allocations: 173.3 kB / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1312, allocations: 55.41 kB / 475.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1314, allocations: 183.3 kB / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1314, allocations: 25.7 kB / 475.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.1315, allocations: 147.4 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1315, allocations: 27.64 kB / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.1316, allocations: 25.72 kB / 475.5 MB, free: 7.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.1317, allocations: 322.8 kB / 475.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1318, allocations: 51.94 kB / 475.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.132, allocations: 101.9 kB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.1323, allocations: 162.7 kB / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1323, allocations: 0 / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003634/0.1326, allocations: 181.3 kB / 476.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1327, allocations: 11.94 kB / 476.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1327, allocations: 3.938 kB / 476.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1327, allocations: 4 kB / 476.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.1336, allocations: 127.8 kB / 476.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.1347, allocations: 1.817 MB / 478.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1349, allocations: 23.83 kB / 478.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.1349, allocations: 4 kB / 478.3 MB, free: 4.984 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.0001216/0.135, allocations: 145.7 kB / 478.4 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.1351, allocations: 15.84 kB / 478.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.1355, allocations: 178.9 kB / 478.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.934e-06/0.1355, allocations: 11.98 kB / 478.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1356, allocations: 0 / 478.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1356, allocations: 0 / 478.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1358, allocations: 237.5 kB / 478.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1358, allocations: 0 / 478.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/0.1365, allocations: 103.8 kB / 478.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1365, allocations: 0 / 478.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1365, allocations: 11.92 kB / 478.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009581/0.1375, allocations: 1.781 MB / 480.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1375, allocations: 0 / 480.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.1379, allocations: 239.6 kB / 481 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.1379, allocations: 92.86 kB / 481 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.138, allocations: 4 kB / 481.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.1381, allocations: 7.984 kB / 481.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.1382, allocations: 11.98 kB / 481.1 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1382, allocations: 4 kB / 481.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.683e-05/0.1383, allocations: 139.9 kB / 481.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1383, allocations: 0 / 481.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.1386, allocations: 43.91 kB / 481.3 MB, free: 1.816 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.0001726/0.1388, allocations: 111.2 kB / 481.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.1399, allocations: 235.8 kB / 481.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.14, allocations: 4.25 kB / 481.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006272/0.1406, allocations: 123.9 kB / 481.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.141, allocations: 44.27 kB / 481.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006022/0.1416, allocations: 351 kB / 482.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1419, allocations: 0.7319 MB / 482.8 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.142, allocations: 41.39 kB / 482.9 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.1421, allocations: 15.44 kB / 482.9 MB, free: 116 kB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1421, allocations: 4 kB / 482.9 MB, free: 112 kB / 350.1 MB Notification: Performance of Templates: time 0.005991/0.1481, allocations: 3.078 MB / 486 MB, free: 13.09 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