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.001163/0.001163, allocations: 102 kB / 16.93 MB, free: 5.781 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.001386/0.001386, allocations: 191.6 kB / 17.86 MB, free: 5.156 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.33/1.33, allocations: 205.1 MB / 223.7 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.198/0.198, allocations: 43.52 MB / 314.6 MB, free: 0.5352 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.001464/0.001464, allocations: 73.47 kB / 383.4 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.09814, allocations: 57.79 MB / 441.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002905/0.1011, allocations: 1.668 MB / 442.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1023, allocations: 0.8266 MB / 443.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.1024, allocations: 4 kB / 443.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.1026, allocations: 35.81 kB / 443.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.1028, allocations: 55.75 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1031, allocations: 99.61 kB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.1032, allocations: 155.2 kB / 444.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.1033, allocations: 21.05 kB / 444.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1034, allocations: 63.64 kB / 444.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1035, allocations: 79.67 kB / 444.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1035, allocations: 4 kB / 444.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.1038, allocations: 159.8 kB / 444.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.1039, allocations: 35.83 kB / 444.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.1039, allocations: 63.61 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1042, allocations: 199.3 kB / 444.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1042, allocations: 0 / 444.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1042, allocations: 3.984 kB / 444.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1042, allocations: 4 kB / 444.7 MB, free: 3.41 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.000495/0.1047, allocations: 459 kB / 445.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1048, allocations: 11.89 kB / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005435/0.1053, allocations: 68.67 kB / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.1055, allocations: 220 kB / 445.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1055, allocations: 8.375 kB / 445.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.1056, allocations: 12.12 kB / 445.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.1059, allocations: 241.5 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.106, allocations: 0 / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.106, allocations: 8 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.106, allocations: 19.77 kB / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.1064, allocations: 219.8 kB / 445.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008658/0.1073, allocations: 0.7286 MB / 446.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1075, allocations: 98.41 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1076, allocations: 48.81 kB / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.1076, allocations: 0 / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.1076, allocations: 42.5 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.1076, allocations: 0 / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004485/0.1081, allocations: 157.5 kB / 447 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.1081, allocations: 59.33 kB / 447 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.1082, allocations: 191.2 kB / 447.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1083, allocations: 25.7 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.1083, allocations: 139.7 kB / 447.4 MB, free: 468 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.1083, allocations: 31.62 kB / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.1084, allocations: 33.72 kB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.1084, allocations: 322.8 kB / 447.8 MB, free: 64 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1086, allocations: 51.94 kB / 447.8 MB, free: 12 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.1088, allocations: 94.83 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.1091, allocations: 158.6 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-06/0.1091, allocations: 11.94 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003782/0.1095, allocations: 173.5 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1095, allocations: 11.94 kB / 448.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1095, allocations: 4 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1095, allocations: 4 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008783/0.1104, allocations: 119.8 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.1117, allocations: 1.821 MB / 450.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.1119, allocations: 31.7 kB / 450.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.1119, allocations: 8 kB / 450.2 MB, free: 13.46 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.0001425/0.112, allocations: 141.8 kB / 450.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.1121, allocations: 11.84 kB / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004667/0.1125, allocations: 182.9 kB / 450.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1126, allocations: 0 / 450.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1126, allocations: 0 / 450.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1126, allocations: 0 / 450.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.1129, allocations: 245.4 kB / 450.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1129, allocations: 0 / 450.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/0.1136, allocations: 103.9 kB / 450.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1136, allocations: 0 / 450.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1136, allocations: 0 / 450.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.1147, allocations: 1.785 MB / 452.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1147, allocations: 0 / 452.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.1151, allocations: 255.4 kB / 452.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.1152, allocations: 89 kB / 453 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1152, allocations: 0 / 453 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.1153, allocations: 7.984 kB / 453 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.1154, allocations: 11.98 kB / 453 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1154, allocations: 4 kB / 453.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1155, allocations: 135.9 kB / 453.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1155, allocations: 8 kB / 453.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.1159, allocations: 39.84 kB / 453.2 MB, free: 10.3 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.0002033/0.1161, allocations: 107.2 kB / 453.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.1173, allocations: 244.1 kB / 453.6 MB, free: 9.941 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1173, allocations: 3.938 kB / 453.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006486/0.118, allocations: 123.8 kB / 453.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.1184, allocations: 55.17 kB / 453.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.1191, allocations: 364.6 kB / 454.1 MB, free: 9.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1194, allocations: 0.728 MB / 454.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.1195, allocations: 19.44 kB / 454.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1195, allocations: 0 / 454.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of Templates: time 0.006698/0.1262, allocations: 4.429 MB / 459.3 MB, free: 4.188 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/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