Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001001/0.001001, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001108/0.001108, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 0.9783/0.9783, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2848/0.2848, allocations: 34.26 MB / 296 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 378.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.309e-05, allocations: 2.312 kB / 378.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002333/0.002357, allocations: 2.156 MB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.003861, allocations: 1.367 MB / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.003947, allocations: 0 / 381.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.004224, allocations: 79.36 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.004357, allocations: 75.34 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.00483, allocations: 215 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.004988, allocations: 158.8 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.005032, allocations: 12.58 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.005202, allocations: 83.67 kB / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.005273, allocations: 51.77 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.005288, allocations: 8 kB / 382.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.00556, allocations: 207.7 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.005606, allocations: 23.8 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.005655, allocations: 43.8 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.006039, allocations: 370.6 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006041, allocations: 0 / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006041, allocations: 0 / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.006046, allocations: 0 / 382.9 MB, free: 14.07 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.0004425/0.006488, allocations: 0.519 MB / 383.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.006521, allocations: 8.031 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.006576, allocations: 44.8 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.006726, allocations: 167.1 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.006739, allocations: 12.38 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.006759, allocations: 20.38 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.006961, allocations: 147.9 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.00697, allocations: 3.938 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.006982, allocations: 7.984 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.006992, allocations: 4 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.00707, allocations: 64.34 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.007588, allocations: 0.5137 MB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.007675, allocations: 47.05 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.007705, allocations: 19.75 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.007727, allocations: 3.938 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.007746, allocations: 37.39 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.007747, allocations: 0 / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000217/0.007964, allocations: 73.58 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.007993, allocations: 51.41 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.008127, allocations: 257.5 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.008138, allocations: 25.7 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.008225, allocations: 230.6 kB / 385.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.008239, allocations: 23.89 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.008287, allocations: 51.31 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.008392, allocations: 0.4962 MB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.008425, allocations: 15.98 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.762e-05/0.008512, allocations: 153.1 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.008652, allocations: 195.1 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.008655, allocations: 192 / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000168/0.008823, allocations: 165.2 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.008837, allocations: 11.98 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.008858, allocations: 12 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.008872, allocations: 4 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.863e-05/0.008961, allocations: 27.92 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.008968, allocations: 4 kB / 386.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.009025, allocations: 20.33 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.009038, allocations: 16 kB / 386.3 MB, free: 10.32 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.791e-05/0.009116, allocations: 164.5 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.009138, allocations: 19.83 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.009291, allocations: 98.7 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.009294, allocations: 0 / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.009298, allocations: 8 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009301, allocations: 3.938 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.009446, allocations: 184.5 kB / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.009456, allocations: 8 kB / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.009473, allocations: 4 kB / 386.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.009476, allocations: 3.938 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.009484, allocations: 4 kB / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.009485, allocations: 0 / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.009485, allocations: 0 / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.0096, allocations: 215.8 kB / 387 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.009612, allocations: 11.89 kB / 387 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.009626, allocations: 4 kB / 387 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.009665, allocations: 7.984 kB / 387 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.009701, allocations: 8 kB / 387 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.009706, allocations: 4 kB / 387 MB, free: 9.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.089e-05/0.009777, allocations: 171.1 kB / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009777, allocations: 0 / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.01002, allocations: 87.66 kB / 387.3 MB, free: 9.262 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.0002124/0.01023, allocations: 174.9 kB / 387.5 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.01045, allocations: 136.2 kB / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01045, allocations: 0 / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-05/0.01052, allocations: 91.92 kB / 387.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.0107, allocations: 11.98 kB / 387.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.01136, allocations: 369.4 kB / 388 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.01141, allocations: 71.83 kB / 388.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.026e-05/0.01144, allocations: 17.05 kB / 388.1 MB, free: 8.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.01146, allocations: 12.5 kB / 388.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01146, allocations: 0 / 388.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of Templates: time 0.005016/0.01647, allocations: 3.532 MB / 391.7 MB, free: 4.828 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.2145670510362834]