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.001178/0.001178, allocations: 107.1 kB / 17.03 MB, free: 5.664 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.001157/0.001157, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.399/1.399, 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.2145/0.2145, allocations: 43.52 MB / 314.7 MB, free: 484 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.001522/0.001523, allocations: 74.5 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1155, allocations: 57.79 MB / 442 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002833/0.1183, allocations: 1.661 MB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1195, allocations: 0.8344 MB / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.1196, allocations: 0 / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.1199, allocations: 47.77 kB / 444.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.1201, allocations: 55.73 kB / 444.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1204, allocations: 87.64 kB / 444.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.1205, allocations: 151.2 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.1206, allocations: 25.03 kB / 444.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1207, allocations: 63.72 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1208, allocations: 71.67 kB / 445 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1208, allocations: 7.984 kB / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.1211, allocations: 159.8 kB / 445.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.599e-05/0.1212, allocations: 39.78 kB / 445.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.1212, allocations: 55.67 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.1215, allocations: 215.3 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1215, allocations: 3.938 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1215, allocations: 0 / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1215, allocations: 0 / 445.4 MB, free: 2.629 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.0005025/0.122, allocations: 459 kB / 445.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1221, allocations: 11.89 kB / 445.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004882/0.1226, allocations: 68.66 kB / 446 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.1228, allocations: 220.1 kB / 446.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1228, allocations: 8.375 kB / 446.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.1228, allocations: 20.12 kB / 446.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.1232, allocations: 241.2 kB / 446.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1232, allocations: 0 / 446.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1232, allocations: 4 kB / 446.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.1233, allocations: 15.98 kB / 446.5 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.1236, allocations: 227.8 kB / 446.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009337/0.1246, allocations: 0.7247 MB / 447.4 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1248, allocations: 86.52 kB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1249, allocations: 44.81 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1249, allocations: 4.141 kB / 447.6 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.1249, allocations: 46.44 kB / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.1249, allocations: 0 / 447.6 MB, free: 284 kB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004402/0.1254, allocations: 165.5 kB / 447.8 MB, free: 112 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.1254, allocations: 51.41 kB / 447.8 MB, free: 48 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1256, allocations: 195.2 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1256, allocations: 25.7 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.1257, allocations: 139.5 kB / 448.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.1258, allocations: 27.64 kB / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/0.1259, allocations: 33.7 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.126, allocations: 322.8 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1261, allocations: 43.95 kB / 448.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.1263, allocations: 110.7 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.1266, allocations: 146.7 kB / 448.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1266, allocations: 0 / 448.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003595/0.127, allocations: 185.5 kB / 449 MB, free: 14.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.127, allocations: 11.94 kB / 449 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.127, allocations: 4 kB / 449 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.127, allocations: 4 kB / 449 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009167/0.1279, allocations: 119.8 kB / 449.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.1291, allocations: 1.817 MB / 451 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.1293, allocations: 31.8 kB / 451 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1293, allocations: 8 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.0001158/0.1295, allocations: 145.7 kB / 451.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.1295, allocations: 11.84 kB / 451.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.1299, allocations: 182.8 kB / 451.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.13, allocations: 0 / 451.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.13, allocations: 4 kB / 451.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.13, allocations: 0 / 451.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.1303, allocations: 241.4 kB / 451.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1303, allocations: 4 kB / 451.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.131, allocations: 111.8 kB / 451.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.131, allocations: 0 / 451.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.131, allocations: 4 kB / 451.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.132, allocations: 1.774 MB / 453.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.132, allocations: 0 / 453.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.1324, allocations: 255.5 kB / 453.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.1324, allocations: 85.02 kB / 453.8 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1325, allocations: 0 / 453.8 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1326, allocations: 11.98 kB / 453.8 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.1327, allocations: 7.984 kB / 453.8 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1327, allocations: 11.88 kB / 453.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1328, allocations: 135.9 kB / 454 MB, free: 9.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1328, allocations: 4 kB / 454 MB, free: 9.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.1332, allocations: 51.84 kB / 454 MB, free: 9.508 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.0001965/0.1334, allocations: 103.2 kB / 454.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.1345, allocations: 232.1 kB / 454.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1346, allocations: 0 / 454.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006326/0.1352, allocations: 131.8 kB / 454.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.1356, allocations: 38.81 kB / 454.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.1363, allocations: 337.4 kB / 454.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1366, allocations: 0.7319 MB / 455.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.1367, allocations: 41.34 kB / 455.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.1367, allocations: 19.44 kB / 455.6 MB, free: 7.836 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1367, allocations: 0 / 455.6 MB, free: 7.836 MB / 334.1 MB Notification: Performance of Templates: time 0.006465/0.1432, allocations: 3.049 MB / 458.7 MB, free: 4.844 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 gbode -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