Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0005027/0.0005027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006603/0.001163, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0004542/0.0004542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005417/0.0009959, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.2813/0.2813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04746/0.3287, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.0526/0.0526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0108/0.06339, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: 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.[0-9,]+.|eta_g.[0-9,]+.|rho_l.[0-9,]+.|rho_g.[0-9,]+.|sigma.[0-9,]+.|input_mdot.[0-9,]+.|m_flow.[0-9,]+.|DP_1.[0-9,]+.|DP_2.[0-9,]+.|DP_plot_1.[0-9,]+.|DP_plot_2.[0-9,]+.|x_flow|input_mflow_0.[0-9,]+..y|input_mflow_1.[0-9,]+..y|input_mflow_2.[0-9,]+..y|input_x_0.y|input_x_1.y|input_x_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -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.[0-9,]+.|eta_g.[0-9,]+.|rho_l.[0-9,]+.|rho_g.[0-9,]+.|sigma.[0-9,]+.|input_mdot.[0-9,]+.|m_flow.[0-9,]+.|DP_1.[0-9,]+.|DP_2.[0-9,]+.|DP_plot_1.[0-9,]+.|DP_plot_2.[0-9,]+.|x_flow|input_mflow_0.[0-9,]+..y|input_mflow_1.[0-9,]+..y|input_mflow_2.[0-9,]+..y|input_x_0.y|input_x_1.y|input_x_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.852e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP): time 0.003526/0.003554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01108/0.01464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.01483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.01519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.000432/0.01562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.01904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0006191/0.01966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.01978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0006016/0.02038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.02075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.02082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.02298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.02311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.02329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002464/0.02575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001012/0.02585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.546e-06/0.02586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.056e-05/0.02589, 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.002108/0.028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.163e-05/0.02808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006878/0.02876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.02919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.02924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 9.189e-05/0.02934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.03044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.03046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/0.03054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/0.03061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.03113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.03366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.03396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.0341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 7.401e-05/0.03418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.03422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=38): time 9.828e-06/0.03423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=38): time 0.0006853/0.03491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.03497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.03535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 8.773e-05/0.03544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.03562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 8.659e-05/0.03571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.03595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.509e-05/0.03599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.03615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.03644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.03699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=134) (initialization): time 0.0009718/0.03798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.03802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.381e-05/0.03806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.03861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.701e-05/0.03865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.03905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/0.03915, 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_1[1].frictionalPressureLoss,IN_con_1[1].voidFractionApproach,IN_con_1[1].momentumPressureLoss,IN_con_1[1].massFlowRateCorrection,IN_con_1[1].geodeticPressureLoss,IN_con_1[2].frictionalPressureLoss,IN_con_1[2].voidFractionApproach,IN_con_1[2].momentumPressureLoss,IN_con_1[2].massFlowRateCorrection,IN_con_1[2].geodeticPressureLoss,IN_con_1[3].frictionalPressureLoss,IN_con_1[3].voidFractionApproach,IN_con_1[3].momentumPressureLoss,IN_con_1[3].massFlowRateCorrection,IN_con_1[3].geodeticPressureLoss,IN_con_1[4].frictionalPressureLoss,IN_con_1[4].voidFractionApproach,IN_con_1[4].momentumPressureLoss,IN_con_1[4].massFlowRateCorrection,IN_con_1[4].geodeticPressureLoss,IN_con_1[5].frictionalPressureLoss,IN_con_1[5].voidFractionApproach,IN_con_1[5].momentumPressureLoss,IN_con_1[5].massFlowRateCorrection,IN_con_1[5].geodeticPressureLoss,IN_con_2[1].frictionalPressureLoss,IN_con_2[1].voidFractionApproach,IN_con_2[1].momentumPressureLoss,IN_con_2[1].massFlowRateCorrection,IN_con_2[1].geodeticPressureLoss,IN_con_2[2].frictionalPressureLoss,IN_con_2[2].voidFractionApproach,IN_con_2[2].momentumPressureLoss,IN_con_2[2].massFlowRateCorrection,IN_con_2[2].geodeticPressureLoss,IN_con_2[3].frictionalPressureLoss,IN_con_2[3].voidFractionApproach,IN_con_2[3].momentumPressureLoss,IN_con_2[3].massFlowRateCorrection,IN_con_2[3].geodeticPressureLoss,IN_con_2[4].frictionalPressureLoss,IN_con_2[4].voidFractionApproach,IN_con_2[4].momentumPressureLoss,IN_con_2[4].massFlowRateCorrection,IN_con_2[4].geodeticPressureLoss,IN_con_2[5].frictionalPressureLoss,IN_con_2[5].voidFractionApproach,IN_con_2[5].momentumPressureLoss,IN_con_2[5].massFlowRateCorrection,IN_con_2[5].geodeticPressureLoss) * 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.0002937/0.03944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.0397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.04017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.04018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.04019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.0402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.04224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.04225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.0426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.04267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.04268, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.04272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.04273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.04273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008156/0.04355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.04374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.04423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.04453, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.04458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.000192/0.04477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.412e-05/0.04478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001725/0.04651, 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.001526/0.04803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.00063/0.04866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 3.867e-05/0.0487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.04895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.05105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.05617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.05643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005275/0.05696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003982/0.05736, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.756e-05/0.05739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.007131/0.06452, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_twoPhaseOverall_DP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_twoPhaseOverall_DP/dp_twoPhaseOverall_DP.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.4522337689995766]