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.001795/0.001795, allocations: 96.31 kB / 20.96 MB, free: 3.59 MB / 18.57 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.002347/0.002347, allocations: 157.7 kB / 24.26 MB, free: 300 kB / 18.57 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.496/1.496, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3311/0.3311, allocations: 32.79 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/2.951e-05, allocations: 2.312 kB / 375.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004299/0.004329, allocations: 2.11 MB / 377.4 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.006365, allocations: 0.9849 MB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.0065, allocations: 0 / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.006865, allocations: 87.34 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.007269, allocations: 87.27 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.00764, allocations: 127.4 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.007949, allocations: 190.7 kB / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.701e-05/0.008006, allocations: 16.59 kB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.008287, allocations: 95.59 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.008433, allocations: 67.75 kB / 379.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.008457, allocations: 4 kB / 379.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.008907, allocations: 139.8 kB / 379.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.319e-05/0.00898, allocations: 31.78 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.009071, allocations: 51.8 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.009577, allocations: 294.7 kB / 379.6 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.009584, allocations: 4 kB / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.009585, allocations: 0 / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.009596, allocations: 0 / 379.6 MB, free: 0.6523 MB / 346.7 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.0008335/0.01043, allocations: 429.6 kB / 380 MB, free: 204 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.01047, allocations: 8.031 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.01059, allocations: 44.75 kB / 380 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.01088, allocations: 165.4 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.01091, allocations: 16.81 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.01094, allocations: 24.38 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.01147, allocations: 228.6 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.01148, allocations: 3.938 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.01151, allocations: 12 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.01152, allocations: 4 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005389/0.01205, allocations: 253.9 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.01338, allocations: 0.5199 MB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.01372, allocations: 98.62 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.01389, allocations: 44.86 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.01392, allocations: 0 / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.01397, allocations: 38.5 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.01397, allocations: 4 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006747/0.01465, allocations: 161.5 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.01471, allocations: 55.41 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.01497, allocations: 199.8 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.01502, allocations: 33.7 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.01518, allocations: 183.8 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.01522, allocations: 31.73 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.01532, allocations: 49.66 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.0155, allocations: 330.8 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.01566, allocations: 43.97 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.01591, allocations: 140.8 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.01638, allocations: 216.6 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.01639, allocations: 4 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005615/0.01695, allocations: 241.3 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.01697, allocations: 10.19 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.01698, allocations: 4 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.01701, allocations: 4 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.01744, allocations: 91.89 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.01849, allocations: 1.215 MB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.01869, allocations: 31.91 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.01871, allocations: 12 kB / 384.5 MB, free: 11.45 MB / 362.7 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.0001906/0.0189, allocations: 129.8 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.01897, allocations: 27.84 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.01949, allocations: 171.2 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01949, allocations: 0 / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.0195, allocations: 0 / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.0195, allocations: 0 / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008055/0.0203, allocations: 379.8 kB / 385.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.02031, allocations: 7.922 kB / 385.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.0206, allocations: 64.05 kB / 385.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.02061, allocations: 0 / 385.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.02063, allocations: 4 kB / 385.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.02172, allocations: 1.219 MB / 386.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.02172, allocations: 0 / 386.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.02216, allocations: 241.1 kB / 386.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.0222, allocations: 16.03 kB / 386.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.02223, allocations: 7.938 kB / 386.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.02238, allocations: 11.98 kB / 386.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.02245, allocations: 11.98 kB / 386.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.02246, allocations: 4 kB / 386.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.02259, allocations: 132.2 kB / 386.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02259, allocations: 0 / 386.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004508/0.02305, allocations: 71.83 kB / 386.9 MB, free: 8.855 MB / 362.7 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.000373/0.02342, allocations: 155 kB / 387.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006094/0.02403, allocations: 164 kB / 387.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02403, allocations: 0 / 387.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.02435, allocations: 87.89 kB / 387.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.02479, allocations: 12 kB / 387.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009177/0.0257, allocations: 387.8 kB / 387.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.02586, allocations: 125.1 kB / 387.8 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.966e-05/0.02593, allocations: 17.42 kB / 387.9 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.02598, allocations: 16.5 kB / 387.9 MB, free: 7.852 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02598, allocations: 0 / 387.9 MB, free: 7.852 MB / 362.7 MB Notification: Performance of Templates: time 0.008827/0.03481, allocations: 3.186 MB / 391.1 MB, free: 4.73 MB / 362.7 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: 4.99312161502894]