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.00104/0.00104, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001783/0.001783, allocations: 168.6 kB / 24.81 MB, free: 9.27 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.9768/0.9768, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.3145/0.3145, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.985e-06/2.985e-06, allocations: 3.984 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.461e-05, allocations: 2.312 kB / 378.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003003/0.003017, allocations: 2.149 MB / 380.7 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005958/0.008976, allocations: 1.339 MB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.009077, allocations: 3.938 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.009354, allocations: 83.41 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.009508, allocations: 75.34 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.009974, allocations: 219 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.01013, allocations: 154.9 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.01017, allocations: 8.594 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.01034, allocations: 87.66 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.01041, allocations: 47.78 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.01043, allocations: 4 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.01075, allocations: 207.7 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.01079, allocations: 27.8 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.01084, allocations: 39.86 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.01216, allocations: 382.4 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01216, allocations: 4 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01216, allocations: 0 / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.01216, allocations: 0 / 383.3 MB, free: 13.51 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.0005404/0.0127, allocations: 0.5189 MB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.01275, allocations: 8.031 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.01281, allocations: 44.8 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.01296, allocations: 155.2 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.01298, allocations: 12.38 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.013, allocations: 16.38 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.01322, allocations: 136 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.01323, allocations: 3.938 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.01324, allocations: 8 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.01325, allocations: 4 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.822e-05/0.01332, allocations: 52.28 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.01391, allocations: 486.6 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.01401, allocations: 51.05 kB / 384.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.01404, allocations: 11.69 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.01407, allocations: 0 / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.01411, allocations: 41.33 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.01411, allocations: 3.938 kB / 384.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001691/0.01428, allocations: 73.7 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.0143, allocations: 51.41 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.01444, allocations: 254 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.01445, allocations: 25.7 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.01456, allocations: 238.6 kB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.01457, allocations: 19.89 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.01463, allocations: 47.31 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.01476, allocations: 0.4962 MB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.01478, allocations: 11.98 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.742e-05/0.01488, allocations: 153.8 kB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.01503, allocations: 191.3 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01503, allocations: 4 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001917/0.01522, allocations: 157.3 kB / 386.6 MB, free: 9.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.01524, allocations: 14.02 kB / 386.6 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.01526, allocations: 8 kB / 386.6 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01527, allocations: 8 kB / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.01535, allocations: 27.92 kB / 386.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.01536, allocations: 8.375 kB / 386.6 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.01544, allocations: 27.83 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.01545, allocations: 8 kB / 386.7 MB, free: 9.855 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 (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.904e-05/0.01553, allocations: 160.6 kB / 386.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.01556, allocations: 19.84 kB / 386.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.01571, allocations: 98.69 kB / 386.9 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01571, allocations: 4 kB / 386.9 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01572, allocations: 0 / 386.9 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01572, allocations: 0 / 386.9 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.01588, allocations: 153.1 kB / 387.1 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.01589, allocations: 8 kB / 387.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.01591, allocations: 4 kB / 387.1 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.01591, allocations: 0 / 387.1 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.01592, allocations: 3.984 kB / 387.1 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01592, allocations: 3.938 kB / 387.1 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01592, allocations: 0 / 387.1 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.01726, allocations: 219.8 kB / 387.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.01728, allocations: 19.94 kB / 387.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.01729, allocations: 0 / 387.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.42e-05/0.01736, allocations: 7.938 kB / 387.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.01738, allocations: 7.984 kB / 387.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.01739, allocations: 3.938 kB / 387.4 MB, free: 9.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.889e-05/0.01746, allocations: 160.4 kB / 387.5 MB, free: 8.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01746, allocations: 0 / 387.5 MB, free: 8.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003366/0.0178, allocations: 91.64 kB / 387.6 MB, free: 8.852 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.0002419/0.01804, allocations: 167.1 kB / 387.8 MB, free: 8.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.01827, allocations: 143.4 kB / 387.9 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01827, allocations: 0 / 387.9 MB, free: 8.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.01837, allocations: 96.45 kB / 388 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.01863, allocations: 15.94 kB / 388 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007181/0.01935, allocations: 345.5 kB / 388.4 MB, free: 8.031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.033e-05/0.0194, allocations: 79.8 kB / 388.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.57e-05/0.01943, allocations: 4.984 kB / 388.4 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.01949, allocations: 86.19 kB / 388.5 MB, free: 7.836 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01949, allocations: 0 / 388.5 MB, free: 7.836 MB / 362.7 MB Notification: Performance of Templates: time 0.006898/0.02639, allocations: 4.005 MB / 392.5 MB, free: 3.875 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.1519561517052352]