Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008741/0.0008742, allocations: 92.61 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1931/0.1931, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002644, allocations: 15.92 kB / 420.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.1002, allocations: 63.57 MB / 483.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002272/0.1025, allocations: 1.833 MB / 485.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1045, allocations: 1.414 MB / 487 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1046, allocations: 4 kB / 487 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1049, allocations: 87.5 kB / 487.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.1051, allocations: 47.56 kB / 487.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.1056, allocations: 179.4 kB / 487.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1058, allocations: 166.9 kB / 487.5 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.1059, allocations: 12.31 kB / 487.5 MB, free: 364 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.106, allocations: 59.61 kB / 487.5 MB, free: 304 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/0.1061, allocations: 67.58 kB / 487.6 MB, free: 236 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1062, allocations: 0 / 487.6 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005992/0.1068, allocations: 431.4 kB / 488 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.1068, allocations: 27.8 kB / 488.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.263e-05/0.1069, allocations: 93.19 kB / 488.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.1073, allocations: 279 kB / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1074, allocations: 4 kB / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1074, allocations: 0 / 488.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1074, allocations: 0 / 488.4 MB, free: 15.41 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005771/0.108, allocations: 482.6 kB / 488.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.108, allocations: 13.95 kB / 488.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.108, allocations: 16.75 kB / 488.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.1082, allocations: 212 kB / 489.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1083, allocations: 16.31 kB / 489.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1083, allocations: 24.12 kB / 489.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.1087, allocations: 198.7 kB / 489.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1087, allocations: 4 kB / 489.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1087, allocations: 12 kB / 489.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1087, allocations: 4 kB / 489.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.109, allocations: 156.2 kB / 489.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.1099, allocations: 0.5792 MB / 490.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.1102, allocations: 66.48 kB / 490.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.1104, allocations: 36.95 kB / 490.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.1105, allocations: 7.969 kB / 490.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1105, allocations: 34.56 kB / 490.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.774e-06/0.1105, allocations: 0 / 490.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006969/0.1112, allocations: 149.4 kB / 490.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1113, allocations: 51.41 kB / 490.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.1117, allocations: 258.6 kB / 490.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1117, allocations: 25.7 kB / 490.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1119, allocations: 163.7 kB / 490.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.1119, allocations: 23.75 kB / 490.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.112, allocations: 25.64 kB / 490.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1121, allocations: 338.8 kB / 491.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.1124, allocations: 43.91 kB / 491.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.1127, allocations: 135.1 kB / 491.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.1132, allocations: 196.6 kB / 491.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1132, allocations: 0 / 491.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006739/0.1139, allocations: 213.2 kB / 491.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1139, allocations: 8 kB / 491.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/0.1139, allocations: 8 kB / 491.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.114, allocations: 8 kB / 491.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.1142, allocations: 35.91 kB / 491.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.1142, allocations: 7.938 kB / 491.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.1145, allocations: 43.94 kB / 492 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.1145, allocations: 8 kB / 492 MB, free: 11.55 MB / 366.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.0001533/0.1147, allocations: 129.8 kB / 492.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.1147, allocations: 19.72 kB / 492.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005631/0.1153, allocations: 155 kB / 492.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1153, allocations: 0 / 492.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1153, allocations: 0 / 492.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1153, allocations: 0 / 492.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.1157, allocations: 225.5 kB / 492.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/0.1158, allocations: 16 kB / 492.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.826e-05/0.1159, allocations: 11.98 kB / 492.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1159, allocations: 0 / 492.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1159, allocations: 4 kB / 492.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1159, allocations: 0 / 492.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1159, allocations: 0 / 492.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.1164, allocations: 223.1 kB / 492.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.1165, allocations: 92.91 kB / 492.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.1166, allocations: 0 / 492.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.1167, allocations: 11.98 kB / 492.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1168, allocations: 0 / 492.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1168, allocations: 4 kB / 492.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.1171, allocations: 190 kB / 493 MB, free: 10.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1171, allocations: 0 / 493 MB, free: 10.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007044/0.1178, allocations: 75.84 kB / 493.1 MB, free: 10.32 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.0004766/0.1183, allocations: 171.1 kB / 493.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.1189, allocations: 180 kB / 493.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.119, allocations: 0 / 493.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.1193, allocations: 111.3 kB / 493.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.1198, allocations: 20.88 kB / 493.6 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009266/0.1208, allocations: 463 kB / 494 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.1212, allocations: 0.7322 MB / 494.8 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.1212, allocations: 15.44 kB / 494.8 MB, free: 8.555 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1212, allocations: 0 / 494.8 MB, free: 8.555 MB / 366.1 MB Notification: Performance of Templates: time 0.00979/0.131, allocations: 4.407 MB / 499.2 MB, free: 4.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches