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.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.0009208/0.0009208, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.0009821/0.0009821, allocations: 162.1 kB / 24.99 MB, free: 9.289 MB / 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2517/0.2517, allocations: 32.8 MB / 294.6 MB, free: 1.281 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_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.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.248e-05, allocations: 2.312 kB / 376 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003612/0.003634, allocations: 2.164 MB / 378.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.005792, allocations: 1.367 MB / 379.6 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.005919, allocations: 0 / 379.6 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.00626, allocations: 79.41 kB / 379.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.006461, allocations: 79.3 kB / 379.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006641/0.007125, allocations: 219 kB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.007361, allocations: 154.8 kB / 380.1 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.611e-05/0.007427, allocations: 16.59 kB / 380.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.007695, allocations: 79.72 kB / 380.2 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.007825, allocations: 47.78 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.007854, allocations: 4 kB / 380.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.008309, allocations: 203.7 kB / 380.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.008382, allocations: 27.8 kB / 380.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.008451, allocations: 43.8 kB / 380.5 MB, free: 468 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.009014, allocations: 374.5 kB / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.009017, allocations: 0 / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.009018, allocations: 0 / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.009023, allocations: 4 kB / 380.9 MB, free: 88 kB / 346.7 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.0006019/0.009625, allocations: 0.5191 MB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.009666, allocations: 15.98 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.982e-05/0.009746, allocations: 32.8 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.009936, allocations: 163.2 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.009956, allocations: 12.38 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.009982, allocations: 24.3 kB / 381.6 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.01025, allocations: 144 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.01027, allocations: 3.938 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.01029, allocations: 12 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.0103, allocations: 8 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.01042, allocations: 64.3 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.01115, allocations: 0.5137 MB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.01126, allocations: 47 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.01129, allocations: 15.72 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.01131, allocations: 11.88 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.01133, allocations: 33.39 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.01133, allocations: 0 / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000189/0.01152, allocations: 77.66 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.01155, allocations: 51.41 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.01169, allocations: 258.7 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.0117, allocations: 25.7 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.024e-05/0.01179, allocations: 226.6 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.01181, allocations: 19.89 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.01186, allocations: 47.31 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01198, allocations: 0.4962 MB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/0.01201, allocations: 16 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.01211, allocations: 151.3 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.01225, allocations: 187.1 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01226, allocations: 4 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001747/0.01243, allocations: 161.3 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.01244, allocations: 8 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.01247, allocations: 23.98 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.01249, allocations: 4.438 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.01258, allocations: 31.92 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.01259, allocations: 8 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.936e-05/0.01265, allocations: 19.83 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.01266, allocations: 12 kB / 384.3 MB, free: 12.34 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 (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 8.337e-05/0.01274, allocations: 164.5 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.01277, allocations: 19.84 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.01294, allocations: 98.75 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01294, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01294, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.01295, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.01311, allocations: 184.5 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.01312, allocations: 15.98 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/0.01314, allocations: 4 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.01314, allocations: 3.938 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.01315, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01315, allocations: 7.938 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01315, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.01328, allocations: 219.8 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.01329, allocations: 15.83 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.0133, allocations: 4 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.811e-05/0.01334, allocations: 3.984 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.01338, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.01339, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.043e-05/0.01346, allocations: 171.2 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01346, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.01371, allocations: 87.66 kB / 385.3 MB, free: 11.28 MB / 362.7 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.0002245/0.01394, allocations: 179.2 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.01418, allocations: 146 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01418, allocations: 0 / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.556e-05/0.01426, allocations: 92.52 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01446, allocations: 19.92 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.01517, allocations: 353.5 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.501e-05/0.01521, allocations: 71.83 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.91e-05/0.01524, allocations: 4.969 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.01527, allocations: 16.5 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01527, allocations: 4 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of Templates: time 0.006014/0.02128, allocations: 3.532 MB / 389.7 MB, free: 6.855 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.306255537085235]