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_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.001394/0.001394, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001016/0.001016, allocations: 168.7 kB / 25.61 MB, free: 8.879 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.9476/0.9476, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1593/0.1593, allocations: 32.8 MB / 295.4 MB, free: 15.38 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_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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01e-05/1.137e-05, allocations: 6.141 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.001682/0.001694, allocations: 1.852 MB / 379.2 MB, free: 23.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008126/0.002506, allocations: 0.7984 MB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.00256, allocations: 4 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.002734, allocations: 39.7 kB / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.002923, allocations: 83.5 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.003053, allocations: 63.75 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.003174, allocations: 147.3 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.00321, allocations: 7.938 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.003344, allocations: 91.7 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.003446, allocations: 91.75 kB / 380.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.003459, allocations: 4 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.947e-05/0.003538, allocations: 43.92 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.003585, allocations: 31.91 kB / 380.6 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.003615, allocations: 31.84 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.003773, allocations: 135.5 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.003774, allocations: 4 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003775, allocations: 0 / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.003779, allocations: 0 / 380.7 MB, free: 22.13 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.0003739/0.004153, allocations: 428.2 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.004189, allocations: 11.98 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.004391, allocations: 52.73 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/0.004483, allocations: 136.4 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.004493, allocations: 12.36 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.004505, allocations: 12.31 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.00464, allocations: 149.9 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.004649, allocations: 3.938 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.004658, allocations: 0 / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.004679, allocations: 15.92 kB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.167e-05/0.004731, allocations: 38.81 kB / 381.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.005087, allocations: 0.6227 MB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.005219, allocations: 79.19 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.005237, allocations: 15.69 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.005248, allocations: 4 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.161e-05/0.00526, allocations: 33.55 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005261, allocations: 0 / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001188/0.00538, allocations: 81.48 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.005399, allocations: 51.41 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.026e-05/0.005449, allocations: 181.8 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.005456, allocations: 29.7 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.005493, allocations: 178.8 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.005504, allocations: 19.8 kB / 382.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.005536, allocations: 43.34 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.005584, allocations: 0.4884 MB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.005598, allocations: 11.98 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-05/0.005636, allocations: 104.3 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/0.005698, allocations: 113.1 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.0057, allocations: 3.938 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.204e-05/0.005792, allocations: 109.8 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.005804, allocations: 8 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.00581, allocations: 3.938 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.005821, allocations: 4.25 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.005902, allocations: 35.98 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.005907, allocations: 12 kB / 383.8 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.005947, allocations: 19.89 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.005955, allocations: 11.92 kB / 383.8 MB, free: 18.75 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.241e-05/0.006008, allocations: 160.6 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.006026, allocations: 7.953 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.866e-05/0.006125, allocations: 77.98 kB / 384 MB, free: 18.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.006128, allocations: 7.984 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.006129, allocations: 0 / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006133, allocations: 4 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.722e-05/0.00622, allocations: 121.2 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006221, allocations: 0 / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.006275, allocations: 23.98 kB / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.006276, allocations: 0 / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.006281, allocations: 0 / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006282, allocations: 0 / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006283, allocations: 7.938 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.806e-05/0.006351, allocations: 219.8 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.006358, allocations: 15.88 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.006368, allocations: 0 / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.006405, allocations: 4 kB / 384.4 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.006429, allocations: 11.92 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.006433, allocations: 4 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.998e-05/0.006453, allocations: 131.2 kB / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006453, allocations: 0 / 384.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.006608, allocations: 27.95 kB / 384.6 MB, free: 17.88 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 6.884e-05/0.006677, allocations: 103.2 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.666e-05/0.006753, allocations: 55.53 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.01e-07/0.006754, allocations: 4 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.029e-05/0.006775, allocations: 23.67 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.006941, allocations: 8.5 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.007341, allocations: 244.1 kB / 385 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.829e-05/0.007369, allocations: 79.12 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.708e-05/0.007406, allocations: 16.47 kB / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.007446, allocations: 78.2 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007447, allocations: 0 / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of Templates: time 0.00235/0.009797, allocations: 1.024 MB / 386.2 MB, free: 16.24 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.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.0.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.0799758001230657]