Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9881/0.9881, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2959/0.2959, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.565e-05, allocations: 5.406 kB / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002021/0.002036, allocations: 1.848 MB / 327.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.003035, allocations: 0.8343 MB / 328.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.003092, allocations: 0 / 328.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.003295, allocations: 43.77 kB / 328.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.003524, allocations: 79.5 kB / 328.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.003698, allocations: 75.61 kB / 328.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.003839, allocations: 136.1 kB / 329 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.003875, allocations: 11.97 kB / 329 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.004034, allocations: 87.78 kB / 329.1 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.004142, allocations: 79.77 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.004157, allocations: 8 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.004261, allocations: 51.91 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.004313, allocations: 39.83 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.004346, allocations: 23.92 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.004519, allocations: 131.5 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.00452, allocations: 0 / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.004521, allocations: 0 / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.004525, allocations: 4 kB / 329.4 MB, free: 3.684 MB / 298.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.0003405/0.004865, allocations: 309.8 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.004894, allocations: 8.031 kB / 329.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.005095, allocations: 52.83 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.005218, allocations: 121.7 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.005229, allocations: 8.359 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.005246, allocations: 16.36 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.005414, allocations: 140.9 kB / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.005424, allocations: 11.88 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.005434, allocations: 4 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.005457, allocations: 11.98 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.236e-05/0.00551, allocations: 31.98 kB / 330.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.005912, allocations: 450.9 kB / 330.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.006046, allocations: 69.36 kB / 330.6 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.006064, allocations: 8.859 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.006075, allocations: 0 / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.006099, allocations: 38.56 kB / 330.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.0061, allocations: 4 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001194/0.00622, allocations: 61.55 kB / 330.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.006266, allocations: 55.41 kB / 330.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.00633, allocations: 129.1 kB / 330.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.00634, allocations: 25.7 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.006383, allocations: 120.1 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.006399, allocations: 31.73 kB / 331.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.006434, allocations: 33.69 kB / 331.1 MB, free: 1.816 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.006541, allocations: 314.8 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.006558, allocations: 11.98 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.006599, allocations: 75.72 kB / 331.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.244e-05/0.006672, allocations: 90.39 kB / 331.6 MB, free: 1.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.006675, allocations: 4 kB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.328e-05/0.006768, allocations: 101.4 kB / 331.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.006779, allocations: 4 kB / 331.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.006784, allocations: 4 kB / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.006796, allocations: 7.875 kB / 331.7 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.006885, allocations: 43.97 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.006889, allocations: 3.938 kB / 331.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.006931, allocations: 15.89 kB / 331.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.006938, allocations: 8.25 kB / 331.8 MB, free: 1.074 MB / 298.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.872e-05/0.006996, allocations: 116.7 kB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.007019, allocations: 7.984 kB / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.85e-05/0.007107, allocations: 69.98 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.00711, allocations: 7.938 kB / 332 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.007113, allocations: 3.984 kB / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.007115, allocations: 0 / 332 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.007278, allocations: 89.81 kB / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.007279, allocations: 4 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.251e-05/0.007331, allocations: 23.98 kB / 332.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.007335, allocations: 4 kB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.00734, allocations: 0 / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.007341, allocations: 480 / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.007342, allocations: 0 / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.93e-05/0.007421, allocations: 167.4 kB / 332.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-06/0.007427, allocations: 0 / 332.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.007437, allocations: 8 kB / 332.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.007471, allocations: 0 / 332.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.007497, allocations: 11.92 kB / 332.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.007501, allocations: 8 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.667e-05/0.007518, allocations: 16.84 kB / 332.3 MB, free: 500 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007518, allocations: 4 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.007661, allocations: 23.95 kB / 332.3 MB, free: 472 kB / 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 (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 8.881e-05/0.007749, allocations: 92.31 kB / 332.4 MB, free: 372 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.77e-05/0.007837, allocations: 56.78 kB / 332.5 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.00784, allocations: 0 / 332.5 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.007862, allocations: 20.84 kB / 332.5 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.007993, allocations: 9.641 kB / 332.5 MB, free: 280 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.008488, allocations: 255.9 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.924e-05/0.008527, allocations: 75.19 kB / 332.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.008564, allocations: 4.5 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.008612, allocations: 71.3 kB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.008613, allocations: 0 / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of Templates: time 0.002605/0.01122, allocations: 0.948 MB / 333.8 MB, free: 14.94 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.1458833781071007]