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.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.001336/0.001336, allocations: 83.75 kB / 21.19 MB, free: 3.375 MB / 18.57 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.001519/0.001519, allocations: 165.4 kB / 24.56 MB, free: 8 kB / 18.57 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.9237/0.9237, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.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.2449/0.2449, allocations: 32.81 MB / 294.3 MB, free: 1.246 MB / 266.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.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.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.353e-06/1.353e-06, allocations: 0 / 376.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.858e-05, allocations: 2.312 kB / 376.1 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00313/0.003149, allocations: 2.175 MB / 378.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.005019, allocations: 1.367 MB / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.005111, allocations: 0 / 379.6 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.005458, allocations: 79.41 kB / 379.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.005642, allocations: 75.31 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.006231, allocations: 223 kB / 380 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.006678, allocations: 154.8 kB / 380.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.006717, allocations: 16.59 kB / 380.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.006883, allocations: 75.73 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.00695, allocations: 47.78 kB / 380.3 MB, free: 432 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.006964, allocations: 4 kB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.007218, allocations: 207.7 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.007269, allocations: 31.8 kB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.007313, allocations: 35.81 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.007678, allocations: 382.5 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.007681, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.007681, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.007685, allocations: 4 kB / 380.9 MB, free: 15.77 MB / 362.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.0004505/0.008136, allocations: 0.519 MB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.00817, allocations: 11.98 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.008229, allocations: 44.8 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.008367, allocations: 152.2 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.008381, allocations: 12.38 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.008399, allocations: 20.38 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.008604, allocations: 151.9 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.008615, allocations: 7.922 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.008627, allocations: 8 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.008636, allocations: 8 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.52e-05/0.008711, allocations: 68.3 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.009233, allocations: 0.5059 MB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.674e-05/0.00933, allocations: 47.05 kB / 382.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.009359, allocations: 15.62 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.009384, allocations: 7.938 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.009403, allocations: 37.45 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.009404, allocations: 0 / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001759/0.00958, allocations: 73.64 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.009606, allocations: 55.41 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.009733, allocations: 254.7 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.009744, allocations: 25.7 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.009834, allocations: 226.6 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.009848, allocations: 15.91 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.009894, allocations: 51.31 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.01, allocations: 0.4923 MB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.01004, allocations: 23.92 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.994e-05/0.01013, allocations: 147.3 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.01026, allocations: 191.1 kB / 384 MB, free: 12.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01026, allocations: 4 kB / 384 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001732/0.01044, allocations: 165.1 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.01045, allocations: 4 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.01047, allocations: 16.44 kB / 384.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01049, allocations: 8 kB / 384.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.01056, allocations: 27.98 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01057, allocations: 7.938 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.01063, allocations: 27.81 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.01064, allocations: 8.188 kB / 384.3 MB, free: 12.03 MB / 362.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_2.geometry,m_flow_IN_con_1.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.732e-05/0.01072, allocations: 164.5 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.01074, allocations: 19.84 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.01089, allocations: 102.8 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01089, allocations: 0 / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.0109, allocations: 0 / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.0109, allocations: 3.938 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.01105, allocations: 192.5 kB / 384.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.01106, allocations: 8 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.01107, allocations: 4 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01108, allocations: 3.938 kB / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.01109, allocations: 3.984 kB / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01109, allocations: 4 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01109, allocations: 4 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.01121, allocations: 215.8 kB / 385 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.01122, allocations: 11.89 kB / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.01123, allocations: 4 kB / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.677e-05/0.01127, allocations: 0 / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.01131, allocations: 11.98 kB / 385 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.01131, allocations: 4 kB / 385 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.129e-05/0.01137, allocations: 163.2 kB / 385.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01137, allocations: 0 / 385.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.01163, allocations: 95.64 kB / 385.3 MB, free: 10.96 MB / 362.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.0002452/0.01188, allocations: 171.2 kB / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.01213, allocations: 149.6 kB / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01213, allocations: 0.875 kB / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.846e-05/0.01222, allocations: 91.64 kB / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.01242, allocations: 12 kB / 385.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006752/0.0131, allocations: 357.4 kB / 386.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.01314, allocations: 75.81 kB / 386.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.274e-05/0.01317, allocations: 4.984 kB / 386.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.01319, allocations: 16.5 kB / 386.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0132, allocations: 0 / 386.2 MB, free: 10.02 MB / 362.7 MB Notification: Performance of Templates: time 0.006276/0.01947, allocations: 4.154 MB / 390.3 MB, free: 5.918 MB / 362.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1132424231618643]