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_KC.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.0009978/0.0009978, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009912/0.0009912, allocations: 161 kB / 24.56 MB, free: 16 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 1.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.637 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.2735/0.2735, allocations: 32.81 MB / 294.3 MB, free: 1.277 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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 376.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.29e-05, allocations: 2.312 kB / 376.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.006052/0.006075, allocations: 2.234 MB / 378.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004414/0.01049, allocations: 1.071 MB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.01057, allocations: 3.938 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.01084, allocations: 75.47 kB / 379.4 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.0111, allocations: 99.19 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.01136, allocations: 119.5 kB / 379.7 MB, free: 1 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.01154, allocations: 194.7 kB / 379.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.01158, allocations: 8.594 kB / 379.8 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.01178, allocations: 99.55 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.01188, allocations: 67.73 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.0119, allocations: 8 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.01212, allocations: 131.8 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.01218, allocations: 31.8 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.01223, allocations: 55.78 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003342/0.01558, allocations: 282.7 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.01558, allocations: 0 / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01558, allocations: 0 / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.01558, allocations: 0 / 380.5 MB, free: 140 kB / 346.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.0005013/0.01608, allocations: 0.5282 MB / 381 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.01612, allocations: 8.031 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.01619, allocations: 40.8 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.01636, allocations: 171.1 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.01637, allocations: 16.81 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.0164, allocations: 24.38 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.01666, allocations: 172.4 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.01668, allocations: 4 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.0167, allocations: 8 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.01671, allocations: 8 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.01687, allocations: 103 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/0.01759, allocations: 0.5466 MB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.01774, allocations: 74.98 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.01779, allocations: 27.83 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.01782, allocations: 4 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.01784, allocations: 37.39 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.01784, allocations: 0 / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002566/0.0181, allocations: 101.5 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.01813, allocations: 59.34 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/0.02131, allocations: 266.6 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.02132, allocations: 25.7 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.02142, allocations: 230.6 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.02144, allocations: 31.75 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/0.02151, allocations: 55.31 kB / 383 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.02163, allocations: 0.5078 MB / 383.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.02169, allocations: 23.98 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.02181, allocations: 166.5 kB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.022, allocations: 207 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.02201, allocations: 0 / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002731/0.02228, allocations: 197.5 kB / 384.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.02229, allocations: 8 kB / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.0223, allocations: 0 / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.02232, allocations: 8 kB / 384.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.02261, allocations: 83.91 kB / 384.2 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000647/0.02326, allocations: 1.829 MB / 386 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.02337, allocations: 24.11 kB / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.02338, allocations: 12 kB / 386.1 MB, free: 10.18 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 (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 0.0001656/0.02355, allocations: 172.5 kB / 386.2 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.02359, allocations: 27.78 kB / 386.3 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.0238, allocations: 119.4 kB / 386.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.0238, allocations: 7.984 kB / 386.4 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.02381, allocations: 4 kB / 386.4 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.02381, allocations: 3.984 kB / 386.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.02717, allocations: 408.6 kB / 386.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02718, allocations: 4 kB / 386.8 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.02735, allocations: 55.92 kB / 386.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.02735, allocations: 0 / 386.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.02737, allocations: 8 kB / 386.9 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005421/0.02791, allocations: 1.829 MB / 388.7 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.02791, allocations: 0 / 388.7 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.02809, allocations: 255.1 kB / 388.9 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.02811, allocations: 23.84 kB / 389 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.02813, allocations: 4 kB / 389 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.02822, allocations: 4 kB / 389 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.02826, allocations: 11.98 kB / 389 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.02827, allocations: 7.984 kB / 389 MB, free: 7.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.253e-05/0.02836, allocations: 172.1 kB / 389.2 MB, free: 6.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02836, allocations: 64 / 389.2 MB, free: 6.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000336/0.02869, allocations: 79.77 kB / 389.2 MB, free: 6.863 MB / 362.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.0002169/0.02891, allocations: 147.2 kB / 389.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.02923, allocations: 136.1 kB / 389.5 MB, free: 6.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02923, allocations: 0 / 389.5 MB, free: 6.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.02938, allocations: 75.59 kB / 389.6 MB, free: 6.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.02966, allocations: 24.92 kB / 389.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.03353, allocations: 390.4 kB / 390 MB, free: 6.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.953e-05/0.03358, allocations: 79.77 kB / 390.1 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.107e-05/0.03363, allocations: 17.42 kB / 390.1 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.03367, allocations: 16.5 kB / 390.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.03367, allocations: 0 / 390.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of Templates: time 0.01185/0.04552, allocations: 3.178 MB / 393.3 MB, free: 2.805 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/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: 3.456011654343456]