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.00229/0.00229, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002008/0.002008, allocations: 161.3 kB / 24.27 MB, free: 160 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.603/1.603, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.3348/0.3348, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.1.|m_flow.2.|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.1.|m_flow.2.|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 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.711e-05, allocations: 6.312 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004152/0.004179, allocations: 2.195 MB / 377.5 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.006261, allocations: 1.047 MB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.006368, allocations: 7.938 kB / 378.6 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.006737, allocations: 79.42 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.007081, allocations: 99.14 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.007434, allocations: 115.5 kB / 378.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.007697, allocations: 194.6 kB / 379 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.007747, allocations: 8.594 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.008021, allocations: 107.6 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.008171, allocations: 59.75 kB / 379.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.008204, allocations: 8 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.008524, allocations: 139.8 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.008594, allocations: 27.78 kB / 379.4 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.008681, allocations: 51.8 kB / 379.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005033/0.009184, allocations: 294.7 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.009189, allocations: 0 / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.009191, allocations: 0 / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.009198, allocations: 0 / 379.7 MB, free: 0.5312 MB / 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.0008539/0.01005, allocations: 0.527 MB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.0101, allocations: 12.03 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.0102, allocations: 44.75 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.01046, allocations: 170.9 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.01048, allocations: 12.88 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.01052, allocations: 28.36 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.0109, allocations: 168.7 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.01092, allocations: 7.938 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.01094, allocations: 12 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.01095, allocations: 4 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.01129, allocations: 137.9 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.01238, allocations: 0.566 MB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.01265, allocations: 95.12 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.01277, allocations: 39.7 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.0128, allocations: 0 / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.01284, allocations: 41.38 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.01284, allocations: 0 / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004901/0.01333, allocations: 137.5 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.01339, allocations: 59.34 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.01366, allocations: 274.6 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.01368, allocations: 25.7 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.01387, allocations: 238.6 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.01391, allocations: 39.69 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.014, allocations: 51.36 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002898/0.01429, allocations: 0.4962 MB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.01442, allocations: 39.98 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.01468, allocations: 184.6 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.01522, allocations: 239 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01522, allocations: 0 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004528/0.01567, allocations: 229.1 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.01569, allocations: 4 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.0157, allocations: 4 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.01573, allocations: 12.42 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.01617, allocations: 87.91 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.01752, allocations: 1.833 MB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.0177, allocations: 31.78 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.01773, allocations: 8 kB / 385.5 MB, free: 10.33 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.0001986/0.01793, allocations: 176.5 kB / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.01798, allocations: 19.91 kB / 385.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.0184, allocations: 151.4 kB / 385.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01841, allocations: 0 / 385.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01841, allocations: 0 / 385.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.01842, allocations: 0 / 385.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006865/0.0191, allocations: 444.7 kB / 386.3 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.01911, allocations: 7.938 kB / 386.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.01936, allocations: 59.91 kB / 386.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01937, allocations: 0 / 386.4 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.01938, allocations: 7.938 kB / 386.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.02058, allocations: 1.833 MB / 388.2 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.02058, allocations: 4 kB / 388.2 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.02099, allocations: 279.3 kB / 388.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.02103, allocations: 19.89 kB / 388.5 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.02106, allocations: 7.938 kB / 388.5 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.02118, allocations: 4 kB / 388.5 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.02125, allocations: 11.98 kB / 388.5 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.02127, allocations: 4 kB / 388.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001638/0.02143, allocations: 180.1 kB / 388.7 MB, free: 7 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02143, allocations: 0 / 388.7 MB, free: 7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004151/0.02185, allocations: 71.83 kB / 388.8 MB, free: 6.93 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.0003742/0.02222, allocations: 155.1 kB / 388.9 MB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005796/0.0228, allocations: 167.5 kB / 389.1 MB, free: 6.602 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.0228, allocations: 0 / 389.1 MB, free: 6.602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.02311, allocations: 83.59 kB / 389.2 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.02341, allocations: 20.2 kB / 389.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008912/0.0243, allocations: 397.7 kB / 389.6 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.02445, allocations: 129 kB / 389.7 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.116e-05/0.02452, allocations: 21.61 kB / 389.7 MB, free: 5.906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.02457, allocations: 16.5 kB / 389.7 MB, free: 5.891 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02457, allocations: 0 / 389.7 MB, free: 5.891 MB / 362.7 MB Notification: Performance of Templates: time 0.008417/0.03298, allocations: 3.173 MB / 392.9 MB, free: 2.777 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.07433591701556]