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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 106.2 kB / 17.21 MB, free: 6.293 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.001236/0.001236, allocations: 194 kB / 18.12 MB, free: 5.383 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.419/1.419, allocations: 222.9 MB / 241.8 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.18 MB / 336.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.62 kB / 407.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1226, allocations: 60.83 MB / 468.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003484/0.1261, allocations: 1.699 MB / 470.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1278, allocations: 0.892 MB / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.1279, allocations: 0 / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.1282, allocations: 23.89 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.1284, allocations: 55.73 kB / 471.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.1287, allocations: 114.4 kB / 471.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.129, allocations: 191.3 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.1291, allocations: 13.44 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.1291, allocations: 51.72 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.1293, allocations: 75.67 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1293, allocations: 4 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.1297, allocations: 207.6 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.1297, allocations: 31.89 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.51e-05/0.1298, allocations: 71.55 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.1302, allocations: 239.4 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1302, allocations: 0 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1302, allocations: 0 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1302, allocations: 0 / 472.2 MB, free: 11.12 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007437/0.131, allocations: 463 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.131, allocations: 8.031 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.1323, allocations: 120.5 kB / 472.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.1326, allocations: 232 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1326, allocations: 8.375 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.1327, allocations: 12.38 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.1334, allocations: 330.1 kB / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1335, allocations: 0 / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.1335, allocations: 11.94 kB / 473.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/0.1335, allocations: 19.98 kB / 473.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000962/0.1345, allocations: 323.7 kB / 473.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.1362, allocations: 0.8181 MB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007602/0.137, allocations: 222.3 kB / 474.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.1373, allocations: 80.81 kB / 474.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.906e-05/0.1374, allocations: 15.97 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.1374, allocations: 30.56 kB / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.1374, allocations: 0 / 474.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001075/0.1385, allocations: 297.2 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.1387, allocations: 55.39 kB / 475.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.1389, allocations: 191.2 kB / 475.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.1389, allocations: 25.7 kB / 475.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1391, allocations: 135.6 kB / 475.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.1391, allocations: 39.39 kB / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1392, allocations: 53.67 kB / 475.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003226/0.1396, allocations: 326.8 kB / 475.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.1399, allocations: 79.91 kB / 476 MB, free: 7.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.1402, allocations: 138.7 kB / 476.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00061/0.1408, allocations: 222.6 kB / 476.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1408, allocations: 4 kB / 476.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007434/0.1416, allocations: 273.1 kB / 476.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1416, allocations: 4 kB / 476.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1416, allocations: 4 kB / 476.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1417, allocations: 7.875 kB / 476.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.1421, allocations: 84.14 kB / 476.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.1434, allocations: 1.79 MB / 478.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.1437, allocations: 19.83 kB / 478.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.1437, allocations: 19.97 kB / 478.6 MB, free: 4.348 MB / 350.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 (17): * Single equations (assignments): 14 * 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.0001562/0.1439, allocations: 137.8 kB / 478.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.144, allocations: 19.75 kB / 478.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008261/0.1448, allocations: 266.7 kB / 479 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.1448, allocations: 7.984 kB / 479 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.1448, allocations: 4 kB / 479 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1448, allocations: 0 / 479 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.1451, allocations: 257.5 kB / 479.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1452, allocations: 0 / 479.3 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.1455, allocations: 71.86 kB / 479.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1455, allocations: 7.938 kB / 479.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.1456, allocations: 11.98 kB / 479.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009894/0.1466, allocations: 1.782 MB / 481.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1466, allocations: 0 / 481.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/0.1473, allocations: 319.1 kB / 481.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.1475, allocations: 85.02 kB / 481.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.1475, allocations: 3.984 kB / 481.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.1478, allocations: 12.08 kB / 481.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.1478, allocations: 15.98 kB / 481.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.1479, allocations: 11.97 kB / 481.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.148, allocations: 135.9 kB / 481.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.148, allocations: 0 / 481.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.1483, allocations: 63.84 kB / 481.8 MB, free: 1 MB / 350.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 (10): * Single equations (assignments): 7 * 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.0002618/0.1486, allocations: 139.3 kB / 481.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000838/0.1495, allocations: 231.6 kB / 482.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1495, allocations: 448 / 482.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.1499, allocations: 135.8 kB / 482.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.1502, allocations: 15.94 kB / 482.3 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.1511, allocations: 420.8 kB / 482.7 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.1515, allocations: 0.7474 MB / 483.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002217/0.1517, allocations: 65.41 kB / 483.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/0.1518, allocations: 27.41 kB / 483.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1518, allocations: 0 / 483.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Templates: time 0.006158/0.158, allocations: 2.653 MB / 486.2 MB, free: 12.57 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches