Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.000903/0.000903, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001058/0.001058, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9207/0.9207, allocations: 177 MB / 205.2 MB, free: 5.039 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.2522/0.2522, allocations: 34.86 MB / 296.6 MB, free: 388 kB / 266.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Re|m_flow.[0-9,]+.|Nu.[0-9,]+.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 325.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.577e-05, allocations: 13.34 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002416/0.002432, allocations: 2.127 MB / 328.1 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.004169, allocations: 1.671 MB / 329.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.004231, allocations: 3.938 kB / 329.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.004451, allocations: 83.41 kB / 329.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.004561, allocations: 67.36 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.005353, allocations: 370.4 kB / 330.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.005483, allocations: 162.9 kB / 330.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.005525, allocations: 18.55 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.052e-05/0.005606, allocations: 67.75 kB / 330.5 MB, free: 2.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.00568, allocations: 51.77 kB / 330.6 MB, free: 2.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.005693, allocations: 4 kB / 330.6 MB, free: 2.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.006253, allocations: 0.5071 MB / 331.1 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.006301, allocations: 35.78 kB / 331.1 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.00634, allocations: 36.62 kB / 331.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.006814, allocations: 0.5652 MB / 331.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.006815, allocations: 4 kB / 331.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.006816, allocations: 0 / 331.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.006819, allocations: 3.938 kB / 331.7 MB, free: 1.309 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0003972/0.007216, allocations: 433.3 kB / 332.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.007246, allocations: 12.03 kB / 332.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.007285, allocations: 32.86 kB / 332.2 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.0074, allocations: 142.1 kB / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.007412, allocations: 16.88 kB / 332.3 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.007429, allocations: 16.38 kB / 332.3 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.007623, allocations: 219.7 kB / 332.6 MB, free: 388 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.007632, allocations: 4 kB / 332.6 MB, free: 384 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.007645, allocations: 8 kB / 332.6 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.007651, allocations: 4 kB / 332.6 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.007713, allocations: 71.12 kB / 332.6 MB, free: 296 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.008238, allocations: 0.7121 MB / 333.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.841e-05/0.008306, allocations: 30.52 kB / 333.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.008325, allocations: 8.859 kB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.008344, allocations: 3.938 kB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.008363, allocations: 42.62 kB / 333.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.522e-06/0.008364, allocations: 0 / 333.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001119/0.008476, allocations: 49.72 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.008503, allocations: 55.41 kB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.008605, allocations: 215.3 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.008615, allocations: 25.7 kB / 333.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.008693, allocations: 191.7 kB / 334 MB, free: 14.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/0.008703, allocations: 15.84 kB / 334 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.008748, allocations: 53.62 kB / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.008823, allocations: 330.7 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.008845, allocations: 20.17 kB / 334.4 MB, free: 14.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.008924, allocations: 160.2 kB / 334.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.00905, allocations: 206.2 kB / 334.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.009054, allocations: 7.984 kB / 334.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001432/0.009197, allocations: 161.8 kB / 334.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.009209, allocations: 12.03 kB / 334.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.009226, allocations: 12 kB / 334.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.009239, allocations: 4 kB / 334.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.009324, allocations: 51.84 kB / 335 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.00933, allocations: 4 kB / 335 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.0094, allocations: 31.78 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.009414, allocations: 12 kB / 335 MB, free: 13.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_1.geometry,m_flow_IN_con_4.geometry,m_flow_IN_con_4.N) * 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: 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 7.08e-05/0.009485, allocations: 140.5 kB / 335.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.009502, allocations: 8 kB / 335.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.009618, allocations: 86.17 kB / 335.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.00962, allocations: 0 / 335.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.009622, allocations: 192 / 335.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.009625, allocations: 8 kB / 335.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.009875, allocations: 101.8 kB / 335.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.009883, allocations: 7.938 kB / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.009902, allocations: 4 kB / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.009903, allocations: 0 / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.009908, allocations: 0 / 335.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.009911, allocations: 7.984 kB / 335.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.009912, allocations: 0 / 335.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.476e-05/0.009987, allocations: 147.5 kB / 335.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.009999, allocations: 15.84 kB / 335.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.01001, allocations: 0 / 335.5 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.01005, allocations: 7.984 kB / 335.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.01007, allocations: 4 kB / 335.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.01008, allocations: 0 / 335.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.491e-05/0.01011, allocations: 62.22 kB / 335.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01011, allocations: 0 / 335.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00024/0.01035, allocations: 115.6 kB / 335.7 MB, free: 12.89 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.0002599/0.01061, allocations: 198 kB / 335.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.01078, allocations: 145.1 kB / 336.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.01079, allocations: 4 kB / 336.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/0.01085, allocations: 89.59 kB / 336.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.01098, allocations: 17.25 kB / 336.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.01148, allocations: 350.3 kB / 336.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.139e-05/0.01152, allocations: 75.98 kB / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.283e-05/0.01155, allocations: 13.48 kB / 336.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.0116, allocations: 67.38 kB / 336.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0116, allocations: 0 / 336.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of Templates: time 0.007772/0.01937, allocations: 6.552 MB / 343.2 MB, free: 5.375 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.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: 2.9580475129187107]