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.001871/0.001871, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002162/0.002162, allocations: 210.6 kB / 24.47 MB, free: 3.977 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.442/1.442, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.227/0.227, allocations: 46.97 MB / 361.6 MB, free: 4.035 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.002011/0.002011, allocations: 67.91 kB / 0.4974 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3335, allocations: 66.04 MB / 0.5619 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003543/0.337, allocations: 2.108 MB / 0.5639 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.3387, allocations: 0.9876 MB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.3388, allocations: 0 / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.3391, allocations: 87.41 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.3394, allocations: 87.33 kB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.3397, allocations: 119.2 kB / 0.5652 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.3399, allocations: 182.8 kB / 0.5653 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.585e-05/0.34, allocations: 16.59 kB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.3402, allocations: 75.59 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3403, allocations: 87.42 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.3403, allocations: 8 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.3406, allocations: 139.8 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.3407, allocations: 27.8 kB / 0.5657 GB, free: 224 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.3407, allocations: 71.47 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.3412, allocations: 302.5 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3412, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3412, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3412, allocations: 0 / 0.566 GB, free: 15.85 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.0006531/0.3418, allocations: 441.5 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3419, allocations: 8.031 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.3419, allocations: 28.78 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3421, allocations: 158.1 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3421, allocations: 20.8 kB / 0.5667 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.3422, allocations: 24.12 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.3426, allocations: 231.2 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3426, allocations: 4 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3426, allocations: 4 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3427, allocations: 8 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.3431, allocations: 253.6 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009151/0.344, allocations: 0.5115 MB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.3443, allocations: 98.59 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.3444, allocations: 40.89 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3444, allocations: 4 kB / 0.5678 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3445, allocations: 38.55 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.3445, allocations: 0 / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005116/0.345, allocations: 157.5 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.345, allocations: 51.41 kB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3452, allocations: 207.6 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3453, allocations: 29.7 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.3454, allocations: 187.8 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.3454, allocations: 31.73 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.3455, allocations: 57.66 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3457, allocations: 330.7 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3458, allocations: 51.95 kB / 0.5689 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.346, allocations: 141.2 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.3464, allocations: 200.7 kB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3464, allocations: 4 kB / 0.5692 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004674/0.3469, allocations: 233.2 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3469, allocations: 15.88 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3469, allocations: 4.438 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3469, allocations: 8 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.3473, allocations: 79.91 kB / 0.5695 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009087/0.3482, allocations: 1.223 MB / 0.5707 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3484, allocations: 27.83 kB / 0.5708 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3484, allocations: 16 kB / 0.5708 GB, free: 10.68 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.0001904/0.3486, allocations: 135 kB / 0.5709 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.3487, allocations: 24.03 kB / 0.5709 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.3491, allocations: 158.9 kB / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3491, allocations: 0 / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3491, allocations: 0 / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3491, allocations: 4 kB / 0.5711 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.3498, allocations: 391.7 kB / 0.5715 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3498, allocations: 0 / 0.5715 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.35, allocations: 59.97 kB / 0.5715 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.35, allocations: 0 / 0.5715 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.3501, allocations: 8 kB / 0.5715 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008275/0.3509, allocations: 1.215 MB / 0.5727 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3509, allocations: 0 / 0.5727 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.3513, allocations: 237.1 kB / 0.5729 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.3513, allocations: 23.83 kB / 0.573 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.3514, allocations: 0 / 0.573 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.3515, allocations: 4 kB / 0.573 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.3516, allocations: 11.98 kB / 0.573 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.3516, allocations: 4 kB / 0.573 GB, free: 8.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.3517, allocations: 144.2 kB / 0.5731 GB, free: 8.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3517, allocations: 0 / 0.5731 GB, free: 8.152 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000409/0.3521, allocations: 83.7 kB / 0.5732 GB, free: 8.07 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.0002831/0.3524, allocations: 150.8 kB / 0.5733 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005693/0.353, allocations: 175.7 kB / 0.5735 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.353, allocations: 0 / 0.5735 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.3533, allocations: 88.89 kB / 0.5736 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3537, allocations: 19.34 kB / 0.5736 GB, free: 7.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008641/0.3545, allocations: 395.7 kB / 0.574 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.3547, allocations: 121.1 kB / 0.5741 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.857e-05/0.3547, allocations: 13.42 kB / 0.5741 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.3548, allocations: 15.44 kB / 0.5741 GB, free: 7.055 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3548, allocations: 0 / 0.5741 GB, free: 7.055 MB / 414.1 MB Notification: Performance of Templates: time 0.007821/0.3626, allocations: 3.415 MB / 0.5775 GB, free: 3.695 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 -s cvode -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/jenkins1/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/jenkins1/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.2011790679971455]