Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.001308/0.001308, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001371/0.001371, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9977/0.9977, allocations: 177 MB / 204.8 MB, free: 5.566 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.2838/0.2838, allocations: 34.86 MB / 296.3 MB, free: 0.5273 MB / 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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.912e-05, allocations: 2.875 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002574/0.002603, allocations: 1.894 MB / 380.7 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.005679, allocations: 2.874 MB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.119e-05/0.00577, allocations: 4 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.006006, allocations: 39.7 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.006275, allocations: 95.42 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.007976, allocations: 0.7352 MB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.00823, allocations: 258.5 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.008276, allocations: 8.594 kB / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.008515, allocations: 139.5 kB / 384.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.008643, allocations: 115.6 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.008665, allocations: 8 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008917/0.009557, allocations: 0.6002 MB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.009664, allocations: 83.61 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.368e-05/0.009748, allocations: 67.73 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.01075, allocations: 0.7824 MB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.01076, allocations: 0 / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.01076, allocations: 8 kB / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.01076, allocations: 0 / 386.5 MB, free: 10.33 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.000765/0.01153, allocations: 0.7172 MB / 387.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.01157, allocations: 8.031 kB / 387.2 MB, free: 9.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.01165, allocations: 52.7 kB / 387.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.01184, allocations: 180.2 kB / 387.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.01186, allocations: 32.7 kB / 387.5 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.01189, allocations: 24 kB / 387.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.01226, allocations: 288.8 kB / 387.8 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.01227, allocations: 0 / 387.8 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.0123, allocations: 19.98 kB / 387.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/0.01236, allocations: 44.97 kB / 387.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.01263, allocations: 249.8 kB / 388.1 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.01372, allocations: 0.9542 MB / 389 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.01401, allocations: 177.3 kB / 389.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.001e-05/0.01408, allocations: 51.66 kB / 389.3 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.01411, allocations: 8 kB / 389.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.01414, allocations: 37.33 kB / 389.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.01414, allocations: 0 / 389.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003268/0.01446, allocations: 202.1 kB / 389.5 MB, free: 7.148 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.0145, allocations: 59.28 kB / 389.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.01461, allocations: 205.9 kB / 389.8 MB, free: 6.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.01463, allocations: 29.7 kB / 389.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.01472, allocations: 250.8 kB / 390 MB, free: 6.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.01477, allocations: 95.59 kB / 390.1 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/0.01485, allocations: 83.3 kB / 390.2 MB, free: 6.391 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.01496, allocations: 0.4962 MB / 390.7 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/0.01502, allocations: 39.83 kB / 390.8 MB, free: 5.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.01541, allocations: 161.7 kB / 390.9 MB, free: 5.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.0156, allocations: 220.2 kB / 391.1 MB, free: 5.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01561, allocations: 4 kB / 391.1 MB, free: 5.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002581/0.01586, allocations: 237.5 kB / 391.4 MB, free: 5.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.01588, allocations: 4 kB / 391.4 MB, free: 5.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.01588, allocations: 4 kB / 391.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.0159, allocations: 4 kB / 391.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.01622, allocations: 135.8 kB / 391.5 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000963/0.01718, allocations: 3.585 MB / 395.1 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.837e-05/0.01728, allocations: 31.77 kB / 395.1 MB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.0173, allocations: 16 kB / 395.1 MB, free: 1.238 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.683e-05/0.0174, allocations: 180.3 kB / 395.3 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.01743, allocations: 23.91 kB / 395.3 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/0.01777, allocations: 271.2 kB / 395.6 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01777, allocations: 4 kB / 395.6 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.01777, allocations: 0 / 395.6 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01778, allocations: 3.984 kB / 395.6 MB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.01798, allocations: 256.3 kB / 395.9 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01798, allocations: 0 / 395.9 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.01821, allocations: 119.9 kB / 396 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01822, allocations: 0 / 396 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.01823, allocations: 11.98 kB / 396 MB, free: 344 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.01947, allocations: 3.581 MB / 399.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.01948, allocations: 7.922 kB / 399.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.01973, allocations: 335.8 kB / 399.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.01974, allocations: 19.83 kB / 399.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.01976, allocations: 8 kB / 399.9 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.34e-05/0.01983, allocations: 4 kB / 399.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.01989, allocations: 31.89 kB / 400 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.0199, allocations: 12 kB / 400 MB, free: 12.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.854e-05/0.01995, allocations: 137.6 kB / 400.1 MB, free: 12.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01995, allocations: 4.125 kB / 400.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005041/0.02045, allocations: 254.7 kB / 400.4 MB, free: 11.82 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.0005094/0.02096, allocations: 385.8 kB / 400.7 MB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003639/0.02132, allocations: 208.4 kB / 400.9 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.02133, allocations: 7.938 kB / 401 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.0215, allocations: 136 kB / 401.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.02172, allocations: 23.98 kB / 401.1 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.02265, allocations: 0.5263 MB / 401.6 MB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.717e-05/0.02272, allocations: 112.2 kB / 401.7 MB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.02288, allocations: 93.72 kB / 401.8 MB, free: 10.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.02294, allocations: 32.48 kB / 401.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02294, allocations: 0 / 401.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of Templates: time 0.0102/0.03314, allocations: 7.388 MB / 409.3 MB, free: 2.918 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.6235315375961363]