Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00118/0.00118, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001903/0.003083, allocations: 452 kB / 10.43 MB, free: 264 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.001072/0.001072, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002531, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8685/0.8685, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1389/1.007, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1233/0.1233, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02208/0.1454, allocations: 12.31 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 3.938 kB / 267.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.198e-05, allocations: 6.25 kB / 267.4 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002191/0.002203, allocations: 2.258 MB / 269.7 MB, free: 252 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003216, allocations: 1.087 MB / 270.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.003275, allocations: 0 / 270.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.00343, allocations: 91.34 kB / 270.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.003606, allocations: 91.27 kB / 270.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.003773, allocations: 115.4 kB / 271.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.003922, allocations: 190.8 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.003972, allocations: 18.55 kB / 271.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.004122, allocations: 115.4 kB / 271.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.004218, allocations: 63.75 kB / 271.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.004235, allocations: 8 kB / 271.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.004456, allocations: 147.8 kB / 271.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.004504, allocations: 15.88 kB / 271.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.004549, allocations: 39.88 kB / 271.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.004821, allocations: 254.8 kB / 271.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.004833, allocations: 0 / 271.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004834, allocations: 0 / 271.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.004844, allocations: 0 / 271.9 MB, free: 14.02 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004386/0.005283, allocations: 439.9 kB / 272.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.005313, allocations: 16.03 kB / 272.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.005363, allocations: 32.91 kB / 272.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.005516, allocations: 149.4 kB / 272.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.005532, allocations: 20.86 kB / 272.5 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.005553, allocations: 16.38 kB / 272.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.005765, allocations: 172.1 kB / 272.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.005776, allocations: 3.938 kB / 272.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.005792, allocations: 12 kB / 272.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.005801, allocations: 4 kB / 272.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.005892, allocations: 83.41 kB / 272.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.006385, allocations: 409.6 kB / 273.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.976e-05/0.006485, allocations: 49.38 kB / 273.3 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.006514, allocations: 24.78 kB / 273.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.006533, allocations: 0 / 273.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.006554, allocations: 38.5 kB / 273.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.006555, allocations: 0 / 273.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001464/0.006702, allocations: 73.61 kB / 273.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.006728, allocations: 51.41 kB / 273.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.006835, allocations: 199.4 kB / 273.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.006847, allocations: 29.7 kB / 273.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.006922, allocations: 179.8 kB / 273.9 MB, free: 11.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.006944, allocations: 35.72 kB / 273.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.007001, allocations: 49.64 kB / 273.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.007093, allocations: 326.8 kB / 274.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.007122, allocations: 15.98 kB / 274.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.16e-05/0.007214, allocations: 112.8 kB / 274.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.007371, allocations: 179.4 kB / 274.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.007374, allocations: 0 / 274.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001467/0.00752, allocations: 145.2 kB / 274.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.007535, allocations: 11.94 kB / 274.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.007542, allocations: 4 kB / 274.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.007557, allocations: 4 kB / 274.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.0078, allocations: 68.34 kB / 274.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005183/0.008319, allocations: 1.199 MB / 276 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/0.008403, allocations: 31.83 kB / 276 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.008415, allocations: 8 kB / 276 MB, free: 9.582 MB / 282.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 8.086e-05/0.008496, allocations: 132.5 kB / 276.2 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.008517, allocations: 11.98 kB / 276.2 MB, free: 9.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.008661, allocations: 107.5 kB / 276.3 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.008663, allocations: 0 / 276.3 MB, free: 9.324 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.008665, allocations: 3.938 kB / 276.3 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008668, allocations: 4 kB / 276.3 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.008903, allocations: 272.4 kB / 276.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.008905, allocations: 0 / 276.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.009034, allocations: 39.91 kB / 276.6 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.009048, allocations: 19.91 kB / 276.6 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.009053, allocations: 7.938 kB / 276.6 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.00906, allocations: 4 kB / 276.6 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000396/0.009456, allocations: 1.201 MB / 277.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009458, allocations: 0 / 277.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.009567, allocations: 180 kB / 278 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.009584, allocations: 7.984 kB / 278 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.009639, allocations: 4.125 kB / 278 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.009672, allocations: 15.92 kB / 278 MB, free: 7.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.009678, allocations: 4 kB / 278 MB, free: 7.465 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.657e-05/0.009715, allocations: 55.05 kB / 278.1 MB, free: 7.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009715, allocations: 0 / 278.1 MB, free: 7.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.00992, allocations: 75.81 kB / 278.1 MB, free: 7.336 MB / 282.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.000184/0.0101, allocations: 136.2 kB / 278.3 MB, free: 7.195 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.0104, allocations: 123.4 kB / 278.4 MB, free: 7.066 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/0.01041, allocations: 4 kB / 278.4 MB, free: 7.062 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.01056, allocations: 62.48 kB / 278.5 MB, free: 6.992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.01078, allocations: 121.1 kB / 278.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.01253, allocations: 411.8 kB / 279 MB, free: 6.418 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.611e-05/0.01258, allocations: 79.98 kB / 279.1 MB, free: 6.316 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.42e-05/0.01262, allocations: 9.484 kB / 279.1 MB, free: 6.309 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.01269, allocations: 75.34 kB / 279.1 MB, free: 6.234 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01269, allocations: 4 kB / 279.2 MB, free: 6.23 MB / 282.7 MB Notification: Performance of Templates: time 0.004951/0.01764, allocations: 3.343 MB / 282.5 MB, free: 2.883 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6986501049250364]