Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007649/0.0007649, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.001866, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006768/0.0006768, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000949/0.001626, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8888/0.8888, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1553/1.044, allocations: 52.48 MB / 238.5 MB, free: 7.59 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1381/0.1381, allocations: 32.81 MB / 272 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02203/0.1601, allocations: 12.53 MB / 284.5 MB, free: 9.684 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 285.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.73e-05, allocations: 4.984 kB / 285.9 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002273/0.00229, allocations: 2.202 MB / 288.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.003697, allocations: 1.347 MB / 289.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.003783, allocations: 4 kB / 289.4 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.003999, allocations: 79.41 kB / 289.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.004141, allocations: 75.3 kB / 289.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.004619, allocations: 207 kB / 289.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.004781, allocations: 158.9 kB / 289.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.004825, allocations: 10.56 kB / 289.9 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.004985, allocations: 99.52 kB / 290 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.00506, allocations: 43.78 kB / 290.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.005074, allocations: 4 kB / 290.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.005418, allocations: 223.6 kB / 290.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.005469, allocations: 15.88 kB / 290.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.005518, allocations: 39.88 kB / 290.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.005868, allocations: 334.6 kB / 290.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.005878, allocations: 0 / 290.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005879, allocations: 0 / 290.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.005888, allocations: 0 / 290.7 MB, free: 3.52 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004465/0.006335, allocations: 443.3 kB / 291.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.006366, allocations: 12.03 kB / 291.1 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.006412, allocations: 24.92 kB / 291.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.006581, allocations: 153.4 kB / 291.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.006597, allocations: 12.38 kB / 291.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.006619, allocations: 16.38 kB / 291.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.006827, allocations: 154.6 kB / 291.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006835, allocations: 3.938 kB / 291.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.006847, allocations: 8 kB / 291.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.006855, allocations: 8 kB / 291.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.904e-05/0.006904, allocations: 52.3 kB / 291.5 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.007354, allocations: 375.8 kB / 291.9 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.007427, allocations: 26.56 kB / 291.9 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.007446, allocations: 12.92 kB / 292 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.007467, allocations: 4 kB / 292 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.007484, allocations: 38.5 kB / 292 MB, free: 2.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.007485, allocations: 0 / 292 MB, free: 2.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001245/0.00761, allocations: 53.66 kB / 292 MB, free: 2.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.007634, allocations: 55.41 kB / 292.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.007732, allocations: 190.2 kB / 292.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.007743, allocations: 25.7 kB / 292.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.007808, allocations: 171.9 kB / 292.5 MB, free: 1.574 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.007822, allocations: 19.83 kB / 292.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.007863, allocations: 37.66 kB / 292.5 MB, free: 1.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.007935, allocations: 330.8 kB / 292.9 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.007955, allocations: 8 kB / 292.9 MB, free: 1.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-05/0.008014, allocations: 112.8 kB / 293 MB, free: 1.016 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.008115, allocations: 151.7 kB / 293.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.008117, allocations: 4 kB / 293.1 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001241/0.008241, allocations: 125.7 kB / 293.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.008257, allocations: 11.94 kB / 293.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.008274, allocations: 4 kB / 293.3 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.008285, allocations: 4 kB / 293.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.008363, allocations: 31.92 kB / 293.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.008368, allocations: 4 kB / 293.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.00842, allocations: 19.89 kB / 293.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.008431, allocations: 8 kB / 293.3 MB, free: 0.6055 MB / 282.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.657e-05/0.008497, allocations: 124.6 kB / 293.5 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.008515, allocations: 11.88 kB / 293.5 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.008646, allocations: 98.61 kB / 293.6 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.008648, allocations: 0 / 293.6 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.00865, allocations: 0 / 293.6 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.008652, allocations: 0 / 293.6 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.008763, allocations: 105.8 kB / 293.7 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.008771, allocations: 4 kB / 293.7 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.008796, allocations: 12 kB / 293.7 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.008807, allocations: 11.91 kB / 293.7 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.008808, allocations: 0 / 293.7 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.008815, allocations: 3.938 kB / 293.7 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.008816, allocations: 0 / 293.7 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.00882, allocations: 3.984 kB / 293.7 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.517e-05/0.008905, allocations: 147.5 kB / 293.8 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.008917, allocations: 0 / 293.8 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.008956, allocations: 7.938 kB / 293.9 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.008983, allocations: 7.984 kB / 293.9 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.008987, allocations: 4 kB / 293.9 MB, free: 24 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.697e-05/0.009034, allocations: 54.75 kB / 293.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009034, allocations: 4 kB / 293.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002521/0.009286, allocations: 79.69 kB / 294 MB, free: 15.88 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.0002336/0.00952, allocations: 168.3 kB / 294.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.009721, allocations: 151.5 kB / 294.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.009728, allocations: 0 / 294.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.009804, allocations: 94.53 kB / 294.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.009986, allocations: 109.1 kB / 294.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.01197, allocations: 365.3 kB / 294.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.131e-05/0.01202, allocations: 75.81 kB / 294.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.241e-05/0.01206, allocations: 12.97 kB / 295 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.01212, allocations: 59.38 kB / 295 MB, free: 14.75 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01212, allocations: 0 / 295 MB, free: 14.75 MB / 298.7 MB Notification: Performance of Templates: time 0.00596/0.01808, allocations: 3.437 MB / 298.5 MB, free: 11.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.759527233429253]