Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001144/0.001144, allocations: 88.25 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 169.2 kB / 25.61 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1/1, allocations: 177 MB / 205.9 MB, free: 4.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1852/0.1852, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.669e-05, allocations: 4.281 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002083/0.002099, allocations: 2.143 MB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.00334, allocations: 1.355 MB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.003425, allocations: 0 / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.003674, allocations: 79.41 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.003796, allocations: 67.31 kB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.004168, allocations: 231 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.004295, allocations: 154.8 kB / 384.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.004341, allocations: 16.53 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.004505, allocations: 83.67 kB / 384.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.004574, allocations: 43.84 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.004589, allocations: 4 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.00482, allocations: 207.7 kB / 384.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.004871, allocations: 23.8 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.004907, allocations: 43.8 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.005225, allocations: 378.5 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.005227, allocations: 0 / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005227, allocations: 0 / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.005232, allocations: 0 / 384.8 MB, free: 17.88 MB / 314.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.0003989/0.005631, allocations: 0.5228 MB / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.005669, allocations: 12.03 kB / 385.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.005714, allocations: 32.8 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.005834, allocations: 160.3 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.005849, allocations: 12.38 kB / 385.6 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.005865, allocations: 24.31 kB / 385.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.006029, allocations: 139.9 kB / 385.7 MB, free: 16.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.00604, allocations: 7.938 kB / 385.8 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.00605, allocations: 4 kB / 385.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.006059, allocations: 8 kB / 385.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.006105, allocations: 48.34 kB / 385.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.00658, allocations: 490.6 kB / 386.3 MB, free: 16.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.369e-05/0.006674, allocations: 47.05 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.0067, allocations: 15.62 kB / 386.4 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.006724, allocations: 8.031 kB / 386.4 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.006742, allocations: 41.39 kB / 386.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.006743, allocations: 0 / 386.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000174/0.006917, allocations: 65.61 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.006939, allocations: 55.39 kB / 386.5 MB, free: 16.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.007047, allocations: 246.1 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.007057, allocations: 33.7 kB / 386.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.659e-05/0.007133, allocations: 230.6 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.007147, allocations: 15.89 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.007199, allocations: 51.31 kB / 387.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.007253, allocations: 0.504 MB / 387.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.007278, allocations: 11.94 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.007383, allocations: 149.3 kB / 387.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.007506, allocations: 183.1 kB / 387.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.007509, allocations: 0 / 387.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001778/0.007687, allocations: 161.2 kB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.0077, allocations: 8 kB / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.007724, allocations: 12 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.007737, allocations: 4 kB / 388.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.007823, allocations: 27.98 kB / 388.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.00783, allocations: 7.938 kB / 388.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.007906, allocations: 19.88 kB / 388.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.007919, allocations: 12.38 kB / 388.2 MB, free: 14.23 MB / 314.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 (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 6.704e-05/0.007986, allocations: 172.5 kB / 388.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.008016, allocations: 15.94 kB / 388.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.00817, allocations: 98.75 kB / 388.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.008174, allocations: 0 / 388.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.008175, allocations: 4.125 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.00818, allocations: 8 kB / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.008331, allocations: 141.2 kB / 388.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.008346, allocations: 11.98 kB / 388.6 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.00837, allocations: 4 kB / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008372, allocations: 0 / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.00838, allocations: 8 kB / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.008382, allocations: 3.938 kB / 388.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.008384, allocations: 3.984 kB / 388.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.008485, allocations: 211.8 kB / 388.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.008499, allocations: 11.91 kB / 388.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.008516, allocations: 8 kB / 388.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.008576, allocations: 7.922 kB / 388.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.008608, allocations: 4 kB / 388.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.008615, allocations: 4 kB / 388.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.847e-05/0.008663, allocations: 168.1 kB / 389 MB, free: 13.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008663, allocations: 4 kB / 389 MB, free: 13.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.008995, allocations: 79.7 kB / 389.1 MB, free: 13.21 MB / 314.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.0002157/0.00921, allocations: 175 kB / 389.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.009411, allocations: 135.4 kB / 389.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.009412, allocations: 0 / 389.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.034e-05/0.009483, allocations: 92.52 kB / 389.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.009726, allocations: 13.02 kB / 389.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006305/0.01036, allocations: 363.1 kB / 389.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.01039, allocations: 71.83 kB / 389.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.01043, allocations: 12.91 kB / 390 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.01047, allocations: 78.2 kB / 390 MB, free: 12.2 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01047, allocations: 4 kB / 390 MB, free: 12.19 MB / 314.7 MB Notification: Performance of Templates: time 0.006074/0.01655, allocations: 4.05 MB / 394.1 MB, free: 8.219 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_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.5198857728391886]