Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001196/0.001196, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001104/0.001104, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.8841/0.8841, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1462/0.1462, allocations: 32.79 MB / 294.6 MB, free: 15.45 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.[0-9,]+.|C_1.[0-9,]+.|A0_2_A1.[0-9,]+.|l_bar|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|A_cross.[0-9,]+.|velocity.[0-9,]+.|zeta_TOT.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.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.[0-9,]+.|C_1.[0-9,]+.|A0_2_A1.[0-9,]+.|l_bar|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|A_cross.[0-9,]+.|velocity.[0-9,]+.|zeta_TOT.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 323.3 MB, free: 2.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.182e-05, allocations: 2.312 kB / 323.3 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003922/0.003954, allocations: 1.882 MB / 325.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.006545, allocations: 1.344 MB / 326.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.006713, allocations: 0 / 326.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.007043, allocations: 59.67 kB / 326.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.007403, allocations: 95.36 kB / 326.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007412/0.008145, allocations: 242.9 kB / 326.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000516/0.00866, allocations: 417.5 kB / 327.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.008742, allocations: 22.88 kB / 327.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.009205, allocations: 207.2 kB / 327.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.009459, allocations: 139.4 kB / 327.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.009493, allocations: 12 kB / 327.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.01005, allocations: 227.5 kB / 327.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.01021, allocations: 123.4 kB / 328 MB, free: 14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.01038, allocations: 115.5 kB / 328.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008623/0.01125, allocations: 0.5214 MB / 328.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01125, allocations: 0 / 328.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01125, allocations: 0 / 328.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.01126, allocations: 3.938 kB / 328.6 MB, free: 13.36 MB / 314.7 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.001056/0.01232, allocations: 0.6669 MB / 329.3 MB, free: 12.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.01236, allocations: 15.98 kB / 329.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.0125, allocations: 64.89 kB / 329.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.01285, allocations: 221.6 kB / 329.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.01289, allocations: 33.38 kB / 329.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.146e-05/0.01296, allocations: 40.38 kB / 329.7 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005946/0.01355, allocations: 392.3 kB / 330.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.01357, allocations: 3.938 kB / 330.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.01361, allocations: 19.98 kB / 330.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.594e-05/0.01369, allocations: 61.22 kB / 330.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.01405, allocations: 205.1 kB / 330.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.0159, allocations: 0.911 MB / 331.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.01634, allocations: 293.2 kB / 331.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.01647, allocations: 41.31 kB / 331.6 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.268e-05/0.01651, allocations: 16.22 kB / 331.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.01655, allocations: 34.8 kB / 331.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 2.655e-06/0.01655, allocations: 0 / 331.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004096/0.01696, allocations: 172.1 kB / 331.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.017, allocations: 59.34 kB / 331.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.01719, allocations: 207.4 kB / 332.1 MB, free: 9.805 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.01722, allocations: 33.64 kB / 332.1 MB, free: 9.766 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.01738, allocations: 280.4 kB / 332.4 MB, free: 9.484 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/0.01746, allocations: 99.14 kB / 332.5 MB, free: 9.387 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.01758, allocations: 73.62 kB / 332.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.01769, allocations: 334.8 kB / 332.9 MB, free: 8.973 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.927e-05/0.01779, allocations: 42.8 kB / 332.9 MB, free: 8.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.01794, allocations: 153.2 kB / 333 MB, free: 8.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.01825, allocations: 240 kB / 333.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.01825, allocations: 0 / 333.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004096/0.01866, allocations: 224.5 kB / 333.5 MB, free: 8.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.01868, allocations: 12.03 kB / 333.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.01869, allocations: 4 kB / 333.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.01871, allocations: 4 kB / 333.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/0.01928, allocations: 139.7 kB / 333.7 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.02091, allocations: 3.541 MB / 337.2 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.0212, allocations: 35.73 kB / 337.2 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.02123, allocations: 15.98 kB / 337.2 MB, free: 4.316 MB / 314.7 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.0001941/0.02143, allocations: 136.5 kB / 337.4 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.02149, allocations: 27.91 kB / 337.4 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005526/0.02204, allocations: 291.6 kB / 337.7 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.02205, allocations: 4 kB / 337.7 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.02205, allocations: 7.984 kB / 337.7 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.02206, allocations: 0 / 337.7 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.02244, allocations: 209.9 kB / 337.9 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.02245, allocations: 0 / 337.9 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.02273, allocations: 111.9 kB / 338 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.02273, allocations: 3.984 kB / 338 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.02275, allocations: 11.98 kB / 338 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1511/0.1739, allocations: 3.545 MB / 341.6 MB, free: 31.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1739, allocations: 0 / 341.6 MB, free: 31.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.1744, allocations: 367.1 kB / 341.9 MB, free: 31.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.1745, allocations: 52.86 kB / 342 MB, free: 31.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.1746, allocations: 9.281 kB / 342 MB, free: 31.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.1747, allocations: 10.22 kB / 342 MB, free: 31.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.1748, allocations: 22.27 kB / 342 MB, free: 31.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.1748, allocations: 11.16 kB / 342 MB, free: 31.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1749, allocations: 71.16 kB / 342.1 MB, free: 31.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1749, allocations: 0.5 kB / 342.1 MB, free: 31.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005102/0.1754, allocations: 184.3 kB / 342.3 MB, free: 31.1 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * 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 Backend phase and start with SimCode phase: time 0.0003257/0.1757, allocations: 163.7 kB / 342.5 MB, free: 31.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005494/0.1763, allocations: 228.8 kB / 342.7 MB, free: 31.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.1763, allocations: 3.438 kB / 342.7 MB, free: 31.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.1766, allocations: 147.9 kB / 342.8 MB, free: 31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.1768, allocations: 32.7 kB / 342.9 MB, free: 31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1782, allocations: 0.8384 MB / 343.7 MB, free: 30.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.1783, allocations: 154.7 kB / 343.8 MB, free: 30.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.1785, allocations: 70.62 kB / 343.9 MB, free: 30.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1786, allocations: 90.45 kB / 344 MB, free: 30.49 MB / 314.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1786, allocations: 0 / 344 MB, free: 30.49 MB / 314.7 MB Notification: Performance of Templates: time 0.01073/0.1894, allocations: 6.354 MB / 350.4 MB, free: 28.9 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.791187488939613]