Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001557/0.001557, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001664/0.001664, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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.473/1.473, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 46.97 MB / 361.6 MB, free: 3.988 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.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.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 0.4974 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3356, allocations: 66.03 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003596/0.3392, allocations: 2.043 MB / 0.5638 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3412, allocations: 1.256 MB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.3413, allocations: 0 / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.3416, allocations: 75.47 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.3418, allocations: 79.41 kB / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.3423, allocations: 214.7 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.3425, allocations: 151 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.3425, allocations: 8.594 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.3427, allocations: 71.53 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.945e-05/0.3428, allocations: 59.59 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3428, allocations: 4 kB / 0.5657 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.3432, allocations: 227.8 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.3433, allocations: 27.8 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.3434, allocations: 51.67 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.3439, allocations: 382.2 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3439, allocations: 4 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3439, allocations: 4 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3439, allocations: 3.938 kB / 0.5664 GB, free: 15.47 MB / 414.1 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.0006435/0.3445, allocations: 425.1 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3446, allocations: 15.97 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.3446, allocations: 24.8 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.3448, allocations: 154.1 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.3448, allocations: 16.36 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.3449, allocations: 20.12 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.3453, allocations: 206.7 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3453, allocations: 8 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.3453, allocations: 4 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3453, allocations: 4 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.3456, allocations: 152.2 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008003/0.3464, allocations: 482.5 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3466, allocations: 62.48 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3467, allocations: 32.95 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3467, allocations: 3.984 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3468, allocations: 34.5 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3468, allocations: 0 / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004905/0.3473, allocations: 129.7 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3473, allocations: 55.41 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.3475, allocations: 194.8 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3475, allocations: 29.7 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.3477, allocations: 175.9 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.3477, allocations: 31.77 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.3478, allocations: 37.7 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3479, allocations: 326.8 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3481, allocations: 39.97 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.3483, allocations: 132.8 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.3486, allocations: 180.6 kB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3486, allocations: 4 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004067/0.349, allocations: 197.6 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.349, allocations: 8 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/0.3491, allocations: 16 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3491, allocations: 4 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3492, allocations: 35.91 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3492, allocations: 4 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.3494, allocations: 27.83 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.3494, allocations: 8 kB / 0.5695 GB, free: 11.99 MB / 414.1 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 0.0001268/0.3495, allocations: 133.7 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.3495, allocations: 7.953 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.3499, allocations: 146.5 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3499, allocations: 0 / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.35, allocations: 0 / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.35, allocations: 0 / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.3502, allocations: 165.2 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.3502, allocations: 12 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.3503, allocations: 11.92 kB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3503, allocations: 4 kB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/0.3503, allocations: 0 / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3503, allocations: 0 / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3503, allocations: 4 kB / 0.57 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.3506, allocations: 199.4 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.3506, allocations: 11.91 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.3507, allocations: 3.984 kB / 0.5702 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.3508, allocations: 12 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.3508, allocations: 11.92 kB / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3508, allocations: 4 kB / 0.5702 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.3509, allocations: 128.2 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3509, allocations: 0 / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003866/0.3513, allocations: 83.69 kB / 0.5704 GB, free: 11 MB / 414.1 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.0003049/0.3516, allocations: 167 kB / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005378/0.3521, allocations: 163.8 kB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3521, allocations: 3.938 kB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.3524, allocations: 99.69 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.3527, allocations: 29.2 kB / 0.5708 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/0.3534, allocations: 360.8 kB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.3535, allocations: 124.6 kB / 0.5713 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.3536, allocations: 12.91 kB / 0.5713 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.3536, allocations: 11.44 kB / 0.5713 GB, free: 9.977 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3536, allocations: 0 / 0.5713 GB, free: 9.977 MB / 414.1 MB Notification: Performance of Templates: time 0.007996/0.3616, allocations: 3.752 MB / 0.575 GB, free: 6.281 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.119482063004398]