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.001175/0.001175, allocations: 101.8 kB / 16.27 MB, free: 5.949 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.001195/0.001195, allocations: 189.4 kB / 17.19 MB, free: 5.59 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.565/1.565, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2339/0.2339, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.002551/0.002551, allocations: 79.3 kB / 382.8 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1486, allocations: 57.78 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003508/0.1522, allocations: 1.815 MB / 442.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1534, allocations: 0.6308 MB / 443 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.1535, allocations: 0 / 443 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.1539, allocations: 47.73 kB / 443 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1541, allocations: 75.47 kB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.1545, allocations: 119.5 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.1548, allocations: 234.7 kB / 443.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.274e-05/0.1549, allocations: 32.58 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.155, allocations: 83.52 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.1552, allocations: 107.5 kB / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1552, allocations: 8 kB / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.1555, allocations: 223.7 kB / 443.9 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1556, allocations: 51.77 kB / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.231e-05/0.1557, allocations: 99.34 kB / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.1561, allocations: 330.8 kB / 444.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1561, allocations: 0 / 444.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1561, allocations: 0 / 444.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1561, allocations: 4 kB / 444.4 MB, free: 3.043 MB / 318.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.0005931/0.1567, allocations: 0.5265 MB / 444.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1567, allocations: 15.89 kB / 444.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.1584, allocations: 200.2 kB / 445.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1587, allocations: 271.9 kB / 445.4 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1587, allocations: 16.94 kB / 445.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.1588, allocations: 28.36 kB / 445.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007888/0.1596, allocations: 0.493 MB / 445.9 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1596, allocations: 4 kB / 445.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.1596, allocations: 7.984 kB / 445.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.1597, allocations: 32.55 kB / 446 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1607, allocations: 0.5798 MB / 446.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.1628, allocations: 1.169 MB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/0.1635, allocations: 174.3 kB / 447.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003965/0.164, allocations: 84.77 kB / 448 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.164, allocations: 0 / 448 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.1641, allocations: 34.55 kB / 448 MB, free: 15.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1641, allocations: 0 / 448 MB, free: 15.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.001348/0.1654, allocations: 309.3 kB / 448.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.1655, allocations: 51.41 kB / 448.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1658, allocations: 278.6 kB / 448.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1658, allocations: 25.7 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.166, allocations: 167.5 kB / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.166, allocations: 27.56 kB / 448.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.1661, allocations: 37.69 kB / 448.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1663, allocations: 334.8 kB / 449.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.1667, allocations: 87.91 kB / 449.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.1671, allocations: 119.3 kB / 449.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/0.1678, allocations: 211.1 kB / 449.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.1678, allocations: 7.938 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008735/0.1687, allocations: 261.2 kB / 449.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1687, allocations: 7.984 kB / 449.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1687, allocations: 0 / 449.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1688, allocations: 4 kB / 449.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005811/0.1746, allocations: 467.3 kB / 450.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.1773, allocations: 1.949 MB / 452.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.1777, allocations: 39.69 kB / 452.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.1778, allocations: 7.984 kB / 452.3 MB, free: 10.72 MB / 334.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.0001681/0.1779, allocations: 161.7 kB / 452.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.178, allocations: 19.91 kB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.257e-05/0.1781, allocations: 25.7 kB / 452.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1781, allocations: 4 kB / 452.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1781, allocations: 3.938 kB / 452.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1781, allocations: 0 / 452.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.1785, allocations: 293.3 kB / 452.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.1785, allocations: 3.984 kB / 452.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005744/0.1842, allocations: 459.2 kB / 453.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1842, allocations: 0 / 453.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.1843, allocations: 7.984 kB / 453.3 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.1869, allocations: 1.941 MB / 455.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1869, allocations: 0 / 455.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.1878, allocations: 331.4 kB / 455.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.1879, allocations: 96.84 kB / 455.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.1879, allocations: 0 / 455.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.1883, allocations: 19.97 kB / 455.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.1884, allocations: 11.98 kB / 455.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.1884, allocations: 7.984 kB / 455.7 MB, free: 7.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.1886, allocations: 214 kB / 455.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1886, allocations: 3.938 kB / 455.9 MB, free: 6.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003547/0.189, allocations: 63.91 kB / 456 MB, free: 6.926 MB / 334.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.0002141/0.1892, allocations: 115.2 kB / 456.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0061/0.1953, allocations: 0.6007 MB / 456.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1953, allocations: 0 / 456.7 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005498/0.2009, allocations: 499.4 kB / 457.2 MB, free: 5.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.2013, allocations: 43.67 kB / 457.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.2025, allocations: 491.3 kB / 457.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.2029, allocations: 0.7752 MB / 458.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.2031, allocations: 54.05 kB / 458.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.2032, allocations: 19.44 kB / 458.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2032, allocations: 0 / 458.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of Templates: time 0.01048/0.2137, allocations: 5.181 MB / 463.7 MB, free: 15.17 MB / 350.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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