Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001354/0.001354, allocations: 106.8 kB / 17.03 MB, free: 5.703 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.001276/0.001276, allocations: 196.1 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2492/0.2492, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 68.97 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1268, allocations: 57.8 MB / 442 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002792/0.1296, allocations: 1.674 MB / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1309, allocations: 0.8227 MB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.131, allocations: 0 / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.1313, allocations: 43.77 kB / 444.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1315, allocations: 59.73 kB / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1318, allocations: 95.61 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.1321, allocations: 147.2 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.304e-05/0.1321, allocations: 17.06 kB / 444.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1323, allocations: 67.7 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1324, allocations: 71.67 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.1324, allocations: 4 kB / 445 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.1327, allocations: 159.7 kB / 445.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.1328, allocations: 47.77 kB / 445.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.641e-05/0.1329, allocations: 51.69 kB / 445.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.1332, allocations: 211.3 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1333, allocations: 4 kB / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1333, allocations: 0 / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1333, allocations: 0 / 445.4 MB, free: 2.637 MB / 318.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.0006098/0.1339, allocations: 467 kB / 445.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1339, allocations: 11.89 kB / 445.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005359/0.1345, allocations: 64.67 kB / 446 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.1347, allocations: 216.1 kB / 446.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1347, allocations: 8.375 kB / 446.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.1348, allocations: 16.12 kB / 446.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.1351, allocations: 241.2 kB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1352, allocations: 4 kB / 446.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.1352, allocations: 4 kB / 446.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.1352, allocations: 15.98 kB / 446.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.1356, allocations: 227.8 kB / 446.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.1365, allocations: 0.7286 MB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1367, allocations: 90.5 kB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1368, allocations: 44.81 kB / 447.6 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1368, allocations: 0 / 447.6 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.1368, allocations: 42.5 kB / 447.6 MB, free: 292 kB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1368, allocations: 4 kB / 447.6 MB, free: 288 kB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004339/0.1373, allocations: 169.4 kB / 447.8 MB, free: 112 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.1373, allocations: 51.41 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1375, allocations: 191.2 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1375, allocations: 25.7 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.1376, allocations: 143.7 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.1377, allocations: 27.66 kB / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.1377, allocations: 33.7 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1379, allocations: 322.8 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.138, allocations: 43.95 kB / 448.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.1382, allocations: 102.8 kB / 448.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.1385, allocations: 154.7 kB / 448.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1385, allocations: 0 / 448.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003992/0.1389, allocations: 181.3 kB / 449 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1389, allocations: 8.156 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1389, allocations: 11.94 kB / 449 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.139, allocations: 0 / 449 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/0.1398, allocations: 123.8 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.141, allocations: 1.82 MB / 451 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1411, allocations: 24.03 kB / 451 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.1411, allocations: 15.98 kB / 451 MB, free: 12.69 MB / 334.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.0001199/0.1413, allocations: 141.7 kB / 451.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.1413, allocations: 11.84 kB / 451.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.1417, allocations: 178.9 kB / 451.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1417, allocations: 7.984 kB / 451.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1418, allocations: 0 / 451.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1418, allocations: 0 / 451.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.142, allocations: 237.4 kB / 451.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.142, allocations: 0 / 451.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.1427, allocations: 111.9 kB / 451.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1427, allocations: 0 / 451.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1427, allocations: 4 kB / 451.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009519/0.1437, allocations: 1.778 MB / 453.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1437, allocations: 0 / 453.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.144, allocations: 251.4 kB / 453.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.1441, allocations: 92.94 kB / 453.8 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1441, allocations: 0 / 453.8 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.1443, allocations: 11.98 kB / 453.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.1443, allocations: 4 kB / 453.8 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1443, allocations: 4 kB / 453.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1444, allocations: 139.9 kB / 454 MB, free: 9.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1444, allocations: 0 / 454 MB, free: 9.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.1448, allocations: 51.84 kB / 454 MB, free: 9.52 MB / 334.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.0001922/0.145, allocations: 107.2 kB / 454.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.1461, allocations: 228.1 kB / 454.3 MB, free: 9.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1461, allocations: 3.938 kB / 454.3 MB, free: 9.176 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006046/0.1467, allocations: 131.8 kB / 454.5 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1471, allocations: 38.81 kB / 454.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.1478, allocations: 330.1 kB / 454.8 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1481, allocations: 0.7436 MB / 455.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.1482, allocations: 41.33 kB / 455.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.1483, allocations: 19.44 kB / 455.6 MB, free: 7.836 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1483, allocations: 0 / 455.6 MB, free: 7.836 MB / 334.1 MB Notification: Performance of Templates: time 0.006353/0.1546, allocations: 3.038 MB / 458.7 MB, free: 4.855 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches