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_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.001402/0.001402, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001633/0.001633, allocations: 211.7 kB / 23.73 MB, free: 4.523 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2345/0.2345, allocations: 46.95 MB / 360.9 MB, free: 4.047 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_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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 63.91 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3383, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003541/0.3419, allocations: 2.096 MB / 0.5632 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3435, allocations: 0.9954 MB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.341e-05/0.3436, allocations: 0 / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.3439, allocations: 79.41 kB / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.3442, allocations: 99.33 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.3446, allocations: 119.1 kB / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.3448, allocations: 182.9 kB / 0.5646 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.3448, allocations: 8.594 kB / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.345, allocations: 79.58 kB / 0.5647 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.3452, allocations: 87.5 kB / 0.5648 GB, free: 420 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3452, allocations: 4 kB / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.3455, allocations: 143.8 kB / 0.5649 GB, free: 272 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.3455, allocations: 31.72 kB / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/0.3456, allocations: 67.53 kB / 0.565 GB, free: 172 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.346, allocations: 294.6 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3461, allocations: 0 / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3461, allocations: 0 / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.3461, allocations: 0 / 0.5653 GB, free: 15.88 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006688/0.3467, allocations: 445.4 kB / 0.5657 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.3468, allocations: 8.031 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.901e-05/0.3468, allocations: 28.73 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.347, allocations: 166.1 kB / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.3471, allocations: 16.81 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.3471, allocations: 24.12 kB / 0.5659 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.3475, allocations: 231.2 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3475, allocations: 0 / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3476, allocations: 12 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3476, allocations: 4 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.348, allocations: 257.6 kB / 0.5664 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009759/0.349, allocations: 0.5154 MB / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.3493, allocations: 94.56 kB / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.3494, allocations: 40.92 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3495, allocations: 0 / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.3495, allocations: 34.56 kB / 0.5671 GB, free: 13.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 8.71e-07/0.3495, allocations: 4 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005261/0.35, allocations: 157.5 kB / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.3501, allocations: 59.41 kB / 0.5673 GB, free: 13.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.3503, allocations: 199.7 kB / 0.5675 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3503, allocations: 25.7 kB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.3505, allocations: 191.8 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.3505, allocations: 35.73 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.3506, allocations: 45.66 kB / 0.5678 GB, free: 13.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3507, allocations: 334.8 kB / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3509, allocations: 51.91 kB / 0.5681 GB, free: 12.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.3511, allocations: 144.8 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.3515, allocations: 208.5 kB / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3515, allocations: 0 / 0.5685 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005016/0.3521, allocations: 233.2 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3521, allocations: 4 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3521, allocations: 4 kB / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.3521, allocations: 8.422 kB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.3525, allocations: 92.28 kB / 0.5688 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008688/0.3534, allocations: 1.219 MB / 0.57 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.3535, allocations: 31.83 kB / 0.57 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.3536, allocations: 8 kB / 0.57 GB, free: 10.7 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.0001466/0.3537, allocations: 143 kB / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.3538, allocations: 15.84 kB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.3542, allocations: 167.1 kB / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3542, allocations: 7.938 kB / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3542, allocations: 0 / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3542, allocations: 0 / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006332/0.3549, allocations: 395.7 kB / 0.5707 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3549, allocations: 0 / 0.5707 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.3551, allocations: 55.97 kB / 0.5708 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3551, allocations: 4 kB / 0.5708 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.3551, allocations: 4 kB / 0.5708 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007985/0.3559, allocations: 1.211 MB / 0.572 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3559, allocations: 4.25 kB / 0.572 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.3563, allocations: 237.1 kB / 0.5722 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.3564, allocations: 15.84 kB / 0.5722 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.3564, allocations: 3.984 kB / 0.5722 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3565, allocations: 12 kB / 0.5722 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.3566, allocations: 7.984 kB / 0.5722 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3566, allocations: 4 kB / 0.5722 GB, free: 8.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.3567, allocations: 140.2 kB / 0.5724 GB, free: 8.168 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3567, allocations: 0 / 0.5724 GB, free: 8.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.3571, allocations: 79.72 kB / 0.5724 GB, free: 8.09 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.0002666/0.3574, allocations: 158.7 kB / 0.5726 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005518/0.3579, allocations: 159.7 kB / 0.5727 GB, free: 7.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.3579, allocations: 4 kB / 0.5728 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.3582, allocations: 84.95 kB / 0.5728 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.3586, allocations: 31.06 kB / 0.5729 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007811/0.3594, allocations: 387.5 kB / 0.5732 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.3595, allocations: 121.1 kB / 0.5733 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.216e-05/0.3595, allocations: 17.42 kB / 0.5734 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.3596, allocations: 11.44 kB / 0.5734 GB, free: 7.078 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3596, allocations: 0 / 0.5734 GB, free: 7.078 MB / 414.1 MB Notification: Performance of Templates: time 0.008017/0.3676, allocations: 3.43 MB / 0.5767 GB, free: 3.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.446907317265868]