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.001074/0.001074, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00173/0.00173, allocations: 172.3 kB / 24.91 MB, free: 8.789 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.9902/0.9902, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2954/0.2954, allocations: 32.81 MB / 294.6 MB, free: 1.16 MB / 266.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.212e-06/1.212e-06, allocations: 0 / 323.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.467e-05, allocations: 7.453 kB / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002162/0.002177, allocations: 1.927 MB / 325.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.003629, allocations: 1.344 MB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.003695, allocations: 4 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.003927, allocations: 59.61 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.004154, allocations: 91.44 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.004527, allocations: 219.7 kB / 326.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.004821, allocations: 429.4 kB / 327.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.004865, allocations: 14.91 kB / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.005108, allocations: 207.2 kB / 327.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.005254, allocations: 143.5 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.005274, allocations: 12 kB / 327.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.005595, allocations: 239.4 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.005702, allocations: 123.4 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.174e-05/0.005794, allocations: 123.5 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.006241, allocations: 0.5262 MB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.006243, allocations: 0 / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.006243, allocations: 0 / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.006247, allocations: 0 / 328.7 MB, free: 4.152 MB / 298.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.0006193/0.006866, allocations: 0.6758 MB / 329.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.68e-05/0.006893, allocations: 8.031 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.006966, allocations: 68.89 kB / 329.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.007161, allocations: 213 kB / 329.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.007181, allocations: 29.38 kB / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.007221, allocations: 44.36 kB / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.00756, allocations: 401.3 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.007573, allocations: 3.938 kB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.007594, allocations: 16 kB / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/0.007644, allocations: 65.27 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.007841, allocations: 205 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.008857, allocations: 0.911 MB / 331.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.009108, allocations: 294 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.009162, allocations: 46.48 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.00919, allocations: 8.219 kB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.009218, allocations: 46.73 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.372e-06/0.009219, allocations: 0 / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002668/0.009486, allocations: 168.2 kB / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.009514, allocations: 59.34 kB / 332 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.00962, allocations: 199.4 kB / 332.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.009639, allocations: 33.7 kB / 332.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.009734, allocations: 276.5 kB / 332.5 MB, free: 280 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.00978, allocations: 103.1 kB / 332.6 MB, free: 176 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.009848, allocations: 69.66 kB / 332.6 MB, free: 100 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.274e-05/0.009931, allocations: 334.8 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.009989, allocations: 42.8 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.975e-05/0.01009, allocations: 154.4 kB / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.01028, allocations: 227.1 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.01029, allocations: 4 kB / 333.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002316/0.01052, allocations: 221.3 kB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.01053, allocations: 8 kB / 333.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01054, allocations: 0 / 333.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.01055, allocations: 8 kB / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.01085, allocations: 147.7 kB / 333.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.01187, allocations: 3.545 MB / 337.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.01198, allocations: 39.67 kB / 337.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.012, allocations: 15.98 kB / 337.3 MB, free: 11.11 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 9.617e-05/0.0121, allocations: 140.5 kB / 337.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.01213, allocations: 23.92 kB / 337.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.01247, allocations: 283.9 kB / 337.8 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.01248, allocations: 3.984 kB / 337.8 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01248, allocations: 4 kB / 337.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.01249, allocations: 3.984 kB / 337.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.01271, allocations: 209.8 kB / 338 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.01271, allocations: 3.938 kB / 338 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.01296, allocations: 107.9 kB / 338.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.01296, allocations: 4 kB / 338.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.01298, allocations: 11.98 kB / 338.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009727/0.01395, allocations: 3.552 MB / 341.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01395, allocations: 0 / 341.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.01422, allocations: 367 kB / 342 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.01429, allocations: 63.66 kB / 342.1 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.01432, allocations: 8 kB / 342.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/0.01617, allocations: 7.938 kB / 342.1 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.01627, allocations: 27.95 kB / 342.1 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.01629, allocations: 8 kB / 342.1 MB, free: 6.094 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.01642, allocations: 69.66 kB / 342.2 MB, free: 6.023 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01642, allocations: 0 / 342.2 MB, free: 6.023 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006634/0.01708, allocations: 191.2 kB / 342.4 MB, free: 5.836 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.0003706/0.01745, allocations: 164 kB / 342.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00069/0.01814, allocations: 229.1 kB / 342.8 MB, free: 5.441 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.01815, allocations: 4 kB / 342.8 MB, free: 5.438 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.01856, allocations: 140.7 kB / 342.9 MB, free: 5.297 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.01886, allocations: 40.38 kB / 343 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.02059, allocations: 0.8292 MB / 343.8 MB, free: 4.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.02073, allocations: 160.5 kB / 344 MB, free: 4.234 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.02094, allocations: 70.77 kB / 344 MB, free: 4.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.02112, allocations: 91.36 kB / 344.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02112, allocations: 0 / 344.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of Templates: time 0.008037/0.02916, allocations: 6.356 MB / 350.5 MB, free: 13.8 MB / 330.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 -s gbode -gbm=radauIIA3 -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.449328558985144]