Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003837/0.0003837, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0005026/0.0005026, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.4387/0.4387, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.06724/0.06724, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,startTime=0,stopTime=1.01,tolerance=1e-05,numberOfIntervals=5050,outputFormat="mat",variableFilter="time|eta_l.1.|eta_l.2.|eta_l.3.|eta_l.4.|eta_l.5.|eta_g.1.|eta_g.2.|eta_g.3.|eta_g.4.|eta_g.5.|rho_l.1.|rho_l.2.|rho_l.3.|rho_l.4.|rho_l.5.|rho_g.1.|rho_g.2.|rho_g.3.|rho_g.4.|rho_g.5.|sigma.1.|sigma.2.|sigma.3.|sigma.4.|sigma.5.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|m_flow.5.|DP_1.1.|DP_1.2.|DP_1.3.|DP_1.4.|DP_1.5.|DP_2.1.|DP_2.2.|DP_2.3.|DP_2.4.|DP_2.5.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_1.3.|DP_plot_1.4.|DP_plot_1.5.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|DP_plot_2.4.|DP_plot_2.5.|x_flow|input_mflow_0.1..y|input_mflow_0.2..y|input_mflow_0.3..y|input_mflow_0.4..y|input_mflow_0.5..y|input_mflow_1.1..y|input_mflow_1.2..y|input_mflow_1.3..y|input_mflow_1.4..y|input_mflow_1.5..y|input_mflow_2.1..y|input_mflow_2.2..y|input_mflow_2.3..y|input_mflow_2.4..y|input_mflow_2.5..y|input_x_0.y|input_x_1.y|input_x_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP",simflags="-alarm=480 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP,startTime=0,stopTime=1.01,tolerance=1e-05,numberOfIntervals=5050,outputFormat="mat",variableFilter="time|eta_l.1.|eta_l.2.|eta_l.3.|eta_l.4.|eta_l.5.|eta_g.1.|eta_g.2.|eta_g.3.|eta_g.4.|eta_g.5.|rho_l.1.|rho_l.2.|rho_l.3.|rho_l.4.|rho_l.5.|rho_g.1.|rho_g.2.|rho_g.3.|rho_g.4.|rho_g.5.|sigma.1.|sigma.2.|sigma.3.|sigma.4.|sigma.5.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|m_flow.5.|DP_1.1.|DP_1.2.|DP_1.3.|DP_1.4.|DP_1.5.|DP_2.1.|DP_2.2.|DP_2.3.|DP_2.4.|DP_2.5.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_1.3.|DP_plot_1.4.|DP_plot_1.5.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|DP_plot_2.4.|DP_plot_2.5.|x_flow|input_mflow_0.1..y|input_mflow_0.2..y|input_mflow_0.3..y|input_mflow_0.4..y|input_mflow_0.5..y|input_mflow_1.1..y|input_mflow_1.2..y|input_mflow_1.3..y|input_mflow_1.4..y|input_mflow_1.5..y|input_mflow_2.1..y|input_mflow_2.2..y|input_mflow_2.3..y|input_mflow_2.4..y|input_mflow_2.5..y|input_x_0.y|input_x_1.y|input_x_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP",simflags="-alarm=480 -emit_protected -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 8.11e-07/8.11e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.608e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.00614/0.006166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.02008/0.02625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.02663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0009317/0.02756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0008263/0.02838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.03957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001789/0.04136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.04163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.04334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.04489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0002331/0.04512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.008659/0.05378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0004651/0.05425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0009253/0.05517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.008092/0.06326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002385/0.0635, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.457e-06/0.06351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.939e-05/0.06353, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.008834/0.07236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001225/0.07248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/0.07897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.08164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.08181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003918/0.0822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.008616/0.09081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.236e-05/0.09088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/0.09118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002957/0.09147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009565/0.101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.1156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.004051/0.1196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.002803/0.1224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.1226, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.834e-05/0.1227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=38): time 0.0001415/0.1228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=38): time 0.01147/0.1343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003963/0.1347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003128/0.1378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000272/0.1381, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0008443/0.1389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003872/0.1393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/0.1407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0005282/0.1413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.003437/0.1447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.004465/0.1492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.007325/0.1565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.675e-05/0.1565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=134) (initialization): time 0.01047/0.167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.704e-05/0.1671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.76e-05/0.1672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.1673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/0.1696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001375/0.1698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/0.1719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004107/0.1723, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 50 (IN_con_2[5].geodeticPressureLoss,IN_con_2[5].massFlowRateCorrection,IN_con_2[5].momentumPressureLoss,IN_con_2[5].voidFractionApproach,IN_con_2[5].frictionalPressureLoss,IN_con_2[4].geodeticPressureLoss,IN_con_2[4].massFlowRateCorrection,IN_con_2[4].momentumPressureLoss,IN_con_2[4].voidFractionApproach,IN_con_2[4].frictionalPressureLoss,IN_con_2[3].geodeticPressureLoss,IN_con_2[3].massFlowRateCorrection,IN_con_2[3].momentumPressureLoss,IN_con_2[3].voidFractionApproach,IN_con_2[3].frictionalPressureLoss,IN_con_2[2].geodeticPressureLoss,IN_con_2[2].massFlowRateCorrection,IN_con_2[2].momentumPressureLoss,IN_con_2[2].voidFractionApproach,IN_con_2[2].frictionalPressureLoss,IN_con_2[1].geodeticPressureLoss,IN_con_2[1].massFlowRateCorrection,IN_con_2[1].momentumPressureLoss,IN_con_2[1].voidFractionApproach,IN_con_2[1].frictionalPressureLoss,IN_con_1[5].geodeticPressureLoss,IN_con_1[5].massFlowRateCorrection,IN_con_1[5].momentumPressureLoss,IN_con_1[5].voidFractionApproach,IN_con_1[5].frictionalPressureLoss,IN_con_1[4].geodeticPressureLoss,IN_con_1[4].massFlowRateCorrection,IN_con_1[4].momentumPressureLoss,IN_con_1[4].voidFractionApproach,IN_con_1[4].frictionalPressureLoss,IN_con_1[3].geodeticPressureLoss,IN_con_1[3].massFlowRateCorrection,IN_con_1[3].momentumPressureLoss,IN_con_1[3].voidFractionApproach,IN_con_1[3].frictionalPressureLoss,IN_con_1[2].geodeticPressureLoss,IN_con_1[2].massFlowRateCorrection,IN_con_1[2].momentumPressureLoss,IN_con_1[2].voidFractionApproach,IN_con_1[2].frictionalPressureLoss,IN_con_1[1].geodeticPressureLoss,IN_con_1[1].massFlowRateCorrection,IN_con_1[1].momentumPressureLoss,IN_con_1[1].voidFractionApproach,IN_con_1[1].frictionalPressureLoss) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002171/0.1745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00245/0.177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/0.18, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/0.1801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/0.1801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/0.1801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/0.191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/0.1927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.912e-05/0.1928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002828/0.193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.508e-05/0.1931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.137e-05/0.1931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/0.204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0009409/0.2049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005585/0.2055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002907/0.2084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001584/0.21, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002569/0.2102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.002028/0.2123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.42e-05/0.2123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.007789/0.2201, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004043/0.2242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.007202/0.2314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.2314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.005067/0.2364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01325/0.2497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/0.2583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.2601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.002424/0.2626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/0.2644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001745/0.2662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.008215/0.2744, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1140] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_twoPhaseOverall_DP/dp_twoPhaseOverall_DP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.1038175630019396]