Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2136/0.2136, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002505/0.002505, allocations: 72.09 kB / 417.1 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1752, allocations: 62.45 MB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.00391/0.1792, allocations: 1.743 MB / 481.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1808, allocations: 0.8335 MB / 482.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.301e-05/0.1809, allocations: 0 / 482.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.1813, allocations: 39.81 kB / 482.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.1815, allocations: 43.81 kB / 482.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.1819, allocations: 87.7 kB / 482.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.1821, allocations: 155.2 kB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.859e-05/0.1822, allocations: 9.125 kB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.1824, allocations: 71.7 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1826, allocations: 75.69 kB / 482.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1826, allocations: 8 kB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.1829, allocations: 159.8 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.183, allocations: 39.77 kB / 482.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.821e-05/0.1831, allocations: 59.67 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.1835, allocations: 207.6 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1835, allocations: 3.984 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1835, allocations: 3.938 kB / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1835, allocations: 4 kB / 483 MB, free: 2.062 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006778/0.1842, allocations: 455 kB / 483.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1843, allocations: 12.03 kB / 483.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006091/0.1849, allocations: 68.67 kB / 483.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1852, allocations: 216.1 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1852, allocations: 8.359 kB / 483.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.1852, allocations: 16.12 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.1857, allocations: 233.5 kB / 484 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1858, allocations: 0 / 484 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.1858, allocations: 11.98 kB / 484 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.1858, allocations: 15.98 kB / 484.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.1863, allocations: 227.5 kB / 484.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1875, allocations: 0.721 MB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.1877, allocations: 90.5 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.1878, allocations: 48.81 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1879, allocations: 0 / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.1879, allocations: 46.56 kB / 485.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1879, allocations: 0 / 485.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005907/0.1885, allocations: 165.3 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1886, allocations: 55.39 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1888, allocations: 185 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1888, allocations: 29.64 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1889, allocations: 139.5 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.189, allocations: 27.64 kB / 485.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.189, allocations: 29.72 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1892, allocations: 322.8 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1893, allocations: 51.94 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.1895, allocations: 94.83 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.1899, allocations: 162.6 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1899, allocations: 0 / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004093/0.1903, allocations: 185.4 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1903, allocations: 11.97 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1903, allocations: 4 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1904, allocations: 4 kB / 486.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.1913, allocations: 119.8 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.1927, allocations: 1.817 MB / 488.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.1928, allocations: 27.92 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.1929, allocations: 8 kB / 488.6 MB, free: 12.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001416/0.193, allocations: 142.3 kB / 488.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1931, allocations: 11.84 kB / 488.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.1935, allocations: 186.8 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1935, allocations: 0 / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1935, allocations: 0 / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1936, allocations: 0 / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.1938, allocations: 241.4 kB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1938, allocations: 4 kB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.1946, allocations: 103.9 kB / 489.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1946, allocations: 0 / 489.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1946, allocations: 0 / 489.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.1956, allocations: 1.789 MB / 491 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1957, allocations: 0 / 491 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.196, allocations: 239.6 kB / 491.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.1961, allocations: 96.8 kB / 491.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.1961, allocations: 4 kB / 491.4 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.1963, allocations: 7.984 kB / 491.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.1963, allocations: 11.98 kB / 491.4 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1964, allocations: 4 kB / 491.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1965, allocations: 137.8 kB / 491.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1965, allocations: 4 kB / 491.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000332/0.1968, allocations: 40 kB / 491.6 MB, free: 8.969 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 (11): * Single equations (assignments): 8 * 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.0002426/0.1971, allocations: 111.2 kB / 491.7 MB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.1984, allocations: 232.1 kB / 491.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1984, allocations: 0 / 491.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006516/0.199, allocations: 127.8 kB / 492 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.1995, allocations: 48.17 kB / 492.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007946/0.2003, allocations: 412.1 kB / 492.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.2007, allocations: 0.7357 MB / 493.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.2009, allocations: 41.39 kB / 493.3 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.2009, allocations: 11.44 kB / 493.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2009, allocations: 0 / 493.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of Templates: time 0.006755/0.2077, allocations: 3.027 MB / 496.3 MB, free: 4.242 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches