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.0009873/0.0009873, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001078/0.001078, allocations: 168.4 kB / 25.61 MB, free: 8.922 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 1.053/1.053, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.1573/0.1573, allocations: 32.8 MB / 295.4 MB, free: 15.39 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 2.635e-06/2.635e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.61e-05, allocations: 2.312 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002116/0.002152, allocations: 1.871 MB / 379.2 MB, free: 23.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.003424, allocations: 1.32 MB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.003487, allocations: 4 kB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.003711, allocations: 59.61 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.003914, allocations: 91.42 kB / 380.7 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.004218, allocations: 227 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.004464, allocations: 425.4 kB / 381.3 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.004512, allocations: 16.92 kB / 381.3 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.004716, allocations: 203.2 kB / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.004844, allocations: 147.5 kB / 381.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.004864, allocations: 12 kB / 381.7 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.005101, allocations: 227.4 kB / 381.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.916e-05/0.0052, allocations: 127.4 kB / 382 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.00527, allocations: 115.5 kB / 382.1 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.005644, allocations: 0.5175 MB / 382.6 MB, free: 20.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005647, allocations: 3.984 kB / 382.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005647, allocations: 0 / 382.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.005652, allocations: 0 / 382.6 MB, free: 20.2 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.0006039/0.006256, allocations: 0.8268 MB / 383.5 MB, free: 19.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.006288, allocations: 15.92 kB / 383.5 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.006366, allocations: 88.56 kB / 383.6 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.006547, allocations: 247.7 kB / 383.8 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.006568, allocations: 29.38 kB / 383.8 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.006608, allocations: 40.38 kB / 383.9 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.006898, allocations: 361.5 kB / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.006911, allocations: 7.938 kB / 384.2 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.006932, allocations: 19.98 kB / 384.3 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/0.006976, allocations: 61.22 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.007168, allocations: 225 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009653/0.008134, allocations: 1.029 MB / 385.6 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.008362, allocations: 272 kB / 385.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.008415, allocations: 60.12 kB / 385.9 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.008439, allocations: 12.23 kB / 385.9 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.008457, allocations: 33.62 kB / 385.9 MB, free: 16.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.183e-06/0.008458, allocations: 0 / 385.9 MB, free: 16.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003047/0.008763, allocations: 244.6 kB / 386.2 MB, free: 16.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.008783, allocations: 55.41 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.008882, allocations: 278.6 kB / 386.5 MB, free: 16.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.008895, allocations: 33.64 kB / 386.5 MB, free: 16.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.00897, allocations: 347.1 kB / 386.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.009009, allocations: 99.14 kB / 387 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.009085, allocations: 87.33 kB / 387.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.009139, allocations: 0.5157 MB / 387.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.376e-05/0.009193, allocations: 47.97 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.511e-05/0.009288, allocations: 207.5 kB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.009465, allocations: 290.7 kB / 388.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009467, allocations: 0 / 388.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002616/0.009729, allocations: 281.2 kB / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.00974, allocations: 8 kB / 388.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.009745, allocations: 4 kB / 388.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.009756, allocations: 7.938 kB / 388.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.01006, allocations: 167.8 kB / 388.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006896/0.01075, allocations: 5.403 MB / 394 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.884e-05/0.01085, allocations: 39.67 kB / 394 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.01087, allocations: 20 kB / 394 MB, free: 8.301 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 7.786e-05/0.01094, allocations: 176.8 kB / 394.2 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.01099, allocations: 39.8 kB / 394.2 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.01137, allocations: 360 kB / 394.6 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01137, allocations: 4 kB / 394.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01137, allocations: 0 / 394.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01138, allocations: 0 / 394.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.01158, allocations: 273 kB / 394.9 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.01158, allocations: 0 / 394.9 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.01182, allocations: 139.9 kB / 395 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.01183, allocations: 0 / 395 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01184, allocations: 27.92 kB / 395 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006595/0.0125, allocations: 5.383 MB / 400.4 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.0125, allocations: 384 / 400.4 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.01278, allocations: 442.3 kB / 400.8 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.01285, allocations: 51.75 kB / 400.9 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.01288, allocations: 8 kB / 400.9 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.01297, allocations: 11.98 kB / 400.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.01301, allocations: 27.91 kB / 400.9 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.01303, allocations: 15.98 kB / 400.9 MB, free: 1.137 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.313e-05/0.01308, allocations: 188 kB / 401.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01308, allocations: 0 / 401.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.01338, allocations: 191.2 kB / 401.3 MB, free: 0.7617 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.0001962/0.01357, allocations: 182.9 kB / 401.5 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.01394, allocations: 275.8 kB / 401.8 MB, free: 308 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01394, allocations: 0 / 401.8 MB, free: 308 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.01416, allocations: 195.3 kB / 402 MB, free: 108 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.01438, allocations: 44.16 kB / 402 MB, free: 68 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.01542, allocations: 0.8069 MB / 402.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.01551, allocations: 164.6 kB / 403 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.01565, allocations: 70.77 kB / 403 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.01577, allocations: 118.2 kB / 403.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01577, allocations: 0 / 403.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of Templates: time 0.008592/0.02436, allocations: 6.493 MB / 409.6 MB, free: 8.469 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 -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.751740374136716]