Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 105.5 kB / 17.77 MB, free: 5.27 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.001049/0.001049, allocations: 188.8 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2005/0.2005, allocations: 44.17 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3822, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003094/0.3853, allocations: 1.822 MB / 0.5207 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3864, allocations: 0.6366 MB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.909e-05/0.3865, allocations: 1.125 kB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.3868, allocations: 52.17 kB / 0.5214 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.387, allocations: 68.86 kB / 0.5214 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.3874, allocations: 127.5 kB / 0.5216 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.3877, allocations: 226.5 kB / 0.5218 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.561e-05/0.3878, allocations: 31.05 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3879, allocations: 85.06 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.3881, allocations: 110.9 kB / 0.522 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3881, allocations: 5.875 kB / 0.522 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.3885, allocations: 219.1 kB / 0.5222 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.3886, allocations: 57.56 kB / 0.5223 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.957e-05/0.3887, allocations: 99.3 kB / 0.5224 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.3892, allocations: 324.8 kB / 0.5227 GB, free: 1.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3892, allocations: 0 / 0.5227 GB, free: 1.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3892, allocations: 1.875 kB / 0.5227 GB, free: 1.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.3892, allocations: 4 kB / 0.5227 GB, free: 1.324 MB / 382.1 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.0006186/0.3898, allocations: 0.5266 MB / 0.5232 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3899, allocations: 9.953 kB / 0.5232 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.3916, allocations: 199 kB / 0.5234 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.3919, allocations: 274.9 kB / 0.5236 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.392, allocations: 17.52 kB / 0.5237 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.392, allocations: 23.64 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009415/0.393, allocations: 0.4978 MB / 0.5242 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.393, allocations: 3.938 kB / 0.5242 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.393, allocations: 6.203 kB / 0.5242 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.3931, allocations: 34.08 kB / 0.5242 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.3942, allocations: 0.5777 MB / 0.5248 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.3965, allocations: 1.156 MB / 0.5259 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.3972, allocations: 173.7 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.3975, allocations: 96.73 kB / 0.5262 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.3976, allocations: 8.078 kB / 0.5262 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3976, allocations: 36 kB / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.3976, allocations: 0 / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001249/0.3989, allocations: 296 kB / 0.5265 GB, free: 14.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.399, allocations: 52.78 kB / 0.5265 GB, free: 14.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.3993, allocations: 275 kB / 0.5268 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3993, allocations: 25.7 kB / 0.5268 GB, free: 14.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3994, allocations: 178.5 kB / 0.527 GB, free: 14.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3994, allocations: 18.41 kB / 0.527 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.3995, allocations: 46.02 kB / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3997, allocations: 329 kB / 0.5274 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.4, allocations: 97.45 kB / 0.5275 GB, free: 14.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.4004, allocations: 118.9 kB / 0.5276 GB, free: 14.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007282/0.4012, allocations: 210 kB / 0.5278 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4012, allocations: 5.375 kB / 0.5278 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008509/0.402, allocations: 261.8 kB / 0.528 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4021, allocations: 9.875 kB / 0.528 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4021, allocations: 1.219 kB / 0.528 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.4021, allocations: 0.9375 kB / 0.528 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005788/0.4079, allocations: 464.5 kB / 0.5285 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.4106, allocations: 1.948 MB / 0.5304 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.411, allocations: 43.53 kB / 0.5304 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.4111, allocations: 12.05 kB / 0.5304 GB, free: 11.65 MB / 398.1 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 (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.0002454/0.4113, allocations: 157.4 kB / 0.5306 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.4114, allocations: 20.97 kB / 0.5306 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.4115, allocations: 26.77 kB / 0.5306 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4115, allocations: 1.125 kB / 0.5306 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4115, allocations: 0 / 0.5306 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4115, allocations: 0 / 0.5306 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.4119, allocations: 301.7 kB / 0.5309 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4119, allocations: 0 / 0.5309 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005518/0.4174, allocations: 452.2 kB / 0.5314 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.4175, allocations: 1.406 kB / 0.5314 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.4175, allocations: 1.375 kB / 0.5314 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.4202, allocations: 1.944 MB / 0.5333 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4202, allocations: 192 / 0.5333 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008556/0.421, allocations: 333.6 kB / 0.5336 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/0.4211, allocations: 94.81 kB / 0.5337 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.4212, allocations: 3.938 kB / 0.5337 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.4216, allocations: 18.41 kB / 0.5337 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.4216, allocations: 14.81 kB / 0.5337 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.4216, allocations: 2.906 kB / 0.5337 GB, free: 8.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.4219, allocations: 214.1 kB / 0.5339 GB, free: 8.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4219, allocations: 0 / 0.5339 GB, free: 8.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003826/0.4223, allocations: 75.03 kB / 0.534 GB, free: 8.609 MB / 398.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 (7): * Single equations (assignments): 4 * 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.0002239/0.4225, allocations: 111.7 kB / 0.5341 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00593/0.4284, allocations: 0.5898 MB / 0.5347 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4285, allocations: 4.188 kB / 0.5347 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005498/0.434, allocations: 498.8 kB / 0.5351 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.4346, allocations: 42.64 kB / 0.5352 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.4358, allocations: 483 kB / 0.5356 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.4361, allocations: 0.7804 MB / 0.5364 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.4363, allocations: 50.2 kB / 0.5365 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.4364, allocations: 22.61 kB / 0.5365 GB, free: 6.926 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4364, allocations: 0 / 0.5365 GB, free: 6.926 MB / 398.1 MB Notification: Performance of Templates: time 0.0101/0.4465, allocations: 5.374 MB / 0.5417 GB, free: 4.223 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches