Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009584/0.0009584, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001492/0.001492, allocations: 171.2 kB / 24.82 MB, free: 8.32 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.161/1.161, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2978/0.2978, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.632e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002654/0.00268, allocations: 1.888 MB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.005968, allocations: 2.827 MB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.006056, allocations: 7.938 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.006291, allocations: 39.75 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.006553, allocations: 83.45 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.007793, allocations: 0.7469 MB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.008078, allocations: 250.6 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.008154, allocations: 8.594 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.008466, allocations: 139.5 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.008639, allocations: 107.6 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.008666, allocations: 8 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008992/0.009565, allocations: 0.608 MB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.009643, allocations: 79.62 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.748e-05/0.00971, allocations: 75.72 kB / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009282/0.01064, allocations: 0.7863 MB / 386.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01064, allocations: 0 / 386.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01064, allocations: 0 / 386.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.01065, allocations: 0 / 386.2 MB, free: 10.7 MB / 362.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.0007249/0.01137, allocations: 0.7133 MB / 386.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.01141, allocations: 8.031 kB / 386.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.01148, allocations: 60.69 kB / 386.9 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.01165, allocations: 172.1 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.01167, allocations: 32.77 kB / 387.1 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.01169, allocations: 20 kB / 387.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.01197, allocations: 256.8 kB / 387.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.01198, allocations: 0 / 387.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.012, allocations: 15.98 kB / 387.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/0.01205, allocations: 40.97 kB / 387.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.01223, allocations: 194.8 kB / 387.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000978/0.01321, allocations: 0.9001 MB / 388.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.01343, allocations: 163.5 kB / 388.7 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.842e-05/0.01348, allocations: 39.61 kB / 388.8 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.01351, allocations: 15.92 kB / 388.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.01353, allocations: 37.39 kB / 388.8 MB, free: 7.898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.916e-06/0.01354, allocations: 4 kB / 388.8 MB, free: 7.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002545/0.01379, allocations: 178.8 kB / 389 MB, free: 7.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.01382, allocations: 59.34 kB / 389 MB, free: 7.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.01392, allocations: 212.9 kB / 389.3 MB, free: 7.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.01393, allocations: 29.7 kB / 389.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/0.01402, allocations: 246.8 kB / 389.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.01407, allocations: 91.2 kB / 389.6 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.01414, allocations: 87.27 kB / 389.7 MB, free: 6.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.01426, allocations: 0.5001 MB / 390.2 MB, free: 6.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.0143, allocations: 31.83 kB / 390.2 MB, free: 6.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/0.0144, allocations: 149.7 kB / 390.4 MB, free: 6.219 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.01456, allocations: 216.2 kB / 390.6 MB, free: 5.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01456, allocations: 0 / 390.6 MB, free: 5.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002207/0.01478, allocations: 217.3 kB / 390.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.01479, allocations: 10.5 kB / 390.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.0148, allocations: 4 kB / 390.8 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01481, allocations: 4 kB / 390.8 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.01508, allocations: 136.2 kB / 391 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.01625, allocations: 3.585 MB / 394.5 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.447e-05/0.01633, allocations: 35.7 kB / 394.6 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.01635, allocations: 12 kB / 394.6 MB, free: 1.844 MB / 362.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 9.472e-05/0.01644, allocations: 180.7 kB / 394.8 MB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.01647, allocations: 23.84 kB / 394.8 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.01678, allocations: 255.1 kB / 395 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01678, allocations: 4 kB / 395 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.01678, allocations: 0 / 395 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.01679, allocations: 3.984 kB / 395 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.01696, allocations: 197 kB / 395.2 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01696, allocations: 0 / 395.2 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.01718, allocations: 119.9 kB / 395.4 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01718, allocations: 3.938 kB / 395.4 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.01719, allocations: 15.98 kB / 395.4 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.0183, allocations: 3.573 MB / 398.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0183, allocations: 4 kB / 398.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.01854, allocations: 323.7 kB / 399.3 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.01856, allocations: 23.83 kB / 399.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.01858, allocations: 8.25 kB / 399.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.01864, allocations: 4 kB / 399.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.01869, allocations: 23.95 kB / 399.3 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.0187, allocations: 12 kB / 399.3 MB, free: 12.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.638e-05/0.01875, allocations: 131.2 kB / 399.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01875, allocations: 0 / 399.5 MB, free: 12.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000532/0.01928, allocations: 258.6 kB / 399.7 MB, free: 12.54 MB / 378.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.0005299/0.01981, allocations: 393.8 kB / 400.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002784/0.02009, allocations: 192.7 kB / 400.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.02009, allocations: 0 / 400.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.02025, allocations: 144 kB / 400.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.02044, allocations: 19 kB / 400.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008149/0.02126, allocations: 0.5269 MB / 401 MB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.952e-05/0.02133, allocations: 120.2 kB / 401.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.02144, allocations: 49.81 kB / 401.1 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.02153, allocations: 102.2 kB / 401.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02153, allocations: 0 / 401.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of Templates: time 0.008558/0.03009, allocations: 7.188 MB / 408.4 MB, free: 3.801 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.1.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.753273274283856]