Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.14 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 75.23 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.121, allocations: 62.46 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003158/0.1242, allocations: 2.109 MB / 482.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.1266, allocations: 1.713 MB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.05e-05/0.1267, allocations: 3.938 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.1271, allocations: 99.36 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.1272, allocations: 59.44 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008211/0.1281, allocations: 358.7 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1282, allocations: 139 kB / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.106e-05/0.1283, allocations: 16.31 kB / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.833e-05/0.1284, allocations: 55.67 kB / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1285, allocations: 59.58 kB / 484.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1285, allocations: 4 kB / 484.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.1298, allocations: 0.7802 MB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.1298, allocations: 23.8 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.13, allocations: 83.42 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008391/0.1308, allocations: 0.5803 MB / 486.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1308, allocations: 7.938 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1308, allocations: 3.984 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.1309, allocations: 0 / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007496/0.1316, allocations: 0.5069 MB / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1317, allocations: 13.05 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.121e-05/0.1317, allocations: 24.66 kB / 486.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.132, allocations: 212.5 kB / 486.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.132, allocations: 24.38 kB / 487 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.132, allocations: 16 kB / 487 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.1325, allocations: 263.5 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1325, allocations: 3.984 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.1325, allocations: 8 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.1325, allocations: 12 kB / 487.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.1328, allocations: 152.2 kB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1339, allocations: 0.9041 MB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.1341, allocations: 66.48 kB / 488.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1342, allocations: 32.94 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.1343, allocations: 0 / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.1343, allocations: 38.56 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.1343, allocations: 0 / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005459/0.1349, allocations: 137.3 kB / 488.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.135, allocations: 59.34 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.1352, allocations: 258.9 kB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1353, allocations: 29.7 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1354, allocations: 179.1 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.1354, allocations: 27.67 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.1355, allocations: 53.61 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1356, allocations: 326.8 kB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.1358, allocations: 48.19 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.136, allocations: 180.2 kB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.1364, allocations: 259.4 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.1365, allocations: 4 kB / 490 MB, free: 10.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004944/0.137, allocations: 261.4 kB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.137, allocations: 10.34 kB / 490.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/0.137, allocations: 12 kB / 490.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.1371, allocations: 8 kB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.1373, allocations: 51.84 kB / 490.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.1373, allocations: 7.938 kB / 490.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.1375, allocations: 43.58 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.1375, allocations: 16 kB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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 (25): * Single equations (assignments): 23 * 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.0001428/0.1376, allocations: 137.8 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.1377, allocations: 15.81 kB / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004233/0.1381, allocations: 146.7 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.1381, allocations: 7.938 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1382, allocations: 3.938 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1382, allocations: 0 / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.1384, allocations: 221.5 kB / 490.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/0.1385, allocations: 12 kB / 490.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.051e-05/0.1385, allocations: 8.172 kB / 490.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1385, allocations: 4 kB / 490.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.1385, allocations: 4 kB / 490.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1385, allocations: 3.938 kB / 490.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1386, allocations: 4 kB / 490.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1388, allocations: 203.2 kB / 491.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.1389, allocations: 88.92 kB / 491.2 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.1389, allocations: 4 kB / 491.2 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.139, allocations: 7.922 kB / 491.2 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.1391, allocations: 7.938 kB / 491.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1391, allocations: 12 kB / 491.2 MB, free: 9.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1393, allocations: 182 kB / 491.4 MB, free: 9.375 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.313e-06/0.1393, allocations: 0 / 491.4 MB, free: 9.375 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005169/0.1398, allocations: 107.9 kB / 491.5 MB, free: 9.27 MB / 366.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.0004226/0.1402, allocations: 195.3 kB / 491.7 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004933/0.1407, allocations: 196.2 kB / 491.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1407, allocations: 0 / 491.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.1409, allocations: 103.6 kB / 492 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.1414, allocations: 24.83 kB / 492 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.1421, allocations: 363.7 kB / 492.4 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.1425, allocations: 0.7323 MB / 493.1 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.108e-05/0.1426, allocations: 25.94 kB / 493.1 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.1426, allocations: 19.38 kB / 493.2 MB, free: 7.547 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1426, allocations: 0 / 493.2 MB, free: 7.547 MB / 366.1 MB Notification: Performance of Templates: time 0.01164/0.1543, allocations: 6.342 MB / 499.5 MB, free: 1.246 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches