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.000813/0.000813, allocations: 87.33 kB / 20.42 MB, free: 4.133 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.0009881/0.0009881, allocations: 173 kB / 23.8 MB, free: 0.7617 MB / 18.57 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.9218/0.9218, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.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.1297/0.1297, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.953e-06/1.953e-06, allocations: 3.938 kB / 347.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.36e-05, allocations: 9.344 kB / 347.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002706/0.00274, allocations: 2.221 MB / 349.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.004009, allocations: 1.064 MB / 351 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.004112, allocations: 4 kB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.00441, allocations: 87.34 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.004699, allocations: 99.14 kB / 351.2 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.004993, allocations: 107.6 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.005169, allocations: 194.7 kB / 351.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.005211, allocations: 12.59 kB / 351.5 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.005361, allocations: 87.67 kB / 351.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.005468, allocations: 71.73 kB / 351.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.005491, allocations: 8 kB / 351.7 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.005738, allocations: 135.7 kB / 351.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.005797, allocations: 27.8 kB / 351.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.005858, allocations: 51.78 kB / 351.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.006192, allocations: 282.7 kB / 352.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.006195, allocations: 0 / 352.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006197, allocations: 0 / 352.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.006202, allocations: 0 / 352.1 MB, free: 4.945 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.0004596/0.006662, allocations: 0.5155 MB / 352.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.006702, allocations: 16.03 kB / 352.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.675e-05/0.006769, allocations: 48.75 kB / 352.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.006916, allocations: 168 kB / 352.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.006935, allocations: 16.88 kB / 352.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.006964, allocations: 20.38 kB / 352.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.007208, allocations: 161.4 kB / 353.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.007221, allocations: 3.938 kB / 353.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.007238, allocations: 12 kB / 353.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.007248, allocations: 4 kB / 353.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.0074, allocations: 110.9 kB / 353.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006537/0.008054, allocations: 0.5466 MB / 353.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.008206, allocations: 75.22 kB / 353.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.008255, allocations: 19.62 kB / 353.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.008281, allocations: 4 kB / 353.9 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.008298, allocations: 37.39 kB / 353.9 MB, free: 3.062 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.0083, allocations: 3.938 kB / 353.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002585/0.008558, allocations: 101.5 kB / 354 MB, free: 2.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.00858, allocations: 55.41 kB / 354 MB, free: 2.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.008713, allocations: 262.6 kB / 354.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.008724, allocations: 29.7 kB / 354.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.008793, allocations: 238.6 kB / 354.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.008813, allocations: 35.69 kB / 354.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.008874, allocations: 55.36 kB / 354.7 MB, free: 2.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.008926, allocations: 0.4962 MB / 355.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.008981, allocations: 23.98 kB / 355.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.676e-05/0.009078, allocations: 163.3 kB / 355.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.00924, allocations: 219 kB / 355.5 MB, free: 1.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.009244, allocations: 3.984 kB / 355.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002618/0.009506, allocations: 193.2 kB / 355.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.009521, allocations: 8 kB / 355.7 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.009528, allocations: 4 kB / 355.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.009549, allocations: 4 kB / 355.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.00984, allocations: 79.91 kB / 355.8 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005911/0.01043, allocations: 1.834 MB / 357.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.01056, allocations: 27.83 kB / 357.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.01058, allocations: 16 kB / 357.7 MB, free: 14.98 MB / 298.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.0001148/0.0107, allocations: 168.5 kB / 357.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.01073, allocations: 15.91 kB / 357.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.01099, allocations: 139.4 kB / 358 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.011, allocations: 0 / 358 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.011, allocations: 0 / 358 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.011, allocations: 0 / 358 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.0114, allocations: 408.7 kB / 358.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.0114, allocations: 3.938 kB / 358.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.01158, allocations: 63.91 kB / 358.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01159, allocations: 8.062 kB / 358.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.0116, allocations: 0 / 358.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006125/0.01221, allocations: 1.826 MB / 360.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01221, allocations: 0 / 360.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.01242, allocations: 255.2 kB / 360.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.01245, allocations: 19.83 kB / 360.6 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.01247, allocations: 7.938 kB / 360.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.01256, allocations: 4 kB / 360.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.01261, allocations: 16.11 kB / 360.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.01262, allocations: 4 kB / 360.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.615e-05/0.01272, allocations: 173.4 kB / 360.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01272, allocations: 0 / 360.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003851/0.0131, allocations: 71.83 kB / 360.9 MB, free: 11.67 MB / 298.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.0002867/0.01339, allocations: 147 kB / 361 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003512/0.01374, allocations: 135.5 kB / 361.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.01375, allocations: 0.875 kB / 361.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.0139, allocations: 75.91 kB / 361.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.0142, allocations: 21.16 kB / 361.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.01523, allocations: 407.7 kB / 361.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.01528, allocations: 75.83 kB / 361.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.01533, allocations: 13.48 kB / 361.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.01537, allocations: 16.5 kB / 361.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01537, allocations: 0 / 361.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of Templates: time 0.006131/0.0215, allocations: 3.173 MB / 364.9 MB, free: 7.617 MB / 298.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3374401992186904]