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.00104/0.00104, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.13 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 78.67 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1242, allocations: 62.46 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003222/0.1275, allocations: 1.681 MB / 481.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1289, allocations: 0.8451 MB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.129, allocations: 4 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.1292, allocations: 31.83 kB / 482.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.1294, allocations: 55.72 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.1297, allocations: 99.62 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.1299, allocations: 151.2 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.13, allocations: 25.11 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1301, allocations: 67.7 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1303, allocations: 67.69 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1303, allocations: 8 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.1306, allocations: 163.8 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.1307, allocations: 39.77 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.1307, allocations: 63.67 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.131, allocations: 207.5 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.131, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.131, allocations: 0 / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.131, allocations: 0 / 483.6 MB, free: 1.703 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.0005578/0.1316, allocations: 463 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1317, allocations: 8.031 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.1321, allocations: 52.69 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1323, allocations: 224.1 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1323, allocations: 8.375 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1323, allocations: 16.12 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.1328, allocations: 237.5 kB / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1328, allocations: 0 / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.1328, allocations: 4 kB / 484.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.1328, allocations: 23.98 kB / 484.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.1333, allocations: 231.5 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.1344, allocations: 0.7248 MB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.1346, allocations: 90.5 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1348, allocations: 48.81 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1348, allocations: 4 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1348, allocations: 34.5 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1348, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005252/0.1354, allocations: 181.3 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1354, allocations: 55.34 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.1356, allocations: 183.3 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1356, allocations: 29.7 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.1357, allocations: 139.7 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1358, allocations: 27.64 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.1358, allocations: 33.7 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1359, allocations: 326.8 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1361, allocations: 47.95 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1363, allocations: 94.81 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.1366, allocations: 166.9 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1366, allocations: 4 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003979/0.137, allocations: 181.2 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.137, allocations: 14.59 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1371, allocations: 0 / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1371, allocations: 4 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008987/0.138, allocations: 92.11 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.1393, allocations: 1.809 MB / 489.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.1394, allocations: 27.86 kB / 489.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1395, allocations: 4 kB / 489.1 MB, free: 11.79 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.0001583/0.1396, allocations: 141.9 kB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.1397, allocations: 19.83 kB / 489.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004656/0.1401, allocations: 186.8 kB / 489.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1402, allocations: 4 kB / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1402, allocations: 0 / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1402, allocations: 0 / 489.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.1405, allocations: 237.4 kB / 489.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1405, allocations: 0 / 489.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/0.1412, allocations: 79.89 kB / 489.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1412, allocations: 4 kB / 489.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1412, allocations: 4 kB / 489.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.1424, allocations: 1.774 MB / 491.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1424, allocations: 3.938 kB / 491.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.1428, allocations: 247.3 kB / 491.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.1429, allocations: 92.86 kB / 491.9 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1429, allocations: 7.984 kB / 491.9 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.143, allocations: 4.094 kB / 491.9 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.1431, allocations: 19.98 kB / 491.9 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1431, allocations: 0 / 491.9 MB, free: 8.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1432, allocations: 143.9 kB / 492.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1432, allocations: 0 / 492.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.1436, allocations: 40 kB / 492.1 MB, free: 8.641 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.000247/0.1438, allocations: 115.2 kB / 492.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.145, allocations: 204.2 kB / 492.4 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.145, allocations: 3.938 kB / 492.4 MB, free: 8.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.1457, allocations: 103.8 kB / 492.5 MB, free: 8.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.1461, allocations: 43.8 kB / 492.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.1468, allocations: 341 kB / 492.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1472, allocations: 0.7396 MB / 493.6 MB, free: 7.051 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.1473, allocations: 41.38 kB / 493.7 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.1474, allocations: 23.44 kB / 493.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1474, allocations: 0 / 493.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of Templates: time 0.00627/0.1537, allocations: 3.047 MB / 496.7 MB, free: 3.996 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