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.0009418/0.0009418, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0008901/0.0008901, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9113/0.9113, allocations: 177 MB / 204.8 MB, free: 5.566 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.2452/0.2452, allocations: 34.86 MB / 296.3 MB, free: 0.543 MB / 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_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.503e-06/1.503e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.649e-05, allocations: 4.844 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002274/0.00229, allocations: 2.16 MB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.00372, allocations: 1.366 MB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.003785, allocations: 4 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.004023, allocations: 87.33 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.004152, allocations: 71.36 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.004541, allocations: 215 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.004672, allocations: 154.8 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.00471, allocations: 20.58 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.004865, allocations: 87.61 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.986e-05/0.004935, allocations: 43.84 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.004949, allocations: 0 / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.0052, allocations: 207.7 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.005244, allocations: 23.8 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.00529, allocations: 43.8 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.005637, allocations: 382.5 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00564, allocations: 0 / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00564, allocations: 0 / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.005644, allocations: 4 kB / 383.6 MB, free: 13.18 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004224/0.006067, allocations: 0.5151 MB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.006099, allocations: 8.031 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.00615, allocations: 36.8 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.006288, allocations: 172 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.0063, allocations: 16.38 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.006318, allocations: 16.38 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.006519, allocations: 148 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.00653, allocations: 3.938 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.006542, allocations: 8 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.00655, allocations: 8 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.006626, allocations: 64.34 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.007379, allocations: 0.5098 MB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/0.00747, allocations: 46.98 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.007498, allocations: 15.69 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.007523, allocations: 3.938 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.007542, allocations: 37.39 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.007542, allocations: 0 / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000171/0.007713, allocations: 81.64 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.007738, allocations: 55.41 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.007862, allocations: 253.5 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.007873, allocations: 29.7 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.007958, allocations: 234.6 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.007973, allocations: 15.91 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.008021, allocations: 47.31 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.008125, allocations: 0.4962 MB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.008156, allocations: 15.98 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.008237, allocations: 147.3 kB / 386.6 MB, free: 9.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.008363, allocations: 191 kB / 386.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.008366, allocations: 4 kB / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001641/0.00853, allocations: 161.2 kB / 386.9 MB, free: 9.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.008543, allocations: 8 kB / 387 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.008563, allocations: 12 kB / 387 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.008579, allocations: 4.438 kB / 387 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.008657, allocations: 35.92 kB / 387 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.008665, allocations: 7.984 kB / 387 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.008717, allocations: 19.83 kB / 387 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.00873, allocations: 16 kB / 387 MB, free: 9.434 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 7.42e-05/0.008804, allocations: 168.5 kB / 387.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.008825, allocations: 15.84 kB / 387.2 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.008975, allocations: 98.7 kB / 387.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.008978, allocations: 0 / 387.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.00898, allocations: 4 kB / 387.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.008984, allocations: 3.938 kB / 387.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.009116, allocations: 184.5 kB / 387.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.009128, allocations: 12 kB / 387.5 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/0.009145, allocations: 4 kB / 387.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.009147, allocations: 4.125 kB / 387.5 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.009157, allocations: 8 kB / 387.5 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.009158, allocations: 4 kB / 387.5 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.009158, allocations: 0 / 387.5 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.009271, allocations: 215.8 kB / 387.8 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.009282, allocations: 11.89 kB / 387.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.009296, allocations: 3.984 kB / 387.8 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.009333, allocations: 4 kB / 387.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.009366, allocations: 4 kB / 387.8 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.00937, allocations: 0 / 387.8 MB, free: 8.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.236e-05/0.009432, allocations: 171.1 kB / 387.9 MB, free: 8.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009432, allocations: 0 / 387.9 MB, free: 8.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000226/0.009658, allocations: 91.66 kB / 388 MB, free: 8.379 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.0002069/0.009865, allocations: 172.6 kB / 388.2 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.01008, allocations: 143.4 kB / 388.3 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01008, allocations: 0 / 388.3 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/0.01015, allocations: 92.52 kB / 388.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.01033, allocations: 15.98 kB / 388.4 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006547/0.01099, allocations: 357.4 kB / 388.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.01103, allocations: 75.77 kB / 388.9 MB, free: 7.453 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.76e-05/0.01106, allocations: 8.969 kB / 388.9 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.01108, allocations: 20.5 kB / 388.9 MB, free: 7.422 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01108, allocations: 0 / 388.9 MB, free: 7.422 MB / 362.7 MB Notification: Performance of Templates: time 0.00492/0.016, allocations: 3.53 MB / 392.4 MB, free: 3.953 MB / 362.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.1658908016979694]