Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.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 [: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 trunk/package.mo): time 0.0003667/0.0003667, 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.0004971/0.0004971, 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.4217/0.4217, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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.07445/0.07445, 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.Bend.dp_curvedOverall_DPMFLOW,startTime=0,stopTime=1.01,tolerance=1e-05,numberOfIntervals=5003,outputFormat="mat",variableFilter="time|delta.1.|delta.2.|delta.3.|R_0.1.|R_0.2.|eta|rho|input_mdot_1.1.|input_mdot_1.2.|input_dp_1.1.|input_dp_1.2.|M_FLOW_1.1.|M_FLOW_1.2.|DP_1.1.|DP_1.2.|input_mdot_2.1.|input_mdot_2.2.|input_mdot_2.3.|input_dp_2.1.|input_dp_2.2.|input_dp_2.3.|M_FLOW_2.1.|M_FLOW_2.2.|M_FLOW_2.3.|DP_2.1.|DP_2.2.|DP_2.3.|frac_RD.1.|frac_RD.2.|velocity_1.1.|velocity_1.2.|Re_1.1.|Re_1.2.|velocity_2.1.|velocity_2.2.|velocity_2.3.|Re_2.1.|Re_2.2.|Re_2.3.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|zeta_TOT_1.1.|zeta_TOT_1.2.|zeta_TOT_2.1.|zeta_TOT_2.2.|zeta_TOT_2.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW",simflags="-alarm=480 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,startTime=0,stopTime=1.01,tolerance=1e-05,numberOfIntervals=5003,outputFormat="mat",variableFilter="time|delta.1.|delta.2.|delta.3.|R_0.1.|R_0.2.|eta|rho|input_mdot_1.1.|input_mdot_1.2.|input_dp_1.1.|input_dp_1.2.|M_FLOW_1.1.|M_FLOW_1.2.|DP_1.1.|DP_1.2.|input_mdot_2.1.|input_mdot_2.2.|input_mdot_2.3.|input_dp_2.1.|input_dp_2.2.|input_dp_2.3.|M_FLOW_2.1.|M_FLOW_2.2.|M_FLOW_2.3.|DP_2.1.|DP_2.2.|DP_2.3.|frac_RD.1.|frac_RD.2.|velocity_1.1.|velocity_1.2.|Re_1.1.|Re_1.2.|velocity_2.1.|velocity_2.2.|velocity_2.3.|Re_2.1.|Re_2.2.|Re_2.3.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|zeta_TOT_1.1.|zeta_TOT_1.2.|zeta_TOT_2.1.|zeta_TOT_2.2.|zeta_TOT_2.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW",simflags="-alarm=480 -emit_protected -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.78e-05/3.898e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.006682/0.006721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.007766/0.01449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.01473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0006122/0.01534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0009229/0.01626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.01976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0006521/0.02041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 8.043e-05/0.02049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0007315/0.02122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.02174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.151e-05/0.02181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.02488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.02513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.02549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002786/0.02827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.222e-05/0.02837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.864e-06/0.02837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.099e-05/0.02838, 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.003078/0.03146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.101e-05/0.03154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004236/0.03196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.03299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.03306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.03321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.03586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.03589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.03601, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/0.03619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.03898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005017/0.04399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.04606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.0467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.04682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/0.04687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=26): time 8.383e-05/0.04696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=26): time 0.002854/0.04981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.04988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.05041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.05052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.05081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004842/0.05148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004885/0.05197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/0.05266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008514/0.05351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.05517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.05518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=36) (initialization): time 0.002401/0.05758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.05762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.05762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.05764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.05895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004666/0.06362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.06392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.06403, 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000617/0.06465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.06498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.06762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.06764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.06764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.06765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.06926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.06927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.07056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/0.07057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.07068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004344/0.07502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.07502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.07708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.07731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.07747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.0778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003244/0.07813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.07823, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003096/0.07854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 8.756e-06/0.07855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001826/0.08038, 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00185/0.08223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002401/0.08463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.08463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001556/0.08619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.08794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.09103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.09173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005876/0.09232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.09285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003768/0.09322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003741/0.09696, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1139] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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_curvedOverall_DPMFLOW/dp_curvedOverall_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.diff",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],R_0[1],R_0[2],eta,rho,input_mdot_1[1],input_mdot_1[2],input_dp_1[1],input_dp_1[2],M_FLOW_1[1],M_FLOW_1[2],DP_1[1],DP_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],input_dp_2[1],input_dp_2[2],input_dp_2[3],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],DP_2[1],DP_2[2],DP_2[3],frac_RD[1],frac_RD[2],velocity_1[1],velocity_1[2],Re_1[1],Re_1[2],velocity_2[1],velocity_2[2],velocity_2[3],Re_2[1],Re_2[2],Re_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3],input_DP.y Variables in the result:A_cross,DP_1[1],DP_1[2],DP_2[1],DP_2[2],DP_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],K,M_FLOW_1[1],M_FLOW_1[2],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],R_0[1],R_0[2],Re_1[1],Re_1[2],Re_2[1],Re_2[2],Re_2[3],d_hyd,delta[1],delta[2],delta[3],eta,frac_RD[1],frac_RD[2],input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp_1[1],input_dp_1[2],input_dp_2[1],input_dp_2[2],input_dp_2[3],input_mdot_1[1],input_mdot_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],m,n,rho,time,velocity_1[1],velocity_1[2],velocity_2[1],velocity_2[2],velocity_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3] [Calling sys.exit(0), Time elapsed: 2.1766621689966996]