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.001511/0.001511, allocations: 104.5 kB / 16.27 MB, free: 5.844 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.002115/0.002115, allocations: 186.1 kB / 17.19 MB, free: 5.496 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.664/1.664, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2184/0.2184, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 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.001427/0.001427, allocations: 71.22 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1238, allocations: 57.79 MB / 440.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002506/0.1264, allocations: 1.667 MB / 442.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1274, allocations: 0.8344 MB / 443 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.1275, allocations: 4 kB / 443.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.1278, allocations: 31.83 kB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.1279, allocations: 63.67 kB / 443.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1282, allocations: 95.62 kB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1283, allocations: 159.2 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.1284, allocations: 13.06 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1285, allocations: 67.7 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1286, allocations: 67.69 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1287, allocations: 4 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.1289, allocations: 167.8 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.129, allocations: 39.77 kB / 443.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.129, allocations: 59.67 kB / 443.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.1293, allocations: 203.3 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1293, allocations: 0 / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1293, allocations: 0 / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1294, allocations: 4 kB / 444 MB, free: 3.398 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.0004904/0.1299, allocations: 455 kB / 444.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1299, allocations: 15.89 kB / 444.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004737/0.1304, allocations: 68.67 kB / 444.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.1306, allocations: 216.1 kB / 444.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1306, allocations: 12.38 kB / 444.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.1306, allocations: 12.12 kB / 444.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.131, allocations: 237.5 kB / 445 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.131, allocations: 0 / 445 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.131, allocations: 11.98 kB / 445 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.1311, allocations: 19.77 kB / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.1314, allocations: 223.8 kB / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009043/0.1324, allocations: 0.7286 MB / 446 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.1326, allocations: 90.5 kB / 446.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.1327, allocations: 48.81 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1327, allocations: 4.141 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.1327, allocations: 46.48 kB / 446.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1327, allocations: 0 / 446.2 MB, free: 1.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004715/0.1332, allocations: 161.4 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.1333, allocations: 51.41 kB / 446.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1334, allocations: 195.2 kB / 446.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1334, allocations: 25.7 kB / 446.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.1335, allocations: 139.5 kB / 446.7 MB, free: 452 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.1335, allocations: 23.66 kB / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.1336, allocations: 37.7 kB / 446.8 MB, free: 384 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.1336, allocations: 322.8 kB / 447.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1337, allocations: 47.94 kB / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.1339, allocations: 98.94 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.1342, allocations: 162.6 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1343, allocations: 0 / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003846/0.1346, allocations: 185.5 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1347, allocations: 7.938 kB / 447.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1347, allocations: 4 kB / 447.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1347, allocations: 0 / 447.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009292/0.1356, allocations: 123.8 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.1369, allocations: 1.824 MB / 449.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.137, allocations: 23.75 kB / 449.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1371, allocations: 11.98 kB / 449.6 MB, free: 13.45 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.0001222/0.1372, allocations: 141.8 kB / 449.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.1372, allocations: 11.84 kB / 449.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/0.1377, allocations: 182.9 kB / 449.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1377, allocations: 0 / 449.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1377, allocations: 0 / 449.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1377, allocations: 0 / 449.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.138, allocations: 241.4 kB / 450.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.138, allocations: 3.984 kB / 450.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.1387, allocations: 99.88 kB / 450.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1388, allocations: 4 kB / 450.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1388, allocations: 3.938 kB / 450.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.1398, allocations: 1.785 MB / 452 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1398, allocations: 0 / 452 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.1402, allocations: 251.5 kB / 452.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1403, allocations: 85.02 kB / 452.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.1403, allocations: 0 / 452.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1405, allocations: 7.984 kB / 452.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.1405, allocations: 8 kB / 452.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1406, allocations: 7.984 kB / 452.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.1407, allocations: 135.9 kB / 452.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1407, allocations: 4 kB / 452.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.141, allocations: 43.84 kB / 452.6 MB, free: 10.29 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.0002054/0.1412, allocations: 115.2 kB / 452.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.1424, allocations: 236.3 kB / 452.9 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1424, allocations: 7.938 kB / 452.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006322/0.1431, allocations: 124 kB / 453 MB, free: 9.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1435, allocations: 51 kB / 453.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.1441, allocations: 334.3 kB / 453.4 MB, free: 9.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1444, allocations: 0.7319 MB / 454.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.1446, allocations: 45.33 kB / 454.2 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.1446, allocations: 19.44 kB / 454.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1446, allocations: 0 / 454.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of Templates: time 0.006695/0.1513, allocations: 3.083 MB / 457.3 MB, free: 5.562 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 -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/jenkins/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/jenkins/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