Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 110.8 kB / 21.19 MB, free: 0.668 MB / 14.72 MB " [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.001479/0.001479, allocations: 211.6 kB / 24.49 MB, free: 3.969 MB / 14.72 MB " [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 1.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2502/0.2502, allocations: 46.96 MB / 361.6 MB, free: 4.051 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+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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|L|A_1.1.|A_1.2.|A_1.3.|A_1.4.|A_1.5.|A_1.6.|C_1.1.|C_1.2.|C_1.3.|C_1.4.|C_1.5.|C_1.6.|A0_2_A1.1.|A0_2_A1.2.|A0_2_A1.3.|A0_2_A1.4.|A0_2_A1.5.|A0_2_A1.6.|l_bar|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_mdot.5.|input_mdot.6.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|input_dp.5.|input_dp.6.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|M_FLOW.5.|M_FLOW.6.|DP.1.|DP.2.|DP.3.|DP.4.|DP.5.|DP.6.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|DP_plot.5.|DP_plot.6.|A_cross.1.|A_cross.2.|A_cross.3.|A_cross.4.|A_cross.5.|A_cross.6.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|velocity.5.|velocity.6.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|zeta_TOT.5.|zeta_TOT.6.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002974/0.002974, allocations: 63.91 kB / 0.4974 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3292, allocations: 66.03 MB / 0.5619 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003157/0.3324, allocations: 1.796 MB / 0.5636 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.3345, allocations: 1.252 MB / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.3345, allocations: 0 / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.3348, allocations: 55.67 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.335, allocations: 95.55 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.3356, allocations: 219.2 kB / 0.5652 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.336, allocations: 401.8 kB / 0.5656 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.004e-05/0.336, allocations: 16.94 kB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.3363, allocations: 167 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.3366, allocations: 179.1 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.3366, allocations: 12 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004626/0.3371, allocations: 239.5 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.3373, allocations: 135.4 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.3375, allocations: 158.9 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.3382, allocations: 0.5662 MB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3382, allocations: 7.938 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3382, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3382, allocations: 4 kB / 0.567 GB, free: 14.88 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001238/0.3395, allocations: 0.7151 MB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3395, allocations: 8.031 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.3396, allocations: 56.56 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.3401, allocations: 269.7 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.3401, allocations: 29.38 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/0.3402, allocations: 44.12 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.3413, allocations: 0.6992 MB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3413, allocations: 0 / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.3414, allocations: 19.98 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.422e-05/0.3414, allocations: 53.28 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.3426, allocations: 0.7233 MB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.3448, allocations: 1.177 MB / 0.5707 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.3455, allocations: 339.5 kB / 0.571 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.3458, allocations: 137.2 kB / 0.5711 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.3458, allocations: 12.17 kB / 0.5712 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3458, allocations: 38.8 kB / 0.5712 GB, free: 10.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.3458, allocations: 0 / 0.5712 GB, free: 10.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.001059/0.3469, allocations: 479.7 kB / 0.5717 GB, free: 9.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3469, allocations: 55.41 kB / 0.5717 GB, free: 9.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.3472, allocations: 231.7 kB / 0.5719 GB, free: 9.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.3472, allocations: 33.7 kB / 0.572 GB, free: 9.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.3475, allocations: 288.5 kB / 0.5722 GB, free: 9.348 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/0.3475, allocations: 99.16 kB / 0.5723 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.3477, allocations: 93.42 kB / 0.5724 GB, free: 9.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.3479, allocations: 330.8 kB / 0.5727 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.3482, allocations: 143.9 kB / 0.5729 GB, free: 8.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/0.3486, allocations: 249.4 kB / 0.5731 GB, free: 8.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.3494, allocations: 427.1 kB / 0.5735 GB, free: 7.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3494, allocations: 4 kB / 0.5735 GB, free: 7.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008316/0.3502, allocations: 464.9 kB / 0.574 GB, free: 7.457 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3502, allocations: 12.41 kB / 0.574 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3502, allocations: 7.984 kB / 0.574 GB, free: 7.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3503, allocations: 8 kB / 0.574 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.3509, allocations: 167.8 kB / 0.5742 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.3533, allocations: 3.61 MB / 0.5777 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.3535, allocations: 35.77 kB / 0.5777 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.3536, allocations: 20 kB / 0.5777 GB, free: 3.461 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000335/0.3539, allocations: 230.7 kB / 0.578 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.354, allocations: 27.84 kB / 0.578 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.3552, allocations: 0.5117 MB / 0.5785 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3553, allocations: 4 kB / 0.5785 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.3553, allocations: 4 kB / 0.5785 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.3555, allocations: 63.73 kB / 0.5785 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.3555, allocations: 4 kB / 0.5785 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.3557, allocations: 23.92 kB / 0.5786 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.3558, allocations: 31.89 kB / 0.5786 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001352/0.3572, allocations: 0.5719 MB / 0.5792 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001106/0.3583, allocations: 0.718 MB / 0.5799 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002888/0.3586, allocations: 135.9 kB / 0.58 GB, free: 1.086 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.3588, allocations: 180.1 kB / 0.5802 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of Backend: time 3.31e-07/0.3588, allocations: 0 / 0.5802 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.3603, allocations: 463.9 kB / 0.5806 GB, free: 460 kB / 414.1 MB Notification: Performance of SimCode: time 0.001921/0.3622, allocations: 1.354 MB / 0.5819 GB, free: 15.05 MB / 430.1 MB Notification: Performance of Templates: time 0.0133/0.3755, allocations: 7.292 MB / 0.589 GB, free: 7.867 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.774774065001111]