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.0008374/0.0008374, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.002033, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007532/0.0007532, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009684/0.001722, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9455/0.9455, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1164/1.062, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2683/0.2683, allocations: 34.25 MB / 278.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02337/0.2917, allocations: 13.09 MB / 291.3 MB, free: 7.375 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 2.214e-06/2.214e-06, allocations: 0 / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.128e-05, allocations: 3.188 kB / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.009178/0.009199, allocations: 2.204 MB / 294.9 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.01108, allocations: 1.387 MB / 296.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/0.01117, allocations: 0 / 296.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.01141, allocations: 91.33 kB / 296.3 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.01157, allocations: 71.42 kB / 296.4 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.01396, allocations: 215 kB / 296.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.01415, allocations: 158.9 kB / 296.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.0142, allocations: 10.56 kB / 296.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.01443, allocations: 107.4 kB / 296.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.01451, allocations: 43.78 kB / 296.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.01452, allocations: 4 kB / 296.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.01491, allocations: 219.7 kB / 297.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.01495, allocations: 19.88 kB / 297.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.015, allocations: 31.88 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.01542, allocations: 342.7 kB / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.592e-05/0.01543, allocations: 4 kB / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01544, allocations: 0 / 297.5 MB, free: 1.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.01545, allocations: 0 / 297.5 MB, free: 1.383 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.0005056/0.01596, allocations: 440.5 kB / 298 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.01599, allocations: 12.03 kB / 298 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.01604, allocations: 32.91 kB / 298 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.01618, allocations: 141.5 kB / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.01619, allocations: 12.38 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.01621, allocations: 24.31 kB / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.01643, allocations: 139.5 kB / 298.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.01644, allocations: 11.88 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.01646, allocations: 12 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.01647, allocations: 4 kB / 298.3 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.01653, allocations: 53.81 kB / 298.4 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.01705, allocations: 376.2 kB / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/0.01714, allocations: 42.48 kB / 298.8 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.01716, allocations: 4.859 kB / 298.8 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01719, allocations: 4 kB / 298.8 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.01723, allocations: 34.5 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.01723, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000152/0.01738, allocations: 57.8 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.01741, allocations: 51.41 kB / 298.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.01753, allocations: 190.2 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.01754, allocations: 29.64 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.01762, allocations: 172.4 kB / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.01764, allocations: 15.84 kB / 299.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.01769, allocations: 41.64 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.01778, allocations: 326.8 kB / 299.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.0178, allocations: 8 kB / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.01788, allocations: 108.8 kB / 299.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.018, allocations: 143.7 kB / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.018, allocations: 0 / 300 MB, free: 14.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000159/0.01816, allocations: 125.3 kB / 300.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.01818, allocations: 12.38 kB / 300.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.0182, allocations: 11.98 kB / 300.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.01821, allocations: 4 kB / 300.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.01831, allocations: 35.92 kB / 300.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01832, allocations: 4 kB / 300.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.01839, allocations: 15.89 kB / 300.2 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.0184, allocations: 8 kB / 300.2 MB, free: 14.48 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 7.632e-05/0.01848, allocations: 124.5 kB / 300.3 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.01851, allocations: 15.92 kB / 300.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.01866, allocations: 82.72 kB / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01866, allocations: 0 / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01867, allocations: 0 / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01867, allocations: 3.984 kB / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.01881, allocations: 105.8 kB / 300.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.01883, allocations: 7.984 kB / 300.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.01886, allocations: 4 kB / 300.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.01887, allocations: 15.91 kB / 300.5 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.01887, allocations: 0 / 300.5 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.01888, allocations: 7.875 kB / 300.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01888, allocations: 0 / 300.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01888, allocations: 4 kB / 300.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.01899, allocations: 151.5 kB / 300.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.019, allocations: 0 / 300.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.904e-05/0.01906, allocations: 7.938 kB / 300.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.01909, allocations: 3.984 kB / 300.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.0191, allocations: 0 / 300.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.145e-05/0.01914, allocations: 52.56 kB / 300.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01914, allocations: 4 kB / 300.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002969/0.01943, allocations: 79.7 kB / 300.8 MB, free: 13.78 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.0002731/0.01971, allocations: 168.1 kB / 301 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.01992, allocations: 143.2 kB / 301.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.01993, allocations: 0 / 301.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.02001, allocations: 94.52 kB / 301.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.02021, allocations: 20 kB / 301.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.02225, allocations: 378.1 kB / 301.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.0223, allocations: 71.83 kB / 301.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.063e-05/0.02234, allocations: 12.97 kB / 301.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.02239, allocations: 59.38 kB / 301.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02239, allocations: 0 / 301.8 MB, free: 12.75 MB / 298.7 MB Notification: Performance of Templates: time 0.006832/0.02922, allocations: 3.999 MB / 305.8 MB, free: 8.812 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8799707386642694]