Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.001078/0.001078, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001778/0.002856, 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.001295/0.001295, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001724/0.003019, 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 0.9324/0.9324, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08821/1.021, allocations: 53.86 MB / 243.9 MB, free: 14.86 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.2564/0.2564, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02362/0.28, allocations: 13.23 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.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.978e-05, allocations: 5.641 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002275/0.002295, allocations: 2.215 MB / 296.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.003597, allocations: 1.394 MB / 297.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.003666, allocations: 0 / 297.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.003835, allocations: 79.47 kB / 297.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.003947, allocations: 75.3 kB / 297.9 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.004287, allocations: 207 kB / 298.1 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.004428, allocations: 162.8 kB / 298.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.004471, allocations: 14.55 kB / 298.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.004647, allocations: 107.5 kB / 298.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.00472, allocations: 43.78 kB / 298.4 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.004734, allocations: 4 kB / 298.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.005008, allocations: 219.7 kB / 298.6 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.005049, allocations: 19.88 kB / 298.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.005084, allocations: 31.88 kB / 298.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.005398, allocations: 342.6 kB / 299 MB, free: 168 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.005408, allocations: 0 / 299 MB, free: 168 kB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005409, allocations: 0 / 299 MB, free: 168 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.005419, allocations: 0 / 299 MB, free: 168 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004537/0.005873, allocations: 446.9 kB / 299.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.005902, allocations: 12.92 kB / 299.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.005941, allocations: 24.92 kB / 299.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.006069, allocations: 149.4 kB / 299.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.006083, allocations: 16.38 kB / 299.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.006102, allocations: 16.38 kB / 299.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.006287, allocations: 146.7 kB / 299.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.006296, allocations: 0 / 299.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.006308, allocations: 12 kB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.006315, allocations: 4 kB / 299.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.004e-05/0.006365, allocations: 60.23 kB / 299.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.00677, allocations: 371.9 kB / 300.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.19e-05/0.006842, allocations: 38.5 kB / 300.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.006859, allocations: 8.859 kB / 300.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.006878, allocations: 3.938 kB / 300.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.006898, allocations: 34.62 kB / 300.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.006899, allocations: 0 / 300.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001177/0.007017, allocations: 53.67 kB / 300.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.007041, allocations: 55.39 kB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.007134, allocations: 194.8 kB / 300.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.007143, allocations: 25.7 kB / 300.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.007206, allocations: 172.4 kB / 300.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.007218, allocations: 15.84 kB / 300.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.007257, allocations: 45.64 kB / 300.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.007326, allocations: 326.8 kB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.007345, allocations: 11.98 kB / 301.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.007404, allocations: 108.8 kB / 301.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.007511, allocations: 147.5 kB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.007513, allocations: 0 / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001174/0.00763, allocations: 133.4 kB / 301.6 MB, free: 13.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.007643, allocations: 8 kB / 301.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.007662, allocations: 7.984 kB / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.007673, allocations: 4 kB / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.007744, allocations: 31.92 kB / 301.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.00775, allocations: 7.938 kB / 301.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.0078, allocations: 23.89 kB / 301.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.007811, allocations: 4.375 kB / 301.7 MB, free: 13.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6.126e-05/0.007872, allocations: 120.7 kB / 301.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.007892, allocations: 15.92 kB / 301.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.008019, allocations: 82.64 kB / 301.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.008021, allocations: 0 / 301.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.008023, allocations: 0 / 301.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008027, allocations: 8.188 kB / 301.9 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.008132, allocations: 109.8 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.00814, allocations: 3.984 kB / 302 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.00816, allocations: 4 kB / 302 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.00817, allocations: 15.84 kB / 302 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008172, allocations: 0 / 302 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.008178, allocations: 7.938 kB / 302 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008179, allocations: 4 kB / 302 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00818, allocations: 0 / 302 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.06e-05/0.00826, allocations: 143.5 kB / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.008273, allocations: 3.938 kB / 302.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.008308, allocations: 8 kB / 302.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.008337, allocations: 7.984 kB / 302.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.008341, allocations: 0 / 302.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.472e-05/0.008376, allocations: 48.56 kB / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008376, allocations: 0 / 302.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.008578, allocations: 83.7 kB / 302.3 MB, free: 12.54 MB / 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002205/0.008799, allocations: 171 kB / 302.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.008972, allocations: 134.4 kB / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.008978, allocations: 4 kB / 302.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.548e-05/0.009054, allocations: 99.77 kB / 302.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.009231, allocations: 113.8 kB / 302.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.01074, allocations: 362.2 kB / 303.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.01077, allocations: 71.83 kB / 303.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.987e-05/0.0108, allocations: 9.344 kB / 303.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.01085, allocations: 59.38 kB / 303.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01085, allocations: 0 / 303.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of Templates: time 0.004773/0.01562, allocations: 3.479 MB / 306.8 MB, free: 8.008 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.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.9490995621308684]