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.001274/0.001274, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001556/0.001556, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2176/0.2176, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4706, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.00339/0.4741, allocations: 1.83 MB / 0.5207 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.4753, allocations: 0.632 MB / 0.5213 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.039e-05/0.4754, allocations: 1.969 kB / 0.5213 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.4758, allocations: 49.09 kB / 0.5214 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.476, allocations: 72.23 kB / 0.5214 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.4764, allocations: 127.3 kB / 0.5216 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.4768, allocations: 226.5 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.4769, allocations: 30.17 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.477, allocations: 86.52 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.4772, allocations: 109.9 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.4773, allocations: 7.156 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/0.4777, allocations: 218.3 kB / 0.5222 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.987e-05/0.4778, allocations: 53.03 kB / 0.5223 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.4779, allocations: 100.2 kB / 0.5224 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.4784, allocations: 328.8 kB / 0.5227 GB, free: 1.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4784, allocations: 0 / 0.5227 GB, free: 1.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4785, allocations: 0 / 0.5227 GB, free: 1.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.4785, allocations: 4.719 kB / 0.5227 GB, free: 1.328 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.0006977/0.4792, allocations: 0.5273 MB / 0.5232 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4792, allocations: 9.859 kB / 0.5232 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.4813, allocations: 198.2 kB / 0.5234 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.4817, allocations: 275.1 kB / 0.5236 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.4817, allocations: 14.09 kB / 0.5237 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.4818, allocations: 27.36 kB / 0.5237 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.4829, allocations: 0.4942 MB / 0.5242 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.4829, allocations: 3.938 kB / 0.5242 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.483, allocations: 11.02 kB / 0.5242 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.604e-05/0.483, allocations: 33.22 kB / 0.5242 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.4845, allocations: 0.5776 MB / 0.5248 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.4868, allocations: 1.156 MB / 0.5259 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.4875, allocations: 173.1 kB / 0.5261 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.4878, allocations: 87.5 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.4878, allocations: 9.312 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.4879, allocations: 39.94 kB / 0.5262 GB, free: 15.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.4879, allocations: 3.938 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001222/0.4891, allocations: 299.5 kB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.4892, allocations: 52.66 kB / 0.5265 GB, free: 14.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.4895, allocations: 274.9 kB / 0.5268 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.4895, allocations: 27.05 kB / 0.5268 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.4896, allocations: 176.9 kB / 0.527 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.4897, allocations: 23.19 kB / 0.527 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.31e-05/0.4898, allocations: 42.23 kB / 0.5271 GB, free: 14.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.49, allocations: 328.8 kB / 0.5274 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.4903, allocations: 90.23 kB / 0.5275 GB, free: 14.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.4907, allocations: 121.5 kB / 0.5276 GB, free: 14.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/0.4914, allocations: 206 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4914, allocations: 5.938 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008254/0.4922, allocations: 261.4 kB / 0.528 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4923, allocations: 5.25 kB / 0.528 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4923, allocations: 5.438 kB / 0.528 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4923, allocations: 1.219 kB / 0.528 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006068/0.4984, allocations: 464.8 kB / 0.5285 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.5012, allocations: 1.944 MB / 0.5304 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.5017, allocations: 44 kB / 0.5304 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.5018, allocations: 12.05 kB / 0.5304 GB, free: 11.68 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.0002464/0.502, allocations: 157.1 kB / 0.5306 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.5021, allocations: 20.47 kB / 0.5306 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.5021, allocations: 26.58 kB / 0.5306 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5022, allocations: 1.281 kB / 0.5306 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5022, allocations: 0 / 0.5306 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5022, allocations: 0.8438 kB / 0.5306 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.5026, allocations: 301.5 kB / 0.5309 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5026, allocations: 0 / 0.5309 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005917/0.5085, allocations: 456.1 kB / 0.5314 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.5085, allocations: 1.531 kB / 0.5314 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.5086, allocations: 5.297 kB / 0.5314 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/0.5113, allocations: 1.94 MB / 0.5333 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5114, allocations: 192 / 0.5333 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/0.5123, allocations: 329.7 kB / 0.5336 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.5124, allocations: 98.06 kB / 0.5337 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.5125, allocations: 1.062 kB / 0.5337 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.5128, allocations: 17.44 kB / 0.5337 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.5129, allocations: 15.22 kB / 0.5337 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.513, allocations: 7.078 kB / 0.5337 GB, free: 8.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.5132, allocations: 209.8 kB / 0.5339 GB, free: 8.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.502e-06/0.5132, allocations: 0 / 0.5339 GB, free: 8.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005725/0.5138, allocations: 78.69 kB / 0.534 GB, free: 8.629 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.0002568/0.514, allocations: 117.1 kB / 0.5341 GB, free: 8.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006248/0.5203, allocations: 0.5885 MB / 0.5347 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5203, allocations: 5.375 kB / 0.5347 GB, free: 8.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005814/0.5262, allocations: 495 kB / 0.5351 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.5267, allocations: 47.47 kB / 0.5352 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.5281, allocations: 478.5 kB / 0.5356 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.5285, allocations: 0.7778 MB / 0.5364 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.5288, allocations: 49.95 kB / 0.5365 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.5289, allocations: 21.42 kB / 0.5365 GB, free: 6.945 MB / 398.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5289, allocations: 0 / 0.5365 GB, free: 6.945 MB / 398.1 MB Notification: Performance of Templates: time 0.01296/0.5418, allocations: 5.383 MB / 0.5417 GB, free: 4.227 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