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.001381/0.001381, allocations: 108.3 kB / 20.48 MB, free: 1.121 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.001569/0.001569, allocations: 209 kB / 23.78 MB, free: 4.324 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.544/1.544, allocations: 230.6 MB / 257.6 MB, free: 7.766 MB / 206.1 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.2374/0.2374, allocations: 44.94 MB / 358.9 MB, free: 5.988 MB / 286.1 MB " [Timeout remaining time 179] 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003047/0.003047, allocations: 67.91 kB / 0.4937 GB, free: 9.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.346, allocations: 65.48 MB / 0.5576 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00352/0.3496, allocations: 2.094 MB / 0.5597 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3513, allocations: 0.9876 MB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.595e-05/0.3514, allocations: 11.94 kB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.3517, allocations: 79.41 kB / 0.5607 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.352, allocations: 87.33 kB / 0.5608 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.3523, allocations: 119.2 kB / 0.5609 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.3525, allocations: 190.8 kB / 0.5611 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.3526, allocations: 8.594 kB / 0.5611 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.3528, allocations: 75.59 kB / 0.5612 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.3529, allocations: 83.42 kB / 0.5612 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3529, allocations: 4 kB / 0.5612 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.3532, allocations: 135.8 kB / 0.5614 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.3533, allocations: 23.8 kB / 0.5614 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.766e-05/0.3534, allocations: 67.53 kB / 0.5615 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.3538, allocations: 302.5 kB / 0.5617 GB, free: 3.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3538, allocations: 3.984 kB / 0.5618 GB, free: 3.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.3538, allocations: 8 kB / 0.5618 GB, free: 3.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3538, allocations: 0 / 0.5618 GB, free: 3.094 MB / 398.1 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.0006447/0.3544, allocations: 433.6 kB / 0.5622 GB, free: 2.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3545, allocations: 12.03 kB / 0.5622 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.3545, allocations: 20.8 kB / 0.5622 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.3548, allocations: 163.7 kB / 0.5624 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3548, allocations: 12.88 kB / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.3548, allocations: 24.12 kB / 0.5624 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.3552, allocations: 232.1 kB / 0.5626 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3553, allocations: 8 kB / 0.5626 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3553, allocations: 12 kB / 0.5626 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3553, allocations: 4 kB / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.3558, allocations: 253.9 kB / 0.5629 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009368/0.3567, allocations: 0.5197 MB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.357, allocations: 98.64 kB / 0.5635 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3571, allocations: 40.84 kB / 0.5635 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.3571, allocations: 3.984 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3571, allocations: 38.56 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3571, allocations: 0 / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005715/0.3577, allocations: 157.8 kB / 0.5637 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3578, allocations: 51.5 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.358, allocations: 207.6 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.358, allocations: 25.7 kB / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3581, allocations: 195.8 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3582, allocations: 31.73 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.3582, allocations: 49.66 kB / 0.5643 GB, free: 396 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3584, allocations: 330.8 kB / 0.5646 GB, free: 56 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.3585, allocations: 51.89 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.3588, allocations: 143.7 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.3592, allocations: 212.6 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3592, allocations: 0 / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005011/0.3597, allocations: 225.6 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3597, allocations: 11.94 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3597, allocations: 4 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3598, allocations: 4 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.3602, allocations: 87.91 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008619/0.361, allocations: 1.223 MB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.3612, allocations: 27.84 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3612, allocations: 8 kB / 0.5665 GB, free: 13.93 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 (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.0001517/0.3614, allocations: 147.2 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.3614, allocations: 15.84 kB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.3619, allocations: 163 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3619, allocations: 4 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3619, allocations: 0 / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3619, allocations: 0 / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006371/0.3626, allocations: 387.7 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3626, allocations: 0 / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.3628, allocations: 59.97 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3628, allocations: 4 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3629, allocations: 0 / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008051/0.3637, allocations: 1.215 MB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3637, allocations: 0 / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.3641, allocations: 241 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.3641, allocations: 20.02 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.3641, allocations: 12 kB / 0.5687 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3643, allocations: 11.92 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.3643, allocations: 12.17 kB / 0.5687 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3643, allocations: 4 kB / 0.5687 GB, free: 11.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.3645, allocations: 140.2 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3645, allocations: 0 / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004078/0.3649, allocations: 79.72 kB / 0.5689 GB, free: 11.31 MB / 414.1 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.0002776/0.3652, allocations: 151 kB / 0.5691 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006009/0.3658, allocations: 168.4 kB / 0.5692 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3658, allocations: 192 / 0.5692 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.3661, allocations: 83.95 kB / 0.5693 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3664, allocations: 23.86 kB / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008315/0.3673, allocations: 387.6 kB / 0.5697 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.3674, allocations: 125 kB / 0.5698 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.039e-05/0.3674, allocations: 13.48 kB / 0.5698 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.3675, allocations: 16.5 kB / 0.5699 GB, free: 10.3 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3675, allocations: 0 / 0.5699 GB, free: 10.3 MB / 414.1 MB Notification: Performance of Templates: time 0.007885/0.3754, allocations: 3.156 MB / 0.5729 GB, free: 7.207 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] 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.663128063082695]