Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001576, allocations: 106.9 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 69.16 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1203, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004511/0.1248, allocations: 2.163 MB / 470.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.1272, allocations: 1.367 MB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.1274, allocations: 3.938 kB / 472.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.1278, allocations: 75.58 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.128, allocations: 59.55 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.1288, allocations: 183.3 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.1291, allocations: 147 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.358e-05/0.1292, allocations: 16.3 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1293, allocations: 51.67 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1295, allocations: 67.53 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.1295, allocations: 4 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007281/0.1303, allocations: 427.4 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.1303, allocations: 27.78 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1305, allocations: 75.42 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005965/0.1311, allocations: 430.5 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1311, allocations: 4 kB / 473.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1311, allocations: 0 / 473.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1311, allocations: 0 / 473.8 MB, free: 9.609 MB / 350.1 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.0006641/0.1318, allocations: 0.4946 MB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1318, allocations: 8.031 kB / 474.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.1319, allocations: 20.75 kB / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1321, allocations: 215.6 kB / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1321, allocations: 8.375 kB / 474.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.1322, allocations: 28.12 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.1326, allocations: 206.4 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1326, allocations: 0 / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1326, allocations: 8 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1326, allocations: 7.938 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.133, allocations: 144.3 kB / 474.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009489/0.1339, allocations: 0.5753 MB / 475.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.1342, allocations: 66.53 kB / 475.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1343, allocations: 36.88 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.1343, allocations: 8 kB / 475.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.1344, allocations: 38.5 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1344, allocations: 0 / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005008/0.1349, allocations: 133.3 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.1349, allocations: 51.41 kB / 475.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.1352, allocations: 258.6 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1352, allocations: 25.7 kB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.1354, allocations: 163.7 kB / 476.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.1354, allocations: 23.73 kB / 476.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.1355, allocations: 45.61 kB / 476.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1356, allocations: 330.8 kB / 476.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1357, allocations: 31.97 kB / 476.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.1359, allocations: 136.8 kB / 476.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.1362, allocations: 180.7 kB / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1362, allocations: 0 / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003941/0.1366, allocations: 201.1 kB / 477.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1367, allocations: 8 kB / 477.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/0.1367, allocations: 8 kB / 477.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1367, allocations: 8 kB / 477.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1368, allocations: 31.92 kB / 477.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.1369, allocations: 4.438 kB / 477.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.137, allocations: 39.77 kB / 477.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.1371, allocations: 20 kB / 477.3 MB, free: 5.785 MB / 350.1 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 0.0001163/0.1372, allocations: 125.7 kB / 477.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.1373, allocations: 15.81 kB / 477.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.1377, allocations: 146.7 kB / 477.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1377, allocations: 4 kB / 477.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1377, allocations: 0 / 477.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1377, allocations: 0 / 477.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.138, allocations: 229.5 kB / 477.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.138, allocations: 11.98 kB / 477.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.1381, allocations: 4 kB / 477.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1381, allocations: 0 / 477.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1381, allocations: 8 kB / 477.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1381, allocations: 7.969 kB / 477.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1381, allocations: 3.938 kB / 477.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.1384, allocations: 199.3 kB / 478.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/0.1385, allocations: 92.83 kB / 478.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.1386, allocations: 7.922 kB / 478.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1387, allocations: 15.94 kB / 478.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.1387, allocations: 7.984 kB / 478.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.1388, allocations: 4 kB / 478.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.1389, allocations: 178 kB / 478.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1389, allocations: 0 / 478.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.1394, allocations: 75.92 kB / 478.4 MB, free: 4.57 MB / 350.1 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.0003607/0.1397, allocations: 163.7 kB / 478.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004949/0.1402, allocations: 171.6 kB / 478.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1402, allocations: 0 / 478.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.1405, allocations: 99.78 kB / 478.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.1409, allocations: 25.27 kB / 478.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007281/0.1416, allocations: 420.2 kB / 479.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1419, allocations: 0.7281 MB / 480 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.435e-05/0.142, allocations: 25.47 kB / 480 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.1421, allocations: 15.44 kB / 480.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of SimCode: time 1.653e-06/0.1421, allocations: 3.938 kB / 480.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of Templates: time 0.008268/0.1503, allocations: 4.074 MB / 484.1 MB, free: 14.83 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches