Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001007/0.001007, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 172.5 kB / 16.58 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4226/0.4226, allocations: 43.57 MB / 314.6 MB, free: 8.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008342/0.0008344, allocations: 18.97 kB / 384 MB, free: 8.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1702, allocations: 58.86 MB / 442.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002372/0.1727, allocations: 1.505 MB / 444.3 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1738, allocations: 0.5807 MB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.1739, allocations: 4 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.1742, allocations: 39.77 kB / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1744, allocations: 63.64 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.1747, allocations: 91.7 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.1751, allocations: 266.7 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.564e-05/0.1751, allocations: 32.27 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1753, allocations: 79.59 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.1754, allocations: 103.5 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1755, allocations: 8 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.1758, allocations: 223.7 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.155e-05/0.1759, allocations: 43.77 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.176, allocations: 61.58 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.1763, allocations: 223.6 kB / 446.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1763, allocations: 4 kB / 446.1 MB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.1763, allocations: 4 kB / 446.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1763, allocations: 0 / 446.1 MB, free: 9.91 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.0006672/0.177, allocations: 0.4912 MB / 446.6 MB, free: 9.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.177, allocations: 12.03 kB / 446.6 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/0.1786, allocations: 203.3 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.1789, allocations: 270.6 kB / 447.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.179, allocations: 20.56 kB / 447.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.179, allocations: 20 kB / 447.1 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009395/0.18, allocations: 0.4927 MB / 447.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.18, allocations: 0 / 447.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.18, allocations: 12 kB / 447.7 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/0.1801, allocations: 40.45 kB / 447.7 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.1813, allocations: 0.5915 MB / 448.3 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.1834, allocations: 1.173 MB / 449.5 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.184, allocations: 174.4 kB / 449.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.1843, allocations: 92.77 kB / 449.7 MB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1844, allocations: 0 / 449.7 MB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1844, allocations: 38.44 kB / 449.8 MB, free: 6.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.041e-06/0.1844, allocations: 0 / 449.8 MB, free: 6.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001137/0.1856, allocations: 321 kB / 450.1 MB, free: 5.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.1856, allocations: 59.34 kB / 450.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.1859, allocations: 274.6 kB / 450.4 MB, free: 5.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.186, allocations: 29.7 kB / 450.4 MB, free: 5.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1861, allocations: 167.7 kB / 450.6 MB, free: 5.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.1861, allocations: 27.64 kB / 450.6 MB, free: 5.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.685e-05/0.1862, allocations: 4 kB / 450.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1863, allocations: 330.8 kB / 450.9 MB, free: 4.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.1867, allocations: 91.89 kB / 451 MB, free: 4.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.187, allocations: 127.3 kB / 451.2 MB, free: 4.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.1874, allocations: 103.9 kB / 451.3 MB, free: 4.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1874, allocations: 0 / 451.3 MB, free: 4.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007719/0.1882, allocations: 273.1 kB / 451.5 MB, free: 4.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1882, allocations: 8 kB / 451.5 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1882, allocations: 4.094 kB / 451.5 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1882, allocations: 0 / 451.5 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005329/0.1936, allocations: 459.3 kB / 452 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002535/0.1961, allocations: 1.953 MB / 453.9 MB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.1965, allocations: 51.88 kB / 454 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.1965, allocations: 11.98 kB / 454 MB, free: 1.707 MB / 382.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 (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.0001713/0.1967, allocations: 153.8 kB / 454.1 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.1968, allocations: 23.72 kB / 454.2 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.269e-05/0.1969, allocations: 29.7 kB / 454.2 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1969, allocations: 0 / 454.2 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1969, allocations: 7.953 kB / 454.2 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1969, allocations: 0 / 454.2 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.1973, allocations: 289.5 kB / 454.5 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1973, allocations: 0 / 454.5 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005065/0.2023, allocations: 455.4 kB / 454.9 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.2024, allocations: 11.92 kB / 454.9 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2024, allocations: 4 kB / 455 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3032/0.5056, allocations: 1.938 MB / 456.9 MB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.5056, allocations: 0 / 456.9 MB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.5064, allocations: 338.2 kB / 457.2 MB, free: 46.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.5065, allocations: 96.17 kB / 457.3 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.5066, allocations: 8.906 kB / 457.3 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.5069, allocations: 19.81 kB / 457.3 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.507, allocations: 11 kB / 457.4 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.507, allocations: 5.75 kB / 457.4 MB, free: 46.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.5072, allocations: 208.1 kB / 457.6 MB, free: 46.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5072, allocations: 0 / 457.6 MB, free: 46.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000371/0.5076, allocations: 69.59 kB / 457.6 MB, free: 46.11 MB / 382.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 (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.0002305/0.5078, allocations: 116.2 kB / 457.7 MB, free: 46.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005322/0.5132, allocations: 0.6012 MB / 458.3 MB, free: 46.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5132, allocations: 0 / 458.3 MB, free: 46.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004759/0.518, allocations: 0.4998 MB / 458.8 MB, free: 46.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.5186, allocations: 48.14 kB / 458.9 MB, free: 46.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5198, allocations: 0.5354 MB / 459.4 MB, free: 45.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.5201, allocations: 0.774 MB / 460.2 MB, free: 45.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.5203, allocations: 55.41 kB / 460.3 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.5204, allocations: 21.8 kB / 460.3 MB, free: 45.07 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5204, allocations: 0 / 460.3 MB, free: 45.07 MB / 382.1 MB Notification: Performance of Templates: time 0.009239/0.5296, allocations: 4.778 MB / 465.1 MB, free: 44.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches