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_laminar_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.0015/0.0015, allocations: 81.97 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.001707/0.001707, allocations: 167.3 kB / 25.61 MB, free: 8.926 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.9277/0.9277, allocations: 177.2 MB / 206.1 MB, free: 4.496 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.1568/0.1568, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.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_laminar_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_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.418e-05, allocations: 2.312 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002983/0.003007, allocations: 1.853 MB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.004228, allocations: 0.7984 MB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.004304, allocations: 0 / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.004534, allocations: 43.69 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.004808, allocations: 79.52 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.005023, allocations: 67.72 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.00519, allocations: 147.3 kB / 382.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.005235, allocations: 8 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.00545, allocations: 87.67 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.005596, allocations: 95.73 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.005614, allocations: 4 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.005736, allocations: 39.98 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.005814, allocations: 39.83 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.005858, allocations: 23.92 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.006081, allocations: 139.5 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006084, allocations: 0 / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.006085, allocations: 0 / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.006089, allocations: 4 kB / 382.7 MB, free: 19.94 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003981/0.006487, allocations: 432.1 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.00652, allocations: 8.031 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000288/0.006808, allocations: 56.72 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.006933, allocations: 128.5 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.00695, allocations: 8.375 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.006969, allocations: 12.36 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.007193, allocations: 155.6 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.007205, allocations: 3.938 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.007218, allocations: 4 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.00725, allocations: 8 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.007339, allocations: 46.94 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005696/0.007908, allocations: 0.615 MB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.008109, allocations: 75.14 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.008142, allocations: 19.67 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.008157, allocations: 11.98 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.008173, allocations: 33.39 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.008175, allocations: 0 / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001726/0.008347, allocations: 69.81 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.00837, allocations: 51.41 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.008443, allocations: 190 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.008452, allocations: 33.64 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.008498, allocations: 162.8 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.008516, allocations: 35.7 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.008562, allocations: 39.38 kB / 384.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.008609, allocations: 0.4923 MB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.008636, allocations: 7.984 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.008697, allocations: 96.25 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.883e-05/0.008796, allocations: 121.1 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008799, allocations: 0 / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001622/0.008961, allocations: 109.4 kB / 385.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.008975, allocations: 8 kB / 385.7 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.008982, allocations: 7.922 kB / 385.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.008995, allocations: 4 kB / 385.7 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.009144, allocations: 44.17 kB / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.009149, allocations: 4 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.009229, allocations: 19.89 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.00924, allocations: 7.984 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.009296, allocations: 168.5 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.009329, allocations: 7.953 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.009467, allocations: 74.05 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.00947, allocations: 0 / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.009472, allocations: 0 / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.009475, allocations: 8 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.009615, allocations: 117.2 kB / 386.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.009617, allocations: 0 / 386.2 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.009731, allocations: 27.92 kB / 386.2 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.009734, allocations: 3.984 kB / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.009742, allocations: 0 / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.009744, allocations: 4 kB / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.009746, allocations: 3.938 kB / 386.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.009873, allocations: 211.9 kB / 386.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.009885, allocations: 15.89 kB / 386.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.0099, allocations: 0 / 386.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.009984, allocations: 7.984 kB / 386.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.01002, allocations: 7.938 kB / 386.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.01002, allocations: 7.984 kB / 386.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.19e-05/0.01006, allocations: 138.4 kB / 386.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01006, allocations: 0 / 386.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.01034, allocations: 23.95 kB / 386.6 MB, free: 15.7 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001057/0.01044, allocations: 111.2 kB / 386.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.01057, allocations: 55.58 kB / 386.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01057, allocations: 4 kB / 386.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.01061, allocations: 27.61 kB / 386.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.01088, allocations: 8 kB / 386.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.01151, allocations: 244.6 kB / 387.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.695e-05/0.01154, allocations: 75.19 kB / 387.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.244e-05/0.01158, allocations: 13.03 kB / 387.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.01163, allocations: 82.19 kB / 387.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01163, allocations: 0 / 387.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Templates: time 0.00254/0.01417, allocations: 1.021 MB / 388.3 MB, free: 14.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_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.1045073391869664]