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.001422/0.001422, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001514/0.001514, allocations: 187 kB / 19.34 MB, free: 3.641 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.428/1.428, allocations: 222.9 MB / 243 MB, free: 15.08 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.2642/0.2642, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001672, allocations: 67.22 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.131, allocations: 60.84 MB / 470.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003866/0.1349, allocations: 1.637 MB / 472.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1367, allocations: 0.8802 MB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.1368, allocations: 0 / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.1372, allocations: 35.83 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.1374, allocations: 55.67 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.1378, allocations: 123.5 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.138, allocations: 151.3 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.4e-05/0.1381, allocations: 13.45 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.1382, allocations: 47.8 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1383, allocations: 75.66 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1384, allocations: 4 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.1387, allocations: 207.7 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.495e-05/0.1388, allocations: 43.77 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.359e-05/0.1389, allocations: 59.61 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.1393, allocations: 239.2 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1393, allocations: 0 / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1393, allocations: 4 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1393, allocations: 0 / 474.3 MB, free: 10.03 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.0007129/0.14, allocations: 474.9 kB / 474.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1401, allocations: 8.031 kB / 474.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.1412, allocations: 116.5 kB / 474.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.1415, allocations: 228 kB / 475.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1415, allocations: 8.359 kB / 475.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.1415, allocations: 20.31 kB / 475.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.1422, allocations: 325.6 kB / 475.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1422, allocations: 0 / 475.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.1423, allocations: 7.984 kB / 475.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/0.1423, allocations: 19.98 kB / 475.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000757/0.1431, allocations: 315.7 kB / 475.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.1447, allocations: 0.822 MB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.1454, allocations: 222.3 kB / 476.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.1457, allocations: 84.81 kB / 476.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.1457, allocations: 4 kB / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1458, allocations: 34.56 kB / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1458, allocations: 3.938 kB / 476.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.001024/0.1468, allocations: 301.2 kB / 477.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.1468, allocations: 55.34 kB / 477.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.147, allocations: 191.2 kB / 477.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1471, allocations: 29.7 kB / 477.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.1472, allocations: 131.6 kB / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.1472, allocations: 47.38 kB / 477.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.1473, allocations: 49.67 kB / 477.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1475, allocations: 326.8 kB / 478.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.1477, allocations: 83.83 kB / 478.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.1481, allocations: 142.8 kB / 478.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.1487, allocations: 222.6 kB / 478.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1487, allocations: 4 kB / 478.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007108/0.1494, allocations: 265.3 kB / 478.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1494, allocations: 8.031 kB / 478.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1494, allocations: 4 kB / 478.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1494, allocations: 7.938 kB / 478.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.1499, allocations: 80.33 kB / 478.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009975/0.1509, allocations: 1.785 MB / 480.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1511, allocations: 23.83 kB / 480.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.1512, allocations: 15.98 kB / 480.7 MB, free: 3.258 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.0001378/0.1513, allocations: 137.8 kB / 480.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.1514, allocations: 35.86 kB / 480.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007603/0.1521, allocations: 254.7 kB / 481.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1522, allocations: 4 kB / 481.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1522, allocations: 0 / 481.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1522, allocations: 4 kB / 481.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.1525, allocations: 253.5 kB / 481.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1525, allocations: 0 / 481.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.1528, allocations: 67.94 kB / 481.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1529, allocations: 3.938 kB / 481.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.359e-05/0.1529, allocations: 11.97 kB / 481.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008423/0.1538, allocations: 1.778 MB / 483.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1538, allocations: 0 / 483.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007044/0.1545, allocations: 327.2 kB / 483.5 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.1546, allocations: 88.95 kB / 483.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.1546, allocations: 0 / 483.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.1548, allocations: 11.98 kB / 483.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.1549, allocations: 15.97 kB / 483.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.1549, allocations: 11.98 kB / 483.7 MB, free: 116 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.155, allocations: 135.9 kB / 483.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.155, allocations: 0 / 483.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003722/0.1554, allocations: 63.83 kB / 483.9 MB, free: 15.92 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 (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.0002864/0.1557, allocations: 135.3 kB / 484 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008069/0.1565, allocations: 240.1 kB / 484.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1565, allocations: 0 / 484.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.157, allocations: 131.9 kB / 484.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.1573, allocations: 11.94 kB / 484.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008008/0.1581, allocations: 377.7 kB / 484.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.1584, allocations: 0.7397 MB / 485.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.1586, allocations: 65.41 kB / 485.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.1587, allocations: 27.39 kB / 485.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1587, allocations: 0 / 485.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of Templates: time 0.006631/0.1653, allocations: 2.81 MB / 488.4 MB, free: 11.37 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 -s cvode -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/jenkins1/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/jenkins1/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