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.00105/0.00105, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001181/0.001181, allocations: 171.5 kB / 24.84 MB, free: 8.934 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.055/1.055, allocations: 158.6 MB / 186.7 MB, free: 2.785 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.1504/0.1504, allocations: 32.37 MB / 271.5 MB, free: 14.54 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 1.343e-06/1.343e-06, allocations: 0 / 348.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.863e-05, allocations: 6.25 kB / 349 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.001982/0.002001, allocations: 1.872 MB / 350.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.003623, allocations: 1.606 MB / 352.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.003694, allocations: 0 / 352.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.003909, allocations: 39.75 kB / 352.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.004148, allocations: 91.5 kB / 352.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.004587, allocations: 410.2 kB / 353 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.004772, allocations: 246.6 kB / 353.2 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.877e-05/0.004821, allocations: 16.59 kB / 353.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.004963, allocations: 135.5 kB / 353.3 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.005082, allocations: 107.6 kB / 353.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.005101, allocations: 8 kB / 353.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.005412, allocations: 311.2 kB / 353.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.005474, allocations: 79.62 kB / 353.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.005525, allocations: 71.72 kB / 353.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.005949, allocations: 0.5021 MB / 354.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005951, allocations: 0 / 354.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005952, allocations: 0 / 354.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.005958, allocations: 0 / 354.4 MB, free: 3.652 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.0005595/0.006517, allocations: 0.6553 MB / 355.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.006556, allocations: 11.97 kB / 355.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.006632, allocations: 60.69 kB / 355.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.006786, allocations: 172.2 kB / 355.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.006805, allocations: 24.78 kB / 355.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.00683, allocations: 23.98 kB / 355.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.007096, allocations: 264.7 kB / 355.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.007109, allocations: 0 / 355.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.007128, allocations: 12 kB / 355.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.162e-05/0.00718, allocations: 40.97 kB / 355.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.00735, allocations: 198.8 kB / 355.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.008145, allocations: 0.8924 MB / 356.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.008368, allocations: 172.4 kB / 356.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.008414, allocations: 43.59 kB / 357 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.008442, allocations: 8 kB / 357 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.008462, allocations: 37.39 kB / 357 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.008464, allocations: 0 / 357 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002616/0.008726, allocations: 185.3 kB / 357.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.008747, allocations: 55.41 kB / 357.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.597e-05/0.008813, allocations: 210.2 kB / 357.4 MB, free: 448 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.008825, allocations: 29.7 kB / 357.5 MB, free: 412 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.008881, allocations: 246.9 kB / 357.7 MB, free: 160 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.008914, allocations: 91.2 kB / 357.8 MB, free: 68 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.008993, allocations: 83.31 kB / 357.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.009135, allocations: 0.4962 MB / 358.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.362e-05/0.009178, allocations: 31.97 kB / 358.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.00929, allocations: 163.8 kB / 358.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.009465, allocations: 201 kB / 358.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009468, allocations: 0 / 358.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002527/0.00972, allocations: 237.1 kB / 359 MB, free: 14.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.009734, allocations: 11.94 kB / 359 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.009739, allocations: 0 / 359 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.009752, allocations: 4 kB / 359 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.01004, allocations: 123.9 kB / 359.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.01135, allocations: 3.597 MB / 362.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.01143, allocations: 31.78 kB / 362.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.01145, allocations: 11.98 kB / 362.8 MB, free: 10.85 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.0001339/0.01158, allocations: 176.5 kB / 363 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.01162, allocations: 24.09 kB / 363 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.01195, allocations: 246.6 kB / 363.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01196, allocations: 4 kB / 363.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01196, allocations: 4 kB / 363.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01196, allocations: 3.938 kB / 363.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.01215, allocations: 201 kB / 363.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01215, allocations: 0 / 363.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.01238, allocations: 115.9 kB / 363.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.01238, allocations: 3.938 kB / 363.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01239, allocations: 8 kB / 363.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.01349, allocations: 3.581 MB / 367.1 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01349, allocations: 4 kB / 367.1 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.01372, allocations: 328.7 kB / 367.5 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.01374, allocations: 23.84 kB / 367.5 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.01376, allocations: 0 / 367.5 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.149e-05/0.01382, allocations: 11.98 kB / 367.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.01386, allocations: 24.17 kB / 367.5 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.01388, allocations: 19.98 kB / 367.5 MB, free: 5.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.01392, allocations: 138.1 kB / 367.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01392, allocations: 0 / 367.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.01425, allocations: 183.1 kB / 367.8 MB, free: 5.605 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.0003145/0.01456, allocations: 226.6 kB / 368.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.01485, allocations: 199.4 kB / 368.3 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01485, allocations: 0 / 368.3 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.01501, allocations: 136.2 kB / 368.4 MB, free: 5.039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.01521, allocations: 27.94 kB / 368.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008023/0.01601, allocations: 0.5186 MB / 368.9 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.014e-05/0.01608, allocations: 112.3 kB / 369.1 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.01619, allocations: 53.8 kB / 369.1 MB, free: 4.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.01628, allocations: 102.2 kB / 369.2 MB, free: 4.184 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01628, allocations: 3.938 kB / 369.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of Templates: time 0.00668/0.02296, allocations: 5.195 MB / 374.4 MB, free: 15.03 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.671053080819547]