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.001479/0.001479, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0011/0.0011, allocations: 169.5 kB / 24.91 MB, free: 8.766 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.9893/0.9893, allocations: 177 MB / 205.2 MB, free: 5.449 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.2587/0.2587, allocations: 34.87 MB / 296.6 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.132e-06/1.132e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.674e-05, allocations: 8 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002224/0.002241, allocations: 1.933 MB / 327.9 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.005305, allocations: 2.87 MB / 330.8 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.005373, allocations: 4 kB / 330.8 MB, free: 2.273 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.005553, allocations: 51.67 kB / 330.8 MB, free: 2.223 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.00578, allocations: 83.45 kB / 330.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.006998, allocations: 0.7273 MB / 331.7 MB, free: 1.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.007222, allocations: 250.6 kB / 331.9 MB, free: 1.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.007266, allocations: 26.53 kB / 331.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.007435, allocations: 131.6 kB / 332.1 MB, free: 1.008 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.00755, allocations: 107.6 kB / 332.2 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.007566, allocations: 11.94 kB / 332.2 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000926/0.008492, allocations: 0.6275 MB / 332.8 MB, free: 268 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.0086, allocations: 79.56 kB / 332.9 MB, free: 188 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.029e-05/0.008681, allocations: 71.72 kB / 332.9 MB, free: 116 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009169/0.009598, allocations: 0.7863 MB / 333.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.009599, allocations: 0 / 333.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.0096, allocations: 0 / 333.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.009603, allocations: 0 / 333.7 MB, free: 15.32 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0005406/0.01014, allocations: 0.5775 MB / 334.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.01017, allocations: 8.031 kB / 334.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.01022, allocations: 40.91 kB / 334.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.01037, allocations: 161.3 kB / 334.5 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.01039, allocations: 28.77 kB / 334.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.01041, allocations: 24 kB / 334.6 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.01068, allocations: 275.6 kB / 334.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.01069, allocations: 3.984 kB / 334.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.01071, allocations: 15.98 kB / 334.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/0.01076, allocations: 44.97 kB / 334.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.01092, allocations: 174.8 kB / 335.1 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.01173, allocations: 0.7786 MB / 335.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.01192, allocations: 141.2 kB / 336 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.01196, allocations: 32.84 kB / 336 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.01198, allocations: 11.98 kB / 336 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.012, allocations: 34.56 kB / 336.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.012, allocations: 0 / 336.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0001791/0.01218, allocations: 140.3 kB / 336.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.0122, allocations: 55.41 kB / 336.3 MB, free: 12.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.045e-05/0.01227, allocations: 157.2 kB / 336.4 MB, free: 12.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.01228, allocations: 29.7 kB / 336.4 MB, free: 12.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.01235, allocations: 196.1 kB / 336.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.01239, allocations: 91.2 kB / 336.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.01245, allocations: 65.62 kB / 336.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.01251, allocations: 326.8 kB / 337.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.331e-05/0.01255, allocations: 31.97 kB / 337.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.01262, allocations: 108.6 kB / 337.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.01276, allocations: 177.7 kB / 337.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.01276, allocations: 0 / 337.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001567/0.01291, allocations: 173.3 kB / 337.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.01293, allocations: 8 kB / 337.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01293, allocations: 4 kB / 337.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.01294, allocations: 4 kB / 337.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.01324, allocations: 128.2 kB / 337.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006714/0.01391, allocations: 2.354 MB / 340.1 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.181e-05/0.01399, allocations: 35.77 kB / 340.1 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.01401, allocations: 12 kB / 340.1 MB, free: 8.586 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 7.756e-05/0.01409, allocations: 128.9 kB / 340.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.01412, allocations: 19.92 kB / 340.3 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.01437, allocations: 220.5 kB / 340.5 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01437, allocations: 4 kB / 340.5 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01437, allocations: 0 / 340.5 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01438, allocations: 3.984 kB / 340.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.01453, allocations: 153.6 kB / 340.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01454, allocations: 0 / 340.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.01479, allocations: 123.8 kB / 340.8 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01479, allocations: 4 kB / 340.8 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.0148, allocations: 11.94 kB / 340.8 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006391/0.01544, allocations: 2.345 MB / 343.1 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.01544, allocations: 0 / 343.1 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.0156, allocations: 242.4 kB / 343.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.01561, allocations: 20.09 kB / 343.4 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.01562, allocations: 4 kB / 343.4 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.01568, allocations: 8 kB / 343.4 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.01572, allocations: 19.95 kB / 343.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.01573, allocations: 8 kB / 343.4 MB, free: 5.141 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.758e-05/0.01575, allocations: 24.83 kB / 343.4 MB, free: 5.113 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01575, allocations: 0 / 343.4 MB, free: 5.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003896/0.01614, allocations: 254.7 kB / 343.7 MB, free: 4.863 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.0004236/0.01656, allocations: 355.8 kB / 344 MB, free: 4.508 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.0168, allocations: 177.7 kB / 344.2 MB, free: 4.332 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.01681, allocations: 4.062 kB / 344.2 MB, free: 4.328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.01695, allocations: 112.7 kB / 344.3 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.01708, allocations: 23.98 kB / 344.4 MB, free: 4.191 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007408/0.01783, allocations: 0.5328 MB / 344.9 MB, free: 3.629 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.493e-05/0.01789, allocations: 108.3 kB / 345 MB, free: 3.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.018, allocations: 53.78 kB / 345 MB, free: 3.441 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.01808, allocations: 79.38 kB / 345.1 MB, free: 3.363 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01808, allocations: 0 / 345.1 MB, free: 3.363 MB / 314.7 MB Notification: Performance of Templates: time 0.008942/0.02703, allocations: 7.146 MB / 352.3 MB, free: 12.28 MB / 330.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 -s gbode -gbm=radauIIA3 -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.1942733889445662]