Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008448/0.0008448, allocations: 175.1 kB / 16.72 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.4 MB / 222.9 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007204/0.0007203, allocations: 90.34 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2912/0.2912, allocations: 43.56 MB / 363.1 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 12 kB / 432 MB, free: 5.578 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09817/0.09855, allocations: 58.86 MB / 490.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002337/0.1009, allocations: 1.758 MB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1028, allocations: 1.303 MB / 493.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.103, allocations: 0 / 493.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1033, allocations: 79.52 kB / 494 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1034, allocations: 55.55 kB / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.1039, allocations: 171.2 kB / 494.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1041, allocations: 155 kB / 494.4 MB, free: 7.094 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.766e-05/0.1042, allocations: 24.28 kB / 494.4 MB, free: 7.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1043, allocations: 55.72 kB / 494.4 MB, free: 7.016 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.426e-05/0.1044, allocations: 59.59 kB / 494.5 MB, free: 6.957 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1044, allocations: 4 kB / 494.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005062/0.1049, allocations: 395.4 kB / 494.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.105, allocations: 27.8 kB / 494.9 MB, free: 6.539 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.692e-05/0.1051, allocations: 93.25 kB / 495 MB, free: 6.441 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.1054, allocations: 271.1 kB / 495.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1054, allocations: 4 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1054, allocations: 7.938 kB / 495.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1054, allocations: 0 / 495.3 MB, free: 6.164 MB / 378.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.0005588/0.106, allocations: 474.7 kB / 495.7 MB, free: 5.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.106, allocations: 8.031 kB / 495.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.1061, allocations: 24.66 kB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.1063, allocations: 215.9 kB / 496 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1063, allocations: 8.375 kB / 496 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.1063, allocations: 28.12 kB / 496 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.1067, allocations: 210.6 kB / 496.2 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1067, allocations: 0 / 496.2 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.1067, allocations: 8 kB / 496.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1067, allocations: 4 kB / 496.2 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.107, allocations: 160.2 kB / 496.4 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.1077, allocations: 0.5676 MB / 497 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1079, allocations: 66.55 kB / 497 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.108, allocations: 32.95 kB / 497.1 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.108, allocations: 7.938 kB / 497.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1081, allocations: 34.5 kB / 497.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1081, allocations: 4 kB / 497.1 MB, free: 4.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004109/0.1085, allocations: 149.3 kB / 497.3 MB, free: 4.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1085, allocations: 55.41 kB / 497.3 MB, free: 3.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1088, allocations: 254.7 kB / 497.6 MB, free: 3.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1088, allocations: 25.7 kB / 497.6 MB, free: 3.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.1089, allocations: 163.7 kB / 497.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.1089, allocations: 23.66 kB / 497.8 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/0.1089, allocations: 4 kB / 497.8 MB, free: 3.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.109, allocations: 334.8 kB / 498.1 MB, free: 3.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1091, allocations: 43.97 kB / 498.1 MB, free: 3.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1093, allocations: 132.8 kB / 498.3 MB, free: 2.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.1096, allocations: 196.6 kB / 498.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1096, allocations: 0 / 498.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003818/0.11, allocations: 209.1 kB / 498.7 MB, free: 2.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.11, allocations: 4 kB / 498.7 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.1101, allocations: 15.98 kB / 498.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1101, allocations: 4.438 kB / 498.7 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1102, allocations: 39.92 kB / 498.7 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1102, allocations: 4.188 kB / 498.7 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.1103, allocations: 43.58 kB / 498.8 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.1104, allocations: 12 kB / 498.8 MB, free: 2.352 MB / 378.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_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.824e-05/0.1105, allocations: 133.7 kB / 498.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.1105, allocations: 15.81 kB / 498.9 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.1109, allocations: 154.8 kB / 499.1 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1109, allocations: 0 / 499.1 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1109, allocations: 0 / 499.1 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1109, allocations: 7.922 kB / 499.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.1111, allocations: 229.4 kB / 499.3 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.1111, allocations: 8 kB / 499.3 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.1112, allocations: 11.98 kB / 499.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1112, allocations: 0 / 499.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1112, allocations: 4 kB / 499.3 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1112, allocations: 0 / 499.3 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1112, allocations: 4 kB / 499.3 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1115, allocations: 215.2 kB / 499.6 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.1116, allocations: 92.83 kB / 499.6 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1116, allocations: 8 kB / 499.6 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.1117, allocations: 7.984 kB / 499.7 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.1118, allocations: 12.12 kB / 499.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1118, allocations: 4 kB / 499.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1119, allocations: 178 kB / 499.8 MB, free: 1.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1119, allocations: 0 / 499.8 MB, free: 1.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003275/0.1123, allocations: 75.92 kB / 499.9 MB, free: 1.105 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002686/0.1125, allocations: 175 kB / 0.4884 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.1129, allocations: 180.1 kB / 0.4885 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.113, allocations: 0 / 0.4885 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.1132, allocations: 111.4 kB / 0.4886 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1135, allocations: 20.83 kB / 0.4887 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.1141, allocations: 446.8 kB / 0.4891 GB, free: 128 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1505/0.2646, allocations: 0.7305 MB / 0.4898 GB, free: 42.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.2647, allocations: 16.41 kB / 0.4898 GB, free: 42.45 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.2647, allocations: 0 / 0.4898 GB, free: 42.45 MB / 378.7 MB Notification: Performance of Templates: time 0.006049/0.2708, allocations: 4.382 MB / 0.4941 GB, free: 42.23 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches