Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.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 Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003546/0.0003546, 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.000318/0.000318, 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.1447/0.1447, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.01301/0.01301, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Bend.dp_edgedOverall_DPMFLOW,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|delta.[0-9,]+.|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|zeta_TOT.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=5002,outputFormat="mat",variableFilter="time|delta.[0-9,]+.|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|zeta_TOT.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.459e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003171/0.003205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003282/0.006487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.006554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.006801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.007081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.008598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.000229/0.008827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.00887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.009168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.009314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.009336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.01034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 9.529e-05/0.01044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.01052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0013/0.01182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 3.301e-05/0.01185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.797e-06/0.01186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.106e-05/0.01187, 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009544/0.01282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.169e-05/0.0129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 9.866e-05/0.013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.01324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.01328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.01333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.01372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.01377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.125e-05/0.01383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.01533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/0.01539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.01543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.01545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=21): time 5.019e-06/0.01545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=21): time 0.0002708/0.01572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.01576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.01582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.01586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.01593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.01599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.01609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.954e-05/0.01612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 6.083e-05/0.01618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/0.01625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.01641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002056/0.01662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.01666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.01803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-05/0.01812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.01815, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.01827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.01831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.01876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.01876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.01877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.01877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.01914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.01915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.01952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.01953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.01956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003735/0.01993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.01994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.02014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.02027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.02035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.02046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.02054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.02057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.755e-05/0.0206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.124e-06/0.0206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0007079/0.02131, allocations: 0 / 0, free: 0 / 0 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005714/0.02188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0004368/0.02231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.02232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.02256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.02296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009487/0.0239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 9.318e-05/0.024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001154/0.02411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.02426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.382e-05/0.02429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002172/0.02646, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,delta[1],delta[2],delta[3],delta[4],eta,rho,input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],input_dp[1],input_dp[2],input_dp[3],input_dp[4],M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],velocity[1],velocity[2],velocity[3],velocity[4],Re[1],Re[2],Re[3],Re[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4],input_DP.y Variables in the result:A_cross,DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],K,M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],Re[1],Re[2],Re[3],Re[4],d_hyd,delta[1],delta[2],delta[3],delta[4],eta,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_dp[4],input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],n,rho,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4] filterSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.diff.mat", vars={"zeta_TOT[4]", "zeta_TOT[3]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_edgedOverall_DPMFLOW/dp_edgedOverall_DPMFLOW.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.diff.ref.mat", vars={"zeta_TOT[4]", "zeta_TOT[3]"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.0987896523438394]