Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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.0008618/0.0008618, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002038, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007887/0.0007887, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.001912, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.001/1.001, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1009/1.101, allocations: 53.88 MB / 243.9 MB, free: 14.85 MB / 250.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.2741/0.2741, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02482/0.2989, allocations: 13.24 MB / 292.8 MB, free: 6.395 MB / 282.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.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.966e-05/4.168e-05, allocations: 7.297 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003375/0.003417, allocations: 1.928 MB / 296 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.004665, allocations: 1.002 MB / 297 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.004755, allocations: 0 / 297 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.004921, allocations: 39.7 kB / 297.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.005122, allocations: 75.53 kB / 297.2 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.005465, allocations: 131.4 kB / 297.3 MB, free: 1.887 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.005737, allocations: 223 kB / 297.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.005786, allocations: 6.469 kB / 297.5 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.006016, allocations: 135.5 kB / 297.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.006152, allocations: 91.7 kB / 297.7 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.006174, allocations: 8 kB / 297.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.006416, allocations: 111.8 kB / 297.9 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.551e-05/0.006492, allocations: 51.84 kB / 297.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.144e-05/0.006553, allocations: 39.88 kB / 297.9 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.006878, allocations: 207.2 kB / 298.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.00689, allocations: 0 / 298.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006891, allocations: 4 kB / 298.1 MB, free: 1.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.006905, allocations: 0 / 298.1 MB, free: 1.027 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006688/0.007574, allocations: 452.8 kB / 298.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.007611, allocations: 8.922 kB / 298.6 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002673/0.007879, allocations: 138 kB / 298.7 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.008061, allocations: 146 kB / 298.9 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.008073, allocations: 12.61 kB / 298.9 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.008095, allocations: 16.36 kB / 298.9 MB, free: 208 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.008335, allocations: 178.6 kB / 299.1 MB, free: 4 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.008345, allocations: 192 / 299.1 MB, free: 4 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.008372, allocations: 8.453 kB / 299.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/0.008405, allocations: 16.16 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.136e-05/0.008496, allocations: 74.17 kB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.009121, allocations: 0.5682 MB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.009245, allocations: 126.5 kB / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.009284, allocations: 26.58 kB / 299.9 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.009315, allocations: 16.09 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.009341, allocations: 42.44 kB / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.009343, allocations: 0 / 300 MB, free: 15.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002233/0.009566, allocations: 87.28 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.009619, allocations: 114.8 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.009747, allocations: 171.4 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.009766, allocations: 29.7 kB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.009835, allocations: 132.1 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.009858, allocations: 39.67 kB / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.00991, allocations: 37.69 kB / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.01, allocations: 326.8 kB / 300.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.01004, allocations: 14.81 kB / 300.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.01009, allocations: 55.53 kB / 300.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.01021, allocations: 105.8 kB / 301 MB, free: 13.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01021, allocations: 0 / 301 MB, free: 13.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001414/0.01035, allocations: 108.8 kB / 301.1 MB, free: 13.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.01036, allocations: 8 kB / 301.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.01038, allocations: 4 kB / 301.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.01039, allocations: 160 / 301.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01051, allocations: 43.89 kB / 301.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.758e-06/0.01051, allocations: 4 kB / 301.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.01058, allocations: 23.88 kB / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.01059, allocations: 4 kB / 301.2 MB, free: 13.65 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 7.571e-05/0.01066, allocations: 120.6 kB / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.01071, allocations: 19.92 kB / 301.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.01086, allocations: 95.09 kB / 301.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01086, allocations: 4 kB / 301.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01086, allocations: 4 kB / 301.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01087, allocations: 3.984 kB / 301.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.01105, allocations: 121.7 kB / 301.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.01106, allocations: 4 kB / 301.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.451e-05/0.01113, allocations: 23.97 kB / 301.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.01115, allocations: 15.91 kB / 301.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01116, allocations: 3.938 kB / 301.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01117, allocations: 11.98 kB / 301.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01117, allocations: 3.938 kB / 301.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01117, allocations: 0 / 301.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.01138, allocations: 377.6 kB / 302 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.0114, allocations: 0 / 302 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.0115, allocations: 19.92 kB / 302 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.01155, allocations: 11.98 kB / 302.1 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01156, allocations: 7.984 kB / 302.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.01161, allocations: 50.72 kB / 302.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01161, allocations: 0 / 302.1 MB, free: 12.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002912/0.0119, allocations: 75.77 kB / 302.2 MB, free: 12.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 0.0002805/0.01218, allocations: 136.2 kB / 302.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.01236, allocations: 145.8 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.01237, allocations: 4.469 kB / 302.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.01247, allocations: 131.6 kB / 302.6 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.01285, allocations: 309 kB / 302.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.01462, allocations: 425.8 kB / 303.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.725e-05/0.01467, allocations: 83.81 kB / 303.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.672e-05/0.01473, allocations: 17.14 kB / 303.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.01486, allocations: 99.33 kB / 303.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01486, allocations: 0 / 303.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of Templates: time 0.005148/0.02001, allocations: 3.524 MB / 307 MB, free: 7.719 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8290861696004868]