Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.00169/0.00169, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.002056/0.002056, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.434/1.434, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2273/0.2273, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|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.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|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.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 75.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3118, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003517/0.3153, allocations: 1.859 MB / 0.563 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004424/0.3197, allocations: 2.984 MB / 0.566 GB, free: 140 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.3198, allocations: 0 / 0.566 GB, free: 140 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.3201, allocations: 51.75 kB / 0.566 GB, free: 88 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.3204, allocations: 79.56 kB / 0.5661 GB, free: 8 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.322, allocations: 0.7395 MB / 0.5668 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.3223, allocations: 234.7 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.573e-05/0.3223, allocations: 19.2 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.3226, allocations: 119.4 kB / 0.5672 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.3228, allocations: 123.4 kB / 0.5673 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3228, allocations: 8 kB / 0.5673 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.3247, allocations: 1.228 MB / 0.5685 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3249, allocations: 75.66 kB / 0.5686 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.325, allocations: 115.2 kB / 0.5687 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.3265, allocations: 0.9305 MB / 0.5696 GB, free: 12.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3265, allocations: 4 kB / 0.5696 GB, free: 12.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3265, allocations: 0 / 0.5696 GB, free: 12.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.3265, allocations: 0 / 0.5696 GB, free: 12.42 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001143/0.3276, allocations: 0.6886 MB / 0.5703 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3277, allocations: 8.031 kB / 0.5703 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.3277, allocations: 28.75 kB / 0.5703 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.3281, allocations: 243.3 kB / 0.5705 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3281, allocations: 20.56 kB / 0.5705 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.3281, allocations: 20 kB / 0.5706 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007875/0.3289, allocations: 475.3 kB / 0.571 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3289, allocations: 0 / 0.571 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.329, allocations: 8 kB / 0.571 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-05/0.329, allocations: 52.91 kB / 0.5711 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.3299, allocations: 0.5426 MB / 0.5716 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.3319, allocations: 1.319 MB / 0.5729 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.3325, allocations: 262.4 kB / 0.5731 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.3327, allocations: 88.8 kB / 0.5732 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.3327, allocations: 8.375 kB / 0.5732 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3327, allocations: 38.5 kB / 0.5733 GB, free: 8.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.624e-06/0.3327, allocations: 0 / 0.5733 GB, free: 8.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007871/0.3335, allocations: 337.3 kB / 0.5736 GB, free: 8.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3336, allocations: 55.41 kB / 0.5736 GB, free: 8.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3337, allocations: 145 kB / 0.5738 GB, free: 7.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.3337, allocations: 29.7 kB / 0.5738 GB, free: 7.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.3339, allocations: 200.2 kB / 0.574 GB, free: 7.617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.923e-05/0.3339, allocations: 91.22 kB / 0.5741 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.334, allocations: 61.7 kB / 0.5741 GB, free: 7.461 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3342, allocations: 330.8 kB / 0.5745 GB, free: 7.129 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.3344, allocations: 91.91 kB / 0.5745 GB, free: 7.039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.3347, allocations: 179 kB / 0.5747 GB, free: 6.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000529/0.3352, allocations: 286.8 kB / 0.575 GB, free: 6.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3352, allocations: 4 kB / 0.575 GB, free: 6.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006319/0.3359, allocations: 325.1 kB / 0.5753 GB, free: 6.184 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3359, allocations: 11.92 kB / 0.5753 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3359, allocations: 7.938 kB / 0.5753 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.3359, allocations: 4 kB / 0.5753 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.3364, allocations: 124.2 kB / 0.5754 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.338, allocations: 2.36 MB / 0.5778 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.3381, allocations: 39.77 kB / 0.5778 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.3382, allocations: 15.94 kB / 0.5778 GB, free: 3.531 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * 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.000214/0.3384, allocations: 173.7 kB / 0.578 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.3384, allocations: 15.91 kB / 0.578 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008073/0.3392, allocations: 370.2 kB / 0.5783 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3393, allocations: 3.984 kB / 0.5783 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3393, allocations: 0 / 0.5783 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.3393, allocations: 92.95 kB / 0.5784 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.3394, allocations: 7.938 kB / 0.5784 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3395, allocations: 15.98 kB / 0.5785 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.3396, allocations: 19.98 kB / 0.5785 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009593/0.3405, allocations: 460.1 kB / 0.5789 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000876/0.3414, allocations: 0.5892 MB / 0.5795 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002223/0.3416, allocations: 104 kB / 0.5796 GB, free: 1.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.647e-05/0.3417, allocations: 99.25 kB / 0.5797 GB, free: 1.539 MB / 414.1 MB Notification: Performance of Backend: time 5.21e-07/0.3417, allocations: 0 / 0.5797 GB, free: 1.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.3433, allocations: 0.5359 MB / 0.5802 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of SimCode: time 0.001203/0.3445, allocations: 0.9992 MB / 0.5812 GB, free: 15.96 MB / 430.1 MB Notification: Performance of Templates: time 0.01301/0.3575, allocations: 7.212 MB / 0.5882 GB, free: 8.773 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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: 5.368807686958462]