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.001274/0.001274, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0015/0.0015, allocations: 170.2 kB / 24.91 MB, free: 9.207 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.9549/0.9549, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2548/0.2548, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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 1.633e-06/1.633e-06, allocations: 0 / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.341e-05, allocations: 2.312 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.006499/0.006523, allocations: 2.164 MB / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00532/0.01184, allocations: 1.371 MB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.01199, allocations: 0 / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.01232, allocations: 87.41 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.01252, allocations: 79.28 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.01642, allocations: 211 kB / 329.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.01668, allocations: 162.8 kB / 329.3 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.285e-05/0.01675, allocations: 23.05 kB / 329.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.01699, allocations: 79.67 kB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.07e-05/0.01708, allocations: 43.84 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.0171, allocations: 4 kB / 329.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.01752, allocations: 207.7 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.01758, allocations: 27.78 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.01764, allocations: 43.8 kB / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.01817, allocations: 378.5 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.01818, allocations: 0 / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01818, allocations: 0 / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.01818, allocations: 0 / 330.1 MB, free: 2.777 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003567/0.02175, allocations: 397.1 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.02179, allocations: 12.03 kB / 330.5 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.02184, allocations: 28.92 kB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.02201, allocations: 149.4 kB / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.02203, allocations: 20.25 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.02206, allocations: 24.36 kB / 330.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.0223, allocations: 151.5 kB / 330.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.02232, allocations: 3.938 kB / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.02233, allocations: 8 kB / 330.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.02234, allocations: 4 kB / 330.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.02241, allocations: 52.36 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.02303, allocations: 379.9 kB / 331.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.36e-05/0.02312, allocations: 34.52 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.02315, allocations: 8.891 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.02317, allocations: 4 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.0232, allocations: 34.5 kB / 331.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.0232, allocations: 0 / 331.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000169/0.02337, allocations: 53.75 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.02341, allocations: 51.41 kB / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.02354, allocations: 206.8 kB / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.02356, allocations: 25.7 kB / 331.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.02364, allocations: 160.4 kB / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.02366, allocations: 27.81 kB / 331.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.02371, allocations: 45.64 kB / 332 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.0238, allocations: 322.8 kB / 332.3 MB, free: 476 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.02383, allocations: 8 kB / 332.3 MB, free: 468 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.682e-05/0.0239, allocations: 103.6 kB / 332.4 MB, free: 320 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.02403, allocations: 143.5 kB / 332.5 MB, free: 128 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02404, allocations: 4 kB / 332.5 MB, free: 124 kB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001912/0.02423, allocations: 125.4 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.02424, allocations: 11.94 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.02427, allocations: 8 kB / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.02429, allocations: 4.438 kB / 332.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/0.02746, allocations: 31.92 kB / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.02747, allocations: 4 kB / 332.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.02759, allocations: 32.02 kB / 332.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.02761, allocations: 8 kB / 332.8 MB, free: 15.89 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 0.0001043/0.02772, allocations: 124.6 kB / 332.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.02776, allocations: 15.92 kB / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.02796, allocations: 82.7 kB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.02796, allocations: 3.828 kB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.02797, allocations: 4 kB / 333 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.02797, allocations: 0 / 333 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.02815, allocations: 97.84 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.02816, allocations: 0 / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.0282, allocations: 7.984 kB / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.0282, allocations: 0 / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.02821, allocations: 3.938 kB / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.02821, allocations: 7.938 kB / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02821, allocations: 4 kB / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.02834, allocations: 143.5 kB / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.02836, allocations: 15.89 kB / 333.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.02838, allocations: 0 / 333.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.02845, allocations: 7.938 kB / 333.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.02848, allocations: 4 kB / 333.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.02849, allocations: 0 / 333.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.239e-05/0.02854, allocations: 53.8 kB / 333.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02854, allocations: 0 / 333.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004164/0.02896, allocations: 83.7 kB / 333.4 MB, free: 15.2 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.0003089/0.02927, allocations: 164.3 kB / 333.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.02951, allocations: 121.5 kB / 333.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.02952, allocations: 4 kB / 333.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.0296, allocations: 84.81 kB / 333.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.02982, allocations: 12.98 kB / 333.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.03381, allocations: 361.9 kB / 334.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.641e-05/0.03386, allocations: 71.83 kB / 334.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.046e-05/0.03392, allocations: 12.97 kB / 334.2 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.056e-05/0.03399, allocations: 63.38 kB / 334.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/0.034, allocations: 0 / 334.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of Templates: time 0.008468/0.04246, allocations: 3.95 MB / 338.2 MB, free: 10.33 MB / 314.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.1339006423950195]