Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.001627/0.001627, 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.001915/0.001915, 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.9538/0.9538, 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.2818/0.2818, allocations: 34.86 MB / 296.6 MB, free: 464 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_turbulent_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_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.905e-05, allocations: 9.406 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002381/0.0024, allocations: 1.94 MB / 327.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.00453, allocations: 1.645 MB / 329.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.004597, allocations: 7.938 kB / 329.6 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.004803, allocations: 43.7 kB / 329.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.005049, allocations: 83.5 kB / 329.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.005598, allocations: 403.2 kB / 330.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.005804, allocations: 258.6 kB / 330.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.005848, allocations: 14.55 kB / 330.4 MB, free: 2.695 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.006051, allocations: 143.4 kB / 330.5 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.006186, allocations: 103.7 kB / 330.6 MB, free: 2.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.00621, allocations: 11.94 kB / 330.6 MB, free: 2.441 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.006629, allocations: 335.2 kB / 330.9 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.717e-05/0.006706, allocations: 75.64 kB / 331 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.00677, allocations: 71.72 kB / 331.1 MB, free: 1.969 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.007274, allocations: 0.5098 MB / 331.6 MB, free: 1.457 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.007276, allocations: 0 / 331.6 MB, free: 1.457 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007278, allocations: 0 / 331.6 MB, free: 1.457 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.007283, allocations: 0 / 331.6 MB, free: 1.457 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0005327/0.007815, allocations: 0.5164 MB / 332.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.007847, allocations: 8.031 kB / 332.1 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.007902, allocations: 40.91 kB / 332.2 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.008042, allocations: 161.4 kB / 332.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.008061, allocations: 28.75 kB / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.008085, allocations: 27.94 kB / 332.4 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.008357, allocations: 279.5 kB / 332.6 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.008366, allocations: 0 / 332.6 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.008384, allocations: 19.97 kB / 332.7 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/0.00843, allocations: 40.97 kB / 332.7 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.00859, allocations: 166.9 kB / 332.9 MB, free: 128 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.009446, allocations: 0.7903 MB / 333.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.009651, allocations: 140.7 kB / 333.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.009693, allocations: 36.84 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.009719, allocations: 8 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.009741, allocations: 30.56 kB / 333.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.332e-06/0.009742, allocations: 4 kB / 333.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0001982/0.00994, allocations: 144.3 kB / 334 MB, free: 14.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.009966, allocations: 51.41 kB / 334.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.01004, allocations: 146.5 kB / 334.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.01005, allocations: 33.7 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.01013, allocations: 200.1 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.01017, allocations: 87.2 kB / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.01023, allocations: 69.61 kB / 334.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.242e-05/0.01031, allocations: 326.8 kB / 334.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/0.01034, allocations: 23.98 kB / 334.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.962e-05/0.01042, allocations: 124.5 kB / 335.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.01057, allocations: 173.7 kB / 335.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01057, allocations: 4 kB / 335.2 MB, free: 13.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001704/0.01074, allocations: 165.3 kB / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.01075, allocations: 8 kB / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.01076, allocations: 4 kB / 335.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.01078, allocations: 4 kB / 335.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.01111, allocations: 136.2 kB / 335.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.01221, allocations: 2.354 MB / 337.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/0.01229, allocations: 31.81 kB / 337.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.01231, allocations: 12 kB / 337.9 MB, free: 10.77 MB / 314.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.264e-05/0.0124, allocations: 128.6 kB / 338.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.01243, allocations: 23.92 kB / 338.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.01269, allocations: 212.2 kB / 338.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.0127, allocations: 0 / 338.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.0127, allocations: 3.938 kB / 338.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.0127, allocations: 0 / 338.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01286, allocations: 153.7 kB / 338.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.01286, allocations: 3.984 kB / 338.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.01312, allocations: 115.9 kB / 338.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01312, allocations: 4 kB / 338.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.01313, allocations: 11.92 kB / 338.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006738/0.01381, allocations: 2.353 MB / 340.9 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01381, allocations: 0 / 340.9 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.01396, allocations: 238.4 kB / 341.2 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.01397, allocations: 15.84 kB / 341.2 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.01399, allocations: 11.98 kB / 341.2 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.01405, allocations: 8 kB / 341.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.01409, allocations: 15.97 kB / 341.2 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.01411, allocations: 7.984 kB / 341.2 MB, free: 7.328 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.234e-05/0.01413, allocations: 30.94 kB / 341.3 MB, free: 7.297 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01413, allocations: 0 / 341.3 MB, free: 7.297 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.01445, allocations: 175.3 kB / 341.4 MB, free: 7.125 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 (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.0003316/0.01478, allocations: 235.5 kB / 341.7 MB, free: 6.887 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.01504, allocations: 169.2 kB / 341.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.01505, allocations: 0 / 341.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.01519, allocations: 116.7 kB / 341.9 MB, free: 6.602 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.01535, allocations: 14.02 kB / 341.9 MB, free: 6.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007891/0.01614, allocations: 0.5447 MB / 342.5 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.528e-05/0.0162, allocations: 116.2 kB / 342.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.01632, allocations: 49.8 kB / 342.7 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/0.0164, allocations: 79.36 kB / 342.7 MB, free: 5.746 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0164, allocations: 0 / 342.7 MB, free: 5.746 MB / 314.7 MB Notification: Performance of Templates: time 0.006985/0.02339, allocations: 5.181 MB / 347.9 MB, free: 0.6367 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW/dp_turbulent_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.2161931288428605]