Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.001005/0.001005, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009951/0.0009951, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.044/1.044, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1462/0.1462, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.048e-05, allocations: 6.25 kB / 347.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002315/0.002345, allocations: 1.895 MB / 349.6 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.004324, allocations: 1.626 MB / 351.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.628e-05/0.00441, allocations: 4 kB / 351.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.004683, allocations: 39.7 kB / 351.3 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.004966, allocations: 87.5 kB / 351.4 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.00567, allocations: 410.4 kB / 351.8 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.005872, allocations: 250.5 kB / 352 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.005919, allocations: 12.58 kB / 352 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.006076, allocations: 135.5 kB / 352.1 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.00619, allocations: 107.6 kB / 352.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.006211, allocations: 8 kB / 352.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.006594, allocations: 307.2 kB / 352.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.006671, allocations: 83.69 kB / 352.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.006735, allocations: 67.72 kB / 352.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.007214, allocations: 0.506 MB / 353.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.007216, allocations: 0 / 353.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007217, allocations: 0 / 353.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.007223, allocations: 0 / 353.2 MB, free: 3.883 MB / 282.7 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.0006099/0.007832, allocations: 0.6592 MB / 353.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.007876, allocations: 12.03 kB / 353.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.007959, allocations: 52.7 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.008154, allocations: 172.2 kB / 354.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.008174, allocations: 32.75 kB / 354.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.008203, allocations: 28 kB / 354.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.008553, allocations: 292.7 kB / 354.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.008566, allocations: 0 / 354.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.008585, allocations: 7.984 kB / 354.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/0.008637, allocations: 52.95 kB / 354.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.008878, allocations: 245.8 kB / 354.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009322/0.009811, allocations: 0.9582 MB / 355.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.01009, allocations: 186.1 kB / 355.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.01016, allocations: 43.67 kB / 355.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.01019, allocations: 7.984 kB / 355.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.01021, allocations: 41.39 kB / 356 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.01021, allocations: 0 / 356 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003035/0.01051, allocations: 199.5 kB / 356.2 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.01054, allocations: 67.33 kB / 356.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.01061, allocations: 204.2 kB / 356.4 MB, free: 480 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.01062, allocations: 33.7 kB / 356.5 MB, free: 440 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.01069, allocations: 246.8 kB / 356.7 MB, free: 188 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.01072, allocations: 95.59 kB / 356.8 MB, free: 92 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.01078, allocations: 71.36 kB / 356.9 MB, free: 12 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.01094, allocations: 0.5002 MB / 357.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.375e-05/0.01101, allocations: 35.98 kB / 357.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.01113, allocations: 167.9 kB / 357.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.01134, allocations: 220.9 kB / 357.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01134, allocations: 0 / 357.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002757/0.01162, allocations: 245.2 kB / 358 MB, free: 14.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.01164, allocations: 8 kB / 358 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01164, allocations: 4 kB / 358 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.01166, allocations: 4 kB / 358 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.01197, allocations: 132.2 kB / 358.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.01316, allocations: 3.585 MB / 361.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.023e-05/0.01325, allocations: 31.78 kB / 361.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.01326, allocations: 19.98 kB / 361.8 MB, free: 10.84 MB / 298.7 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.0001071/0.01337, allocations: 176.7 kB / 362 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.0134, allocations: 23.91 kB / 362 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.01376, allocations: 266.6 kB / 362.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.01376, allocations: 4 kB / 362.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.01377, allocations: 0 / 362.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.01378, allocations: 3.984 kB / 362.3 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.014, allocations: 264.2 kB / 362.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.014, allocations: 0 / 362.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.01423, allocations: 115.9 kB / 362.6 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.01423, allocations: 4 kB / 362.7 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.01425, allocations: 8 kB / 362.7 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.01535, allocations: 3.577 MB / 366.2 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01535, allocations: 7.938 kB / 366.2 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.01562, allocations: 340.7 kB / 366.6 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.01564, allocations: 23.84 kB / 366.6 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.01565, allocations: 3.984 kB / 366.6 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.561e-05/0.01572, allocations: 16.23 kB / 366.6 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.01577, allocations: 23.91 kB / 366.6 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.01579, allocations: 15.98 kB / 366.7 MB, free: 5.809 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.042e-05/0.01588, allocations: 140.2 kB / 366.8 MB, free: 5.672 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01588, allocations: 0 / 366.8 MB, free: 5.672 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003474/0.01622, allocations: 171.2 kB / 367 MB, free: 5.504 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (29): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.0003312/0.01656, allocations: 230.6 kB / 367.2 MB, free: 5.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.01691, allocations: 207.4 kB / 367.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01691, allocations: 0.6875 kB / 367.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.01708, allocations: 147.5 kB / 367.5 MB, free: 4.914 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.0173, allocations: 23.94 kB / 367.6 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009268/0.01823, allocations: 0.5328 MB / 368.1 MB, free: 4.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.01829, allocations: 112.3 kB / 368.2 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.01845, allocations: 93.72 kB / 368.3 MB, free: 4.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.0185, allocations: 28.48 kB / 368.3 MB, free: 4.086 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01851, allocations: 0 / 368.3 MB, free: 4.086 MB / 298.7 MB Notification: Performance of Templates: time 0.006761/0.02527, allocations: 4.53 MB / 372.8 MB, free: 15.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_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.675042876973748]