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.0009449/0.0009449, allocations: 93.62 kB / 17 MB, free: 6.398 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.001255/0.001255, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.48/1.48, allocations: 223.3 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2106/0.2106, allocations: 44.24 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002317/0.1382, allocations: 1.497 MB / 473.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1395, allocations: 0.5691 MB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1396, allocations: 4 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.14, allocations: 47.67 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1402, allocations: 67.66 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.1406, allocations: 91.7 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.1409, allocations: 262.7 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.156e-05/0.141, allocations: 28.3 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1411, allocations: 83.58 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1413, allocations: 107.5 kB / 474.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1413, allocations: 8 kB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.1417, allocations: 215.7 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.1417, allocations: 51.75 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.118e-05/0.1418, allocations: 61.58 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1421, allocations: 223.7 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1421, allocations: 4 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1421, allocations: 0 / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1421, allocations: 0 / 474.9 MB, free: 10.37 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.0006372/0.1428, allocations: 495.2 kB / 475.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1428, allocations: 15.91 kB / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.1445, allocations: 203.3 kB / 475.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.1448, allocations: 258.8 kB / 475.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.1449, allocations: 20.5 kB / 475.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.1449, allocations: 24 kB / 475.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009689/0.1459, allocations: 0.5043 MB / 476.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1459, allocations: 0 / 476.4 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.146, allocations: 11.94 kB / 476.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.365e-05/0.146, allocations: 28.55 kB / 476.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.1472, allocations: 0.5876 MB / 477 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.1494, allocations: 1.185 MB / 478.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.15, allocations: 178.3 kB / 478.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.1504, allocations: 92.75 kB / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.1504, allocations: 4.141 kB / 478.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1504, allocations: 38.56 kB / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.855e-06/0.1504, allocations: 3.984 kB / 478.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001104/0.1516, allocations: 313.2 kB / 478.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.1516, allocations: 55.39 kB / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.1519, allocations: 278.5 kB / 479.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1519, allocations: 29.7 kB / 479.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.152, allocations: 167.4 kB / 479.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.1521, allocations: 27.59 kB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.1521, allocations: 4 kB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1522, allocations: 334.8 kB / 479.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.1525, allocations: 91.91 kB / 479.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.1529, allocations: 127 kB / 479.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.1533, allocations: 99.86 kB / 480 MB, free: 4.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1533, allocations: 0 / 480 MB, free: 4.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007693/0.1541, allocations: 281.2 kB / 480.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1541, allocations: 4 kB / 480.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1541, allocations: 96 / 480.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.1542, allocations: 11.88 kB / 480.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005308/0.1595, allocations: 467.3 kB / 480.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.1621, allocations: 1.953 MB / 482.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.1625, allocations: 39.66 kB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.1625, allocations: 11.98 kB / 482.8 MB, free: 2.16 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 (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.000175/0.1627, allocations: 158.4 kB / 482.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.1628, allocations: 19.81 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.47e-05/0.1628, allocations: 25.7 kB / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1628, allocations: 0 / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1629, allocations: 0 / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1629, allocations: 3.984 kB / 483 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.1633, allocations: 289.4 kB / 483.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1633, allocations: 3.984 kB / 483.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005063/0.1684, allocations: 467.2 kB / 483.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1684, allocations: 0 / 483.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.1684, allocations: 7.984 kB / 483.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/0.1709, allocations: 1.942 MB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1709, allocations: 0 / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.1716, allocations: 343.1 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.1717, allocations: 92.88 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.1718, allocations: 3.984 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.1721, allocations: 19.97 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.1722, allocations: 7.984 kB / 486.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1722, allocations: 7.984 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.1724, allocations: 209.9 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1724, allocations: 4 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004001/0.1728, allocations: 67.84 kB / 486.4 MB, free: 14.37 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 (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.000227/0.1731, allocations: 107.2 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005433/0.1785, allocations: 0.6046 MB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1785, allocations: 0 / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004864/0.1834, allocations: 0.4994 MB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.1839, allocations: 48.66 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1851, allocations: 0.5285 MB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1855, allocations: 0.7794 MB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.1857, allocations: 53.91 kB / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.1858, allocations: 19.42 kB / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1858, allocations: 0 / 489 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Templates: time 0.009781/0.1956, allocations: 4.773 MB / 493.8 MB, free: 6.949 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