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.001147/0.001146, allocations: 106.5 kB / 17.2 MB, free: 6.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.001041/0.001041, allocations: 194 kB / 18.12 MB, free: 5.383 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.412/1.412, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.217/0.217, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 61.17 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.145, allocations: 60.82 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003818/0.1488, allocations: 1.875 MB / 470.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1503, allocations: 0.6582 MB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.781e-05/0.1504, allocations: 0 / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004095/0.1508, allocations: 51.8 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.151, allocations: 67.59 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1514, allocations: 95.69 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.1518, allocations: 298.7 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.473e-05/0.1518, allocations: 32.3 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.152, allocations: 79.53 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1521, allocations: 111.5 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1522, allocations: 11.94 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.1526, allocations: 215.8 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.1527, allocations: 55.69 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1528, allocations: 99.34 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.1532, allocations: 327.1 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1532, allocations: 0 / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1532, allocations: 4 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1533, allocations: 0 / 472.5 MB, free: 10.84 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.000835/0.1541, allocations: 0.5149 MB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1541, allocations: 8.031 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.1561, allocations: 200.3 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.1564, allocations: 271.8 kB / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.1565, allocations: 20.94 kB / 473.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.1565, allocations: 20.36 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.1575, allocations: 0.5007 MB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1575, allocations: 0 / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.1575, allocations: 15.98 kB / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.1576, allocations: 28.55 kB / 474.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.1588, allocations: 0.5836 MB / 474.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.1611, allocations: 1.169 MB / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.1618, allocations: 174.3 kB / 476 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1621, allocations: 88.75 kB / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1621, allocations: 0 / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1622, allocations: 34.56 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.1622, allocations: 3.938 kB / 476.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001297/0.1635, allocations: 301.6 kB / 476.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.1635, allocations: 51.41 kB / 476.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.1638, allocations: 290.5 kB / 476.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1639, allocations: 25.7 kB / 476.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.164, allocations: 163.5 kB / 476.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.164, allocations: 23.66 kB / 476.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.1641, allocations: 41.69 kB / 477 MB, free: 6.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1643, allocations: 338.8 kB / 477.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.1647, allocations: 87.89 kB / 477.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.1651, allocations: 123.3 kB / 477.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007079/0.1658, allocations: 211.1 kB / 477.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1658, allocations: 3.938 kB / 477.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000841/0.1666, allocations: 265.1 kB / 478 MB, free: 5.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1667, allocations: 4 kB / 478 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1667, allocations: 4.078 kB / 478 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1667, allocations: 96 / 478 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006225/0.1729, allocations: 479.3 kB / 478.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.1758, allocations: 1.945 MB / 480.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.1763, allocations: 39.69 kB / 480.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.1763, allocations: 11.98 kB / 480.5 MB, free: 2.512 MB / 350.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.0002153/0.1766, allocations: 161.8 kB / 480.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.1766, allocations: 23.72 kB / 480.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.423e-05/0.1767, allocations: 25.7 kB / 480.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1767, allocations: 0 / 480.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.1767, allocations: 4 kB / 480.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1767, allocations: 3.984 kB / 480.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.1771, allocations: 289.4 kB / 481 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1771, allocations: 4 kB / 481 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006352/0.1835, allocations: 459.3 kB / 481.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.1835, allocations: 0 / 481.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.1836, allocations: 3.984 kB / 481.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/0.1866, allocations: 1.941 MB / 483.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1866, allocations: 0 / 483.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.1875, allocations: 327 kB / 483.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.1876, allocations: 92.83 kB / 483.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.1876, allocations: 4 kB / 483.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.188, allocations: 23.97 kB / 483.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.1881, allocations: 7.969 kB / 483.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.1881, allocations: 7.984 kB / 483.8 MB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002236/0.1884, allocations: 209.9 kB / 484 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1884, allocations: 0 / 484 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003999/0.1888, allocations: 67.94 kB / 484.1 MB, free: 14.73 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 (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.000255/0.189, allocations: 111.8 kB / 484.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006373/0.1954, allocations: 0.5928 MB / 484.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.1955, allocations: 0 / 484.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005723/0.2012, allocations: 0.4955 MB / 485.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.2017, allocations: 40.66 kB / 485.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.2028, allocations: 0.5356 MB / 485.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.2032, allocations: 0.7832 MB / 486.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001806/0.2034, allocations: 49.92 kB / 486.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.2035, allocations: 19.42 kB / 486.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 1.272e-06/0.2035, allocations: 0 / 486.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.009927/0.2134, allocations: 4.94 MB / 491.6 MB, free: 7.18 MB / 366.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