Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008041/0.0008041, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001888, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.002625, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9679/0.9679, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08895/1.057, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2883/0.2883, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02193/0.3103, allocations: 13.11 MB / 291.5 MB, free: 7.328 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 292.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.594e-05, allocations: 4.312 kB / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003789/0.003815, allocations: 2.225 MB / 295.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.005966, allocations: 1.375 MB / 296.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.006102, allocations: 3.938 kB / 296.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.00642, allocations: 87.39 kB / 296.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.006631, allocations: 71.38 kB / 296.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.007337, allocations: 218.9 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.007577, allocations: 154.9 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.149e-05/0.007649, allocations: 22.5 kB / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.007942, allocations: 99.5 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.008054, allocations: 43.8 kB / 297.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.008074, allocations: 4 kB / 297.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.008595, allocations: 219.7 kB / 297.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.00866, allocations: 19.86 kB / 297.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.008726, allocations: 35.88 kB / 297.4 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005783/0.009304, allocations: 338.7 kB / 297.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-05/0.00932, allocations: 0 / 297.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.009323, allocations: 0 / 297.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.009336, allocations: 4 kB / 297.7 MB, free: 1.27 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.0006992/0.01004, allocations: 444.4 kB / 298.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.01007, allocations: 11.97 kB / 298.2 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.01014, allocations: 32.92 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.01032, allocations: 141.5 kB / 298.4 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.01034, allocations: 12.38 kB / 298.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.01037, allocations: 16.38 kB / 298.4 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.01064, allocations: 151.5 kB / 298.5 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.01065, allocations: 3.938 kB / 298.5 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.01066, allocations: 4 kB / 298.5 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.01067, allocations: 8 kB / 298.6 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.01076, allocations: 53.81 kB / 298.6 MB, free: 360 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006488/0.0114, allocations: 375.8 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.01151, allocations: 34.56 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.01154, allocations: 8.859 kB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.01156, allocations: 0 / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.01159, allocations: 42.53 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.01159, allocations: 0 / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000174/0.01176, allocations: 53.69 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.0118, allocations: 55.41 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.01194, allocations: 190.8 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.01196, allocations: 29.7 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.01205, allocations: 168.4 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.01207, allocations: 23.83 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.01213, allocations: 33.66 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.01223, allocations: 330.8 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.01227, allocations: 12 kB / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.925e-05/0.01236, allocations: 100.9 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.01253, allocations: 151.4 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.01254, allocations: 8 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002094/0.01274, allocations: 121.5 kB / 300.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.01276, allocations: 7.938 kB / 300.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.01279, allocations: 12 kB / 300.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.01281, allocations: 4.438 kB / 300.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.01294, allocations: 43.86 kB / 300.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01294, allocations: 4 kB / 300.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.01304, allocations: 15.89 kB / 300.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.01306, allocations: 12 kB / 300.4 MB, free: 14.35 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 0.0001004/0.01316, allocations: 128.5 kB / 300.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.01319, allocations: 7.938 kB / 300.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.01341, allocations: 90.64 kB / 300.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01341, allocations: 0 / 300.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01342, allocations: 0 / 300.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01342, allocations: 0 / 300.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.0136, allocations: 105.8 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.01362, allocations: 4 kB / 300.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.01366, allocations: 4 kB / 300.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.01368, allocations: 11.91 kB / 300.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01368, allocations: 0 / 300.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.01369, allocations: 11.92 kB / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01369, allocations: 0 / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01369, allocations: 0 / 300.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.01382, allocations: 139.5 kB / 300.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.01384, allocations: 4 kB / 300.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.01392, allocations: 8.109 kB / 300.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.01396, allocations: 7.938 kB / 300.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.01397, allocations: 3.984 kB / 300.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.911e-05/0.01402, allocations: 53.8 kB / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01402, allocations: 0 / 301 MB, free: 13.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004519/0.01448, allocations: 87.69 kB / 301.1 MB, free: 13.65 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.0003585/0.01483, allocations: 164.2 kB / 301.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.01511, allocations: 143.6 kB / 301.4 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.01512, allocations: 8 kB / 301.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.01525, allocations: 94.53 kB / 301.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.01555, allocations: 105.1 kB / 301.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.01801, allocations: 377.7 kB / 301.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.463e-05/0.01806, allocations: 75.81 kB / 302 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.589e-05/0.01811, allocations: 8.984 kB / 302 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.01817, allocations: 63.36 kB / 302.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01817, allocations: 0 / 302.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of Templates: time 0.007417/0.02559, allocations: 3.47 MB / 305.5 MB, free: 9.105 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.846071019768715]