Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.001179/0.001179, 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.001693/0.001693, allocations: 172.4 kB / 25.61 MB, free: 8.902 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.9846/0.9846, allocations: 177.1 MB / 206 MB, free: 4.508 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.1425/0.1425, 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.StraightPipe.dp_overall_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.639e-05, allocations: 2.312 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003619/0.003645, allocations: 1.876 MB / 379.2 MB, free: 23.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004061/0.007706, allocations: 2.823 MB / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.007856, allocations: 0 / 382 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.00815, allocations: 35.77 kB / 382 MB, free: 20.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.00852, allocations: 83.5 kB / 382.1 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.01051, allocations: 0.7468 MB / 382.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.01082, allocations: 254.6 kB / 383.1 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.589e-05/0.01088, allocations: 12.59 kB / 383.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.01119, allocations: 147.4 kB / 383.3 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.01137, allocations: 107.6 kB / 383.4 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.01139, allocations: 8 kB / 383.4 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.01265, allocations: 0.6041 MB / 384 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.01276, allocations: 79.64 kB / 384.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.375e-05/0.01284, allocations: 67.72 kB / 384.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.0141, allocations: 0.7863 MB / 384.9 MB, free: 17.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.01411, allocations: 0 / 384.9 MB, free: 17.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.01411, allocations: 0 / 384.9 MB, free: 17.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.01411, allocations: 0 / 384.9 MB, free: 17.9 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009033/0.01502, allocations: 0.7171 MB / 385.6 MB, free: 17.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.01506, allocations: 15.98 kB / 385.7 MB, free: 17.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.404e-05/0.01515, allocations: 48.75 kB / 385.7 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.01536, allocations: 180.1 kB / 385.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.01539, allocations: 24.78 kB / 385.9 MB, free: 16.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.01542, allocations: 24 kB / 385.9 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.01579, allocations: 260.8 kB / 386.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.01581, allocations: 0 / 386.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.01583, allocations: 15.98 kB / 386.2 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.876e-05/0.0159, allocations: 48.95 kB / 386.2 MB, free: 16.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.01616, allocations: 202.7 kB / 386.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.01738, allocations: 0.8885 MB / 387.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.0177, allocations: 163.4 kB / 387.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/0.01777, allocations: 39.66 kB / 387.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.01781, allocations: 12 kB / 387.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.01783, allocations: 33.39 kB / 387.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.01783, allocations: 0 / 387.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003755/0.01821, allocations: 191.5 kB / 387.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.01824, allocations: 55.41 kB / 387.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.01836, allocations: 209.1 kB / 388 MB, free: 14.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.01838, allocations: 29.7 kB / 388 MB, free: 14.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.01849, allocations: 246.9 kB / 388.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.01855, allocations: 95.2 kB / 388.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-05/0.01865, allocations: 75.33 kB / 388.5 MB, free: 14.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.01874, allocations: 0.504 MB / 389 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.01881, allocations: 29.77 kB / 389 MB, free: 13.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.01893, allocations: 153.6 kB / 389.1 MB, free: 13.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.01914, allocations: 205.4 kB / 389.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01914, allocations: 0 / 389.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003211/0.01947, allocations: 231.3 kB / 389.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.01949, allocations: 8 kB / 389.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.0195, allocations: 0 / 389.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.01951, allocations: 8 kB / 389.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.01994, allocations: 128.2 kB / 389.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007547/0.02069, allocations: 3.592 MB / 393.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.02083, allocations: 27.78 kB / 393.3 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.02085, allocations: 12 kB / 393.3 MB, free: 9.051 MB / 314.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.0001041/0.02095, allocations: 184.7 kB / 393.5 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.021, allocations: 23.84 kB / 393.5 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.02142, allocations: 255.6 kB / 393.8 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.02142, allocations: 4 kB / 393.8 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.02143, allocations: 0 / 393.8 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.02143, allocations: 0 / 393.8 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.02166, allocations: 193 kB / 394 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02166, allocations: 0 / 394 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.022, allocations: 119.9 kB / 394.1 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.02201, allocations: 3.938 kB / 394.1 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.02202, allocations: 8 kB / 394.1 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005816/0.0226, allocations: 3.585 MB / 397.7 MB, free: 4.539 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02261, allocations: 3.984 kB / 397.7 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.02288, allocations: 331.7 kB / 398 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.0229, allocations: 19.78 kB / 398 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.02293, allocations: 0 / 398 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.02304, allocations: 16.19 kB / 398.1 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.02309, allocations: 27.95 kB / 398.1 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.02311, allocations: 12 kB / 398.1 MB, free: 4.117 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.456e-05/0.02315, allocations: 135.2 kB / 398.2 MB, free: 3.984 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.02315, allocations: 4 kB / 398.2 MB, free: 3.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007948/0.02394, allocations: 258.6 kB / 398.5 MB, free: 3.727 MB / 314.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.0006359/0.02458, allocations: 374 kB / 398.9 MB, free: 3.348 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.02499, allocations: 192 kB / 399 MB, free: 3.156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.02499, allocations: 0 / 399 MB, free: 3.156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.02523, allocations: 140.7 kB / 399.2 MB, free: 3.016 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.02555, allocations: 26.77 kB / 399.2 MB, free: 2.992 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.02668, allocations: 0.5357 MB / 399.7 MB, free: 2.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.466e-05/0.02676, allocations: 124.2 kB / 399.9 MB, free: 2.289 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.02693, allocations: 49.8 kB / 399.9 MB, free: 2.242 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.02704, allocations: 98.19 kB / 400 MB, free: 2.145 MB / 314.7 MB Notification: Performance of SimCode: time 1.863e-06/0.02704, allocations: 0 / 400 MB, free: 2.145 MB / 314.7 MB Notification: Performance of Templates: time 0.0141/0.04113, allocations: 7.216 MB / 407.2 MB, free: 10.99 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_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.6980192540213466]