Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009236/0.0009237, allocations: 200.7 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.6 MB / 243.1 MB, free: 12.58 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000767/0.000767, allocations: 98.14 kB / 295.1 MB, free: 4.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1824/0.1824, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002319/0.0002319, allocations: 11.98 kB / 464.8 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09022/0.09047, allocations: 62.95 MB / 0.5153 GB, free: 5.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001558/0.09207, allocations: 1.509 MB / 0.5168 GB, free: 3.586 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000723/0.09281, allocations: 0.5885 MB / 0.5174 GB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.09287, allocations: 0 / 0.5174 GB, free: 2.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.09311, allocations: 31.83 kB / 0.5174 GB, free: 2.965 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.09324, allocations: 75.58 kB / 0.5175 GB, free: 2.891 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.09347, allocations: 95.69 kB / 0.5176 GB, free: 2.797 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.09367, allocations: 262.7 kB / 0.5178 GB, free: 2.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.09372, allocations: 28.3 kB / 0.5179 GB, free: 2.512 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.0938, allocations: 71.59 kB / 0.5179 GB, free: 2.441 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.09392, allocations: 111.5 kB / 0.518 GB, free: 2.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.09394, allocations: 4 kB / 0.518 GB, free: 2.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.0942, allocations: 211.8 kB / 0.5182 GB, free: 2.121 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.09425, allocations: 47.77 kB / 0.5183 GB, free: 2.074 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.0943, allocations: 61.58 kB / 0.5183 GB, free: 2.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.09451, allocations: 231.6 kB / 0.5186 GB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.09452, allocations: 3.938 kB / 0.5186 GB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09453, allocations: 3.984 kB / 0.5186 GB, free: 1.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.09454, allocations: 0 / 0.5186 GB, free: 1.773 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0004855/0.09503, allocations: 499.2 kB / 0.5191 GB, free: 1.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.09506, allocations: 8.031 kB / 0.5191 GB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.09676, allocations: 203.3 kB / 0.5193 GB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.097, allocations: 270.6 kB / 0.5195 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.09702, allocations: 20.56 kB / 0.5195 GB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.09707, allocations: 23.98 kB / 0.5196 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007618/0.09784, allocations: 0.4966 MB / 0.52 GB, free: 188 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.09786, allocations: 0 / 0.52 GB, free: 188 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.0979, allocations: 12 kB / 0.5201 GB, free: 176 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.09794, allocations: 28.53 kB / 0.5201 GB, free: 144 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.0991, allocations: 0.5877 MB / 0.5207 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.1011, allocations: 1.181 MB / 0.5218 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.1018, allocations: 182.3 kB / 0.522 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.1021, allocations: 88.77 kB / 0.5221 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.1022, allocations: 4 kB / 0.5221 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.1022, allocations: 34.56 kB / 0.5221 GB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1022, allocations: 0 / 0.5221 GB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001183/0.1034, allocations: 317.3 kB / 0.5224 GB, free: 13.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.1034, allocations: 51.41 kB / 0.5225 GB, free: 13.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.1037, allocations: 278.6 kB / 0.5227 GB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1037, allocations: 25.7 kB / 0.5227 GB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.928e-05/0.1038, allocations: 179.1 kB / 0.5229 GB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.1038, allocations: 31.64 kB / 0.5229 GB, free: 13.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.1038, allocations: 4 kB / 0.5229 GB, free: 13.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.104, allocations: 330.8 kB / 0.5233 GB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.1043, allocations: 95.89 kB / 0.5234 GB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.1047, allocations: 119.3 kB / 0.5235 GB, free: 12.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.105, allocations: 107.8 kB / 0.5236 GB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.105, allocations: 0 / 0.5236 GB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00079/0.1058, allocations: 269.2 kB / 0.5238 GB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1059, allocations: 10.11 kB / 0.5238 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1059, allocations: 4 kB / 0.5238 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1059, allocations: 4 kB / 0.5238 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006152/0.1121, allocations: 463.2 kB / 0.5243 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.1147, allocations: 1.949 MB / 0.5262 GB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.1151, allocations: 47.94 kB / 0.5262 GB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.1152, allocations: 11.94 kB / 0.5262 GB, free: 9.574 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.1153, allocations: 157.7 kB / 0.5264 GB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.1154, allocations: 15.81 kB / 0.5264 GB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.064e-05/0.1154, allocations: 25.7 kB / 0.5264 GB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1154, allocations: 8 kB / 0.5264 GB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1155, allocations: 4 kB / 0.5264 GB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1155, allocations: 0 / 0.5264 GB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.1158, allocations: 297.3 kB / 0.5267 GB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1158, allocations: 0 / 0.5267 GB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005825/0.1216, allocations: 459.3 kB / 0.5272 GB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1216, allocations: 7.984 kB / 0.5272 GB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.1217, allocations: 4 kB / 0.5272 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.1242, allocations: 1.945 MB / 0.5291 GB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1242, allocations: 0 / 0.5291 GB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.125, allocations: 335.1 kB / 0.5294 GB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.125, allocations: 92.91 kB / 0.5295 GB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.1251, allocations: 4 kB / 0.5295 GB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.1255, allocations: 23.97 kB / 0.5295 GB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.1255, allocations: 11.97 kB / 0.5295 GB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1256, allocations: 4 kB / 0.5295 GB, free: 6.051 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1257, allocations: 209.9 kB / 0.5297 GB, free: 5.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1257, allocations: 0 / 0.5297 GB, free: 5.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.126, allocations: 67.84 kB / 0.5298 GB, free: 5.777 MB / 362.7 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001701/0.1262, allocations: 111.2 kB / 0.5299 GB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006318/0.1326, allocations: 0.6085 MB / 0.5305 GB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1326, allocations: 0 / 0.5305 GB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005807/0.1384, allocations: 0.4955 MB / 0.531 GB, free: 4.551 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.1388, allocations: 46.8 kB / 0.531 GB, free: 4.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008692/0.1397, allocations: 0.5673 MB / 0.5316 GB, free: 3.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.14, allocations: 0.7755 MB / 0.5323 GB, free: 3.109 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.14, allocations: 19.42 kB / 0.5324 GB, free: 3.09 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.14, allocations: 0 / 0.5324 GB, free: 3.09 MB / 362.7 MB Notification: Performance of Templates: time 0.007429/0.1475, allocations: 6.606 MB / 0.5388 GB, free: 12.51 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches