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.00155/0.00155, allocations: 110.2 kB / 17.04 MB, free: 5.812 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.00162/0.00162, allocations: 195 kB / 17.98 MB, free: 5.027 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.518/1.518, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2128/0.2128, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 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.001491/0.001491, allocations: 69.89 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.137, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003144/0.1402, allocations: 1.808 MB / 443.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1413, allocations: 0.6269 MB / 444.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.1414, allocations: 0 / 444.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.1417, allocations: 55.67 kB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.1419, allocations: 71.58 kB / 444.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.1423, allocations: 119.5 kB / 444.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.1426, allocations: 230.8 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.1427, allocations: 28.31 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1428, allocations: 83.52 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1429, allocations: 107.4 kB / 445.1 MB, free: 3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1429, allocations: 8 kB / 445.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.1433, allocations: 219.8 kB / 445.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.646e-05/0.1433, allocations: 59.75 kB / 445.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.1434, allocations: 99.3 kB / 445.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.1438, allocations: 334.8 kB / 445.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1438, allocations: 4 kB / 445.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1438, allocations: 3.938 kB / 445.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1439, allocations: 0 / 445.8 MB, free: 2.285 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.0007849/0.1446, allocations: 0.5188 MB / 446.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.1447, allocations: 11.89 kB / 446.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.1466, allocations: 216.2 kB / 446.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.147, allocations: 271.9 kB / 446.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.147, allocations: 16.94 kB / 446.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.1471, allocations: 16.38 kB / 446.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007815/0.1479, allocations: 0.5008 MB / 447.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1479, allocations: 4 kB / 447.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.1479, allocations: 11.94 kB / 447.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.148, allocations: 32.47 kB / 447.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.149, allocations: 0.5837 MB / 448 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.1516, allocations: 1.158 MB / 449.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/0.1522, allocations: 174.3 kB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.1526, allocations: 88.77 kB / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1526, allocations: 0 / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.1527, allocations: 38.5 kB / 449.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1527, allocations: 0 / 449.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.001176/0.1539, allocations: 297.3 kB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.154, allocations: 55.41 kB / 449.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.1543, allocations: 286.6 kB / 450.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1543, allocations: 25.7 kB / 450.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1545, allocations: 159.5 kB / 450.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1545, allocations: 31.55 kB / 450.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/0.1546, allocations: 37.69 kB / 450.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1548, allocations: 334.8 kB / 450.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.1551, allocations: 87.91 kB / 450.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.1555, allocations: 123.3 kB / 450.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.1562, allocations: 211.2 kB / 451.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1562, allocations: 3.938 kB / 451.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008198/0.1571, allocations: 261.3 kB / 451.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.1571, allocations: 8 kB / 451.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1571, allocations: 0 / 451.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.1571, allocations: 3.938 kB / 451.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006079/0.1632, allocations: 467.2 kB / 451.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.1661, allocations: 1.945 MB / 453.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.1666, allocations: 43.88 kB / 453.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.1666, allocations: 7.984 kB / 453.8 MB, free: 9.965 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.000239/0.1669, allocations: 165.6 kB / 453.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.1669, allocations: 19.8 kB / 454 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.167, allocations: 25.72 kB / 454 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.167, allocations: 0 / 454 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.1671, allocations: 3.984 kB / 454 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1671, allocations: 4 kB / 454 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.1675, allocations: 293.3 kB / 454.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1675, allocations: 0 / 454.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005827/0.1734, allocations: 451.3 kB / 454.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.1734, allocations: 4 kB / 454.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.1734, allocations: 3.984 kB / 454.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.1765, allocations: 1.95 MB / 456.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1765, allocations: 0 / 456.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.1773, allocations: 331 kB / 457 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1775, allocations: 96.86 kB / 457.1 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.1775, allocations: 3.984 kB / 457.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.1779, allocations: 15.97 kB / 457.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/0.178, allocations: 7.984 kB / 457.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.178, allocations: 7.984 kB / 457.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.1782, allocations: 217.9 kB / 457.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1782, allocations: 0 / 457.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.1787, allocations: 63.91 kB / 457.4 MB, free: 6.172 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.0002407/0.1789, allocations: 115.2 kB / 457.5 MB, free: 6.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006058/0.185, allocations: 0.5928 MB / 458.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.185, allocations: 0 / 458.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005564/0.1906, allocations: 0.4918 MB / 458.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.1911, allocations: 47.59 kB / 458.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.1923, allocations: 475.3 kB / 459.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.1927, allocations: 0.7792 MB / 459.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.1929, allocations: 49.86 kB / 459.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.193, allocations: 19.42 kB / 460 MB, free: 3.562 MB / 334.1 MB Notification: Performance of SimCode: time 1.252e-06/0.193, allocations: 4 kB / 460 MB, free: 3.559 MB / 334.1 MB Notification: Performance of Templates: time 0.01001/0.203, allocations: 5.204 MB / 465.2 MB, free: 14.42 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 -s cvode -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/jenkins1/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/jenkins1/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