Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001074, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2015/0.2015, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 71.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1019, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002802/0.1047, allocations: 1.697 MB / 483.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.106, allocations: 0.8257 MB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.106, allocations: 0 / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.1062, allocations: 43.77 kB / 484 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.1064, allocations: 55.73 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1067, allocations: 87.64 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1069, allocations: 151.2 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.1069, allocations: 13.11 kB / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.1071, allocations: 75.64 kB / 484.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1072, allocations: 79.67 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.1072, allocations: 4 kB / 484.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.1075, allocations: 159.8 kB / 484.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.749e-05/0.1076, allocations: 31.91 kB / 484.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.149e-05/0.1076, allocations: 67.55 kB / 484.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.1079, allocations: 203.3 kB / 485 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1079, allocations: 0 / 485 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.108, allocations: 0 / 485 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.108, allocations: 3.938 kB / 485 MB, free: 1.023 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.0005402/0.1085, allocations: 463 kB / 485.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1085, allocations: 12.03 kB / 485.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004594/0.109, allocations: 68.67 kB / 485.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1092, allocations: 212.1 kB / 485.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1093, allocations: 12.38 kB / 485.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.1093, allocations: 20.11 kB / 485.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.1097, allocations: 237.4 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1097, allocations: 0 / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.1098, allocations: 4 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.1098, allocations: 19.98 kB / 486 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.1102, allocations: 223.6 kB / 486.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.1112, allocations: 0.7209 MB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1114, allocations: 90.45 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.1116, allocations: 48.97 kB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1116, allocations: 3.984 kB / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.1116, allocations: 34.5 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1116, allocations: 0 / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000462/0.1121, allocations: 169.4 kB / 487.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1121, allocations: 55.41 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.1123, allocations: 187.2 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1123, allocations: 33.7 kB / 487.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.1124, allocations: 135.5 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.1125, allocations: 31.62 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.1125, allocations: 33.7 kB / 487.7 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1126, allocations: 322.8 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1128, allocations: 47.95 kB / 488.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.1129, allocations: 94.81 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.1132, allocations: 162.7 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1132, allocations: 0 / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003582/0.1136, allocations: 181.3 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1136, allocations: 7.938 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1136, allocations: 3.938 kB / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1136, allocations: 4 kB / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/0.1145, allocations: 124.1 kB / 488.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.1156, allocations: 1.813 MB / 490.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.1158, allocations: 23.83 kB / 490.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.1158, allocations: 4 kB / 490.5 MB, free: 11.1 MB / 366.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.0001085/0.1159, allocations: 149.9 kB / 490.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.1159, allocations: 15.84 kB / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.1163, allocations: 178.8 kB / 490.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1164, allocations: 4 kB / 490.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1164, allocations: 0 / 490.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1164, allocations: 0 / 490.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.1166, allocations: 237.4 kB / 491.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1166, allocations: 0 / 491.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/0.1173, allocations: 111.9 kB / 491.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1173, allocations: 4 kB / 491.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1173, allocations: 4 kB / 491.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009084/0.1183, allocations: 1.781 MB / 493 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1183, allocations: 0 / 493 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.1186, allocations: 235.3 kB / 493.2 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.1187, allocations: 93.05 kB / 493.3 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1187, allocations: 15.94 kB / 493.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1188, allocations: 7.984 kB / 493.3 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.1189, allocations: 7.984 kB / 493.3 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1189, allocations: 8 kB / 493.3 MB, free: 8.098 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.359e-05/0.119, allocations: 131.9 kB / 493.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.119, allocations: 0 / 493.5 MB, free: 7.969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1193, allocations: 44 kB / 493.5 MB, free: 7.926 MB / 366.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.0001549/0.1195, allocations: 111.2 kB / 493.6 MB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.1206, allocations: 228.5 kB / 493.8 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1206, allocations: 0 / 493.8 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006161/0.1213, allocations: 119.8 kB / 493.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1216, allocations: 64.25 kB / 494 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.1222, allocations: 340.1 kB / 494.3 MB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1225, allocations: 0.7396 MB / 495.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.973e-05/0.1226, allocations: 29.41 kB / 495.1 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.1226, allocations: 15.44 kB / 495.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1226, allocations: 0 / 495.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of Templates: time 0.005732/0.1284, allocations: 3.042 MB / 498.2 MB, free: 3.254 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches