Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008314/0.008314, allocations: 103.6 kB / 21.97 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 220.3 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.5 MB / 258.9 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2307/0.2307, allocations: 46.93 MB / 362.3 MB, free: 4.305 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003781/0.003781, allocations: 75.88 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3225, allocations: 66.08 MB / 0.5628 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003756/0.3262, allocations: 2.164 MB / 0.5649 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.3285, allocations: 1.421 MB / 0.5663 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.3286, allocations: 3.938 kB / 0.5663 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.329, allocations: 87.42 kB / 0.5664 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.3292, allocations: 59.44 kB / 0.5664 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.3298, allocations: 217.8 kB / 0.5666 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.3301, allocations: 154.9 kB / 0.5668 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.3301, allocations: 8.594 kB / 0.5668 GB, free: 152 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.3303, allocations: 67.59 kB / 0.5668 GB, free: 84 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3304, allocations: 67.53 kB / 0.5669 GB, free: 16 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3304, allocations: 4 kB / 0.5669 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000695/0.3311, allocations: 439.4 kB / 0.5673 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.3312, allocations: 23.8 kB / 0.5673 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.518e-05/0.3313, allocations: 71.48 kB / 0.5674 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006468/0.3319, allocations: 438.3 kB / 0.5678 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3319, allocations: 0 / 0.5678 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3319, allocations: 0 / 0.5678 GB, free: 15.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3319, allocations: 0 / 0.5678 GB, free: 15.06 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.000714/0.3327, allocations: 441 kB / 0.5683 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3327, allocations: 8.031 kB / 0.5683 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.3328, allocations: 24.8 kB / 0.5683 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.333, allocations: 158.1 kB / 0.5684 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3331, allocations: 12.38 kB / 0.5684 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.3331, allocations: 16.12 kB / 0.5685 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.3336, allocations: 210.7 kB / 0.5687 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3336, allocations: 0 / 0.5687 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.3336, allocations: 4 kB / 0.5687 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.3336, allocations: 8 kB / 0.5687 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.3339, allocations: 156.2 kB / 0.5688 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009322/0.3349, allocations: 0.5484 MB / 0.5694 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.3351, allocations: 62.55 kB / 0.5694 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3352, allocations: 32.89 kB / 0.5694 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.3352, allocations: 7.984 kB / 0.5695 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3352, allocations: 30.56 kB / 0.5695 GB, free: 13.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3352, allocations: 3.938 kB / 0.5695 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004635/0.3357, allocations: 137.5 kB / 0.5696 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.3357, allocations: 51.41 kB / 0.5697 GB, free: 13.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.336, allocations: 257.9 kB / 0.5699 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.336, allocations: 25.7 kB / 0.5699 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3362, allocations: 175.9 kB / 0.5701 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.3362, allocations: 15.91 kB / 0.5701 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.3363, allocations: 41.66 kB / 0.5702 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3364, allocations: 334.8 kB / 0.5705 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3366, allocations: 39.91 kB / 0.5705 GB, free: 12.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.3368, allocations: 132.9 kB / 0.5706 GB, free: 11.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.3371, allocations: 180.6 kB / 0.5708 GB, free: 11.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3371, allocations: 0 / 0.5708 GB, free: 11.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004339/0.3375, allocations: 201.2 kB / 0.571 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3376, allocations: 8 kB / 0.571 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.604e-05/0.3376, allocations: 16.38 kB / 0.571 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.3376, allocations: 12 kB / 0.571 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3378, allocations: 31.91 kB / 0.5711 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.3378, allocations: 4 kB / 0.5711 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.3379, allocations: 31.78 kB / 0.5711 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.3379, allocations: 19.92 kB / 0.5711 GB, free: 11.4 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.0001332/0.3381, allocations: 129.7 kB / 0.5713 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.3381, allocations: 19.86 kB / 0.5713 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.3385, allocations: 138.9 kB / 0.5714 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3385, allocations: 4 kB / 0.5714 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3385, allocations: 0 / 0.5714 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3385, allocations: 0 / 0.5714 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.3388, allocations: 192.8 kB / 0.5716 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/0.3388, allocations: 16 kB / 0.5716 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.3389, allocations: 11.98 kB / 0.5716 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3389, allocations: 0 / 0.5716 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3389, allocations: 4 kB / 0.5716 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3389, allocations: 0 / 0.5716 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3389, allocations: 0 / 0.5716 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.3392, allocations: 211.2 kB / 0.5718 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.3392, allocations: 19.84 kB / 0.5718 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.3393, allocations: 4 kB / 0.5718 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.3394, allocations: 7.984 kB / 0.5719 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.3394, allocations: 0 / 0.5719 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3394, allocations: 8 kB / 0.5719 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.3396, allocations: 177.2 kB / 0.572 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3396, allocations: 0 / 0.572 GB, free: 10.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004088/0.34, allocations: 75.81 kB / 0.5721 GB, free: 10.32 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.0003513/0.3404, allocations: 178.9 kB / 0.5723 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.3408, allocations: 160.1 kB / 0.5724 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3408, allocations: 0 / 0.5724 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.341, allocations: 107.2 kB / 0.5725 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3414, allocations: 24.97 kB / 0.5726 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007581/0.3422, allocations: 398.5 kB / 0.5729 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.3425, allocations: 0.7242 MB / 0.5736 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.3426, allocations: 23.75 kB / 0.5737 GB, free: 8.625 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3426, allocations: 0 / 0.5737 GB, free: 8.625 MB / 414.1 MB Notification: Performance of Templates: time 0.007433/0.35, allocations: 4.467 MB / 0.578 GB, free: 4.176 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 7.8891437118873]