Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001848/0.001848, allocations: 78.33 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [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.002114/0.002114, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [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 1.493/1.493, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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.212/0.212, allocations: 34.25 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 83.88 kB / 443.2 MB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3028, allocations: 66.06 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003161/0.3059, allocations: 1.783 MB / 0.499 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.307, allocations: 0.7725 MB / 0.4998 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.3071, allocations: 3.062 kB / 0.4998 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.3073, allocations: 39 kB / 0.4998 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.3076, allocations: 76.89 kB / 0.4999 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.3078, allocations: 71.88 kB / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3079, allocations: 137.9 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.308, allocations: 7.234 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.3081, allocations: 77.11 kB / 0.5002 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3083, allocations: 80.16 kB / 0.5003 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.3083, allocations: 6.562 kB / 0.5003 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.3084, allocations: 43.78 kB / 0.5003 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.3085, allocations: 40.31 kB / 0.5004 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.3085, allocations: 39.66 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3088, allocations: 131.3 kB / 0.5005 GB, free: 27.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3088, allocations: 3.375 kB / 0.5005 GB, free: 27.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3088, allocations: 3.516 kB / 0.5005 GB, free: 27.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3088, allocations: 0 / 0.5005 GB, free: 27.81 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004684/0.3092, allocations: 331.5 kB / 0.5008 GB, free: 27.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3093, allocations: 9.5 kB / 0.5008 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.3096, allocations: 39.12 kB / 0.5009 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3097, allocations: 137.9 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3097, allocations: 7.172 kB / 0.501 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3097, allocations: 14.69 kB / 0.501 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.3101, allocations: 178.1 kB / 0.5012 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3101, allocations: 0 / 0.5012 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3101, allocations: 7.984 kB / 0.5012 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.3101, allocations: 12.47 kB / 0.5012 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.3104, allocations: 135.8 kB / 0.5014 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.311, allocations: 0.5147 MB / 0.5019 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.3113, allocations: 108.5 kB / 0.502 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.3114, allocations: 37.36 kB / 0.502 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3115, allocations: 0 / 0.502 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/0.3115, allocations: 37.78 kB / 0.502 GB, free: 26.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3115, allocations: 0 / 0.502 GB, free: 26.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000398/0.3119, allocations: 140.3 kB / 0.5022 GB, free: 26.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.3119, allocations: 51.41 kB / 0.5022 GB, free: 26.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.312, allocations: 131.8 kB / 0.5023 GB, free: 26.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.312, allocations: 25.7 kB / 0.5024 GB, free: 26.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.312, allocations: 125.4 kB / 0.5025 GB, free: 26.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.312, allocations: 23.05 kB / 0.5025 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.3121, allocations: 42.52 kB / 0.5025 GB, free: 26.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.54e-05/0.3121, allocations: 321.5 kB / 0.5029 GB, free: 25.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3122, allocations: 34.25 kB / 0.5029 GB, free: 25.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3123, allocations: 99.17 kB / 0.503 GB, free: 25.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.3126, allocations: 144.6 kB / 0.5031 GB, free: 25.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3126, allocations: 0 / 0.5031 GB, free: 25.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002832/0.3129, allocations: 161.3 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3129, allocations: 6.531 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3129, allocations: 3.156 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3129, allocations: 3.438 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.3131, allocations: 36.17 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3131, allocations: 7.094 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.3132, allocations: 21.64 kB / 0.5033 GB, free: 25.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3132, allocations: 10.5 kB / 0.5034 GB, free: 25.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.929e-05/0.3132, allocations: 135.2 kB / 0.5035 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.3133, allocations: 7.359 kB / 0.5035 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.3136, allocations: 130.9 kB / 0.5036 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3136, allocations: 0 / 0.5036 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3136, allocations: 3.094 kB / 0.5036 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3136, allocations: 0 / 0.5036 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.3137, allocations: 138.5 kB / 0.5038 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3137, allocations: 3.938 kB / 0.5038 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3138, allocations: 32.52 kB / 0.5038 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3138, allocations: 0 / 0.5038 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3138, allocations: 3.094 kB / 0.5038 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3138, allocations: 0 / 0.5038 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3138, allocations: 0 / 0.5038 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.3141, allocations: 214.7 kB / 0.504 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.3141, allocations: 15.02 kB / 0.504 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3141, allocations: 0 / 0.504 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.3142, allocations: 10.64 kB / 0.504 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.3143, allocations: 6.484 kB / 0.504 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3143, allocations: 3.094 kB / 0.504 GB, free: 25.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.772e-05/0.3143, allocations: 99.83 kB / 0.5041 GB, free: 25.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3143, allocations: 0 / 0.5041 GB, free: 25.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3146, allocations: 22.88 kB / 0.5041 GB, free: 25.03 MB / 446.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 (8): * Single equations (assignments): 8 * 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.0001099/0.3147, allocations: 110.2 kB / 0.5043 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.315, allocations: 95.59 kB / 0.5043 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.315, allocations: 2.844 kB / 0.5043 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3151, allocations: 41.23 kB / 0.5044 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.3153, allocations: 10.62 kB / 0.5044 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.3157, allocations: 256.7 kB / 0.5046 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.258e-05/0.3158, allocations: 95.34 kB / 0.5047 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.173e-05/0.3159, allocations: 30.25 kB / 0.5048 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.3159, allocations: 11.88 kB / 0.5048 GB, free: 24.64 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3159, allocations: 2.719 kB / 0.5048 GB, free: 24.64 MB / 446.1 MB Notification: Performance of Templates: time 0.003385/0.3193, allocations: 0.8956 MB / 0.5056 GB, free: 24.53 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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: 4.9249225879320875]