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.0009621/0.0009621, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.001241/0.001241, allocations: 171.2 kB / 24.82 MB, free: 8.914 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2369/0.2369, allocations: 32.81 MB / 294.6 MB, free: 1.23 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.[0-9,]+.|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.[0-9,]+.|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 2.234e-06/2.234e-06, allocations: 0 / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.147e-05, allocations: 5.266 kB / 376.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003985/0.004016, allocations: 2.215 MB / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.005776, allocations: 1.059 MB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.005914, allocations: 0 / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.006236, allocations: 75.47 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.006552, allocations: 99.12 kB / 380 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.00689, allocations: 119.6 kB / 380.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.007111, allocations: 190.7 kB / 380.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.00716, allocations: 16.58 kB / 380.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.007404, allocations: 95.55 kB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.007523, allocations: 71.73 kB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.007543, allocations: 7.938 kB / 380.5 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.007835, allocations: 123.9 kB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.007902, allocations: 31.8 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.007967, allocations: 47.78 kB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.008321, allocations: 290.8 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.008325, allocations: 7.938 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008326, allocations: 0 / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.00833, allocations: 0 / 380.9 MB, free: 15.89 MB / 362.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.0004558/0.008786, allocations: 0.5233 MB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.008824, allocations: 12.02 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.00888, allocations: 52.73 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.009017, allocations: 159.2 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.00903, allocations: 12.88 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.009048, allocations: 20.38 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.009244, allocations: 153.3 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.009253, allocations: 11.94 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.009265, allocations: 4 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.009271, allocations: 4 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.217e-05/0.009364, allocations: 91.44 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.009953, allocations: 0.5042 MB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.01007, allocations: 67 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.0101, allocations: 23.83 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.01012, allocations: 4 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.01014, allocations: 37.33 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.01015, allocations: 4 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001979/0.01034, allocations: 97.52 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.01037, allocations: 51.41 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.01075, allocations: 266.5 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.01076, allocations: 33.7 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.01085, allocations: 226.6 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.01087, allocations: 31.7 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.01092, allocations: 55.34 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.01103, allocations: 0.504 MB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-05/0.01107, allocations: 23.98 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.345e-05/0.01116, allocations: 167.1 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.0113, allocations: 199.1 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.0113, allocations: 0 / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001889/0.01149, allocations: 185.5 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.0115, allocations: 8.031 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01151, allocations: 8 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.01152, allocations: 7.984 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.01175, allocations: 79.91 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006036/0.01235, allocations: 1.833 MB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.01245, allocations: 27.78 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.01247, allocations: 8 kB / 386.4 MB, free: 10.05 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_1.geometry,m_flow_IN_con_2.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 9.027e-05/0.01256, allocations: 180.6 kB / 386.6 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.01258, allocations: 15.91 kB / 386.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.01276, allocations: 115.4 kB / 386.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01276, allocations: 7.938 kB / 386.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01276, allocations: 0 / 386.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01277, allocations: 0 / 386.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.01307, allocations: 373.2 kB / 387.1 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01307, allocations: 0 / 387.1 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.01322, allocations: 59.98 kB / 387.1 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01322, allocations: 0 / 387.1 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.01323, allocations: 7.938 kB / 387.1 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005471/0.01378, allocations: 1.814 MB / 389 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01379, allocations: 8.125 kB / 389 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.01394, allocations: 251.1 kB / 389.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.01396, allocations: 19.91 kB / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.01397, allocations: 0 / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.01404, allocations: 7.984 kB / 389.2 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.01408, allocations: 19.86 kB / 389.3 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.01409, allocations: 7.984 kB / 389.3 MB, free: 7.051 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.427e-05/0.01415, allocations: 168.1 kB / 389.4 MB, free: 6.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01415, allocations: 0 / 389.4 MB, free: 6.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.01442, allocations: 71.81 kB / 389.5 MB, free: 6.816 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.0002028/0.01462, allocations: 147.1 kB / 389.6 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.01487, allocations: 136.1 kB / 389.8 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01487, allocations: 0 / 389.8 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.01497, allocations: 67.59 kB / 389.8 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.0152, allocations: 24.98 kB / 389.9 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.01625, allocations: 406.2 kB / 390.3 MB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.473e-05/0.01629, allocations: 79.83 kB / 390.3 MB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.01634, allocations: 17.61 kB / 390.4 MB, free: 5.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.01641, allocations: 82.2 kB / 390.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01641, allocations: 3.938 kB / 390.4 MB, free: 5.793 MB / 362.7 MB Notification: Performance of Templates: time 0.005838/0.02225, allocations: 3.603 MB / 394 MB, free: 2.238 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] 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","",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.018700981978327]