Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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.001307/0.001307, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001592/0.001592, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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.9533/0.9533, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.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.2897/0.2897, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.184e-05, allocations: 5.266 kB / 326 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002356/0.002377, allocations: 2.22 MB / 328.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003426, allocations: 1.075 MB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.003481, allocations: 0 / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.003656, allocations: 87.33 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.003839, allocations: 91.2 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.00402, allocations: 119.5 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.004156, allocations: 199.4 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.004194, allocations: 18.55 kB / 329.8 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.004322, allocations: 103.6 kB / 329.9 MB, free: 3.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.004394, allocations: 55.77 kB / 329.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.004407, allocations: 4 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.004571, allocations: 139.8 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.004611, allocations: 31.78 kB / 330.1 MB, free: 2.988 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.00465, allocations: 43.8 kB / 330.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.004898, allocations: 290.7 kB / 330.4 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.004899, allocations: 0 / 330.4 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.0049, allocations: 0 / 330.4 MB, free: 2.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.004903, allocations: 0 / 330.4 MB, free: 2.66 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00029/0.005193, allocations: 405.6 kB / 330.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.352e-05/0.005216, allocations: 8.031 kB / 330.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.005252, allocations: 36.91 kB / 330.8 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.005353, allocations: 153.3 kB / 331 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.005366, allocations: 16.88 kB / 331 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.005384, allocations: 20.38 kB / 331 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.005543, allocations: 176.2 kB / 331.2 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.005549, allocations: 3.938 kB / 331.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.005559, allocations: 4 kB / 331.2 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.005564, allocations: 4 kB / 331.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.005649, allocations: 87.47 kB / 331.3 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.006084, allocations: 409.6 kB / 331.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.836e-05/0.006173, allocations: 53.31 kB / 331.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.006199, allocations: 20.84 kB / 331.8 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.006212, allocations: 4 kB / 331.8 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.006232, allocations: 38.5 kB / 331.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.006232, allocations: 4 kB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001168/0.006349, allocations: 73.61 kB / 331.9 MB, free: 1.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.006374, allocations: 51.41 kB / 331.9 MB, free: 1.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.00647, allocations: 203.4 kB / 332.1 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006481, allocations: 25.7 kB / 332.2 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.006544, allocations: 179.9 kB / 332.3 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.006559, allocations: 23.75 kB / 332.4 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.006606, allocations: 53.62 kB / 332.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.006675, allocations: 326.8 kB / 332.7 MB, free: 172 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.006703, allocations: 15.98 kB / 332.8 MB, free: 156 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.927e-05/0.006782, allocations: 129.4 kB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.006893, allocations: 160.7 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006895, allocations: 0 / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000131/0.007026, allocations: 152.7 kB / 333.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.007036, allocations: 16 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.00704, allocations: 4 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.00705, allocations: 4 kB / 333.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.00723, allocations: 59.91 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003866/0.007616, allocations: 1.199 MB / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.007692, allocations: 31.83 kB / 334.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.0077, allocations: 4 kB / 334.5 MB, free: 14.26 MB / 314.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.709e-05/0.007767, allocations: 140.7 kB / 334.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.007788, allocations: 11.98 kB / 334.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.007912, allocations: 98.14 kB / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.007914, allocations: 0 / 334.7 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.007916, allocations: 3.938 kB / 334.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.007918, allocations: 4 kB / 334.8 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.008124, allocations: 268.4 kB / 335 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.008125, allocations: 0 / 335 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.00823, allocations: 31.98 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.008232, allocations: 0 / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.00824, allocations: 7.938 kB / 335.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003986/0.008639, allocations: 1.194 MB / 336.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.008641, allocations: 8.172 kB / 336.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.008753, allocations: 184.7 kB / 336.4 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.008765, allocations: 11.91 kB / 336.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.008778, allocations: 0 / 336.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.363e-05/0.008832, allocations: 7.984 kB / 336.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.008861, allocations: 19.86 kB / 336.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.008866, allocations: 0 / 336.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.437e-05/0.0089, allocations: 53.78 kB / 336.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0089, allocations: 0 / 336.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.00909, allocations: 75.77 kB / 336.6 MB, free: 12.03 MB / 314.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001469/0.009237, allocations: 136.8 kB / 336.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.009416, allocations: 106.8 kB / 336.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.009422, allocations: 4 kB / 336.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.009511, allocations: 41.83 kB / 336.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.009649, allocations: 24.55 kB / 336.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.01024, allocations: 405.8 kB / 337.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.01028, allocations: 71.83 kB / 337.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.01031, allocations: 17.42 kB / 337.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.01037, allocations: 63.38 kB / 337.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01037, allocations: 0 / 337.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of Templates: time 0.004472/0.01484, allocations: 3.551 MB / 341 MB, free: 7.617 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.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.9039182206615806]