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_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_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.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.415/1.415, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007399/0.0007399, allocations: 95.89 kB / 270.9 MB, free: 8.355 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.3248/0.3248, allocations: 43.56 MB / 362.7 MB, free: 52.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003429, allocations: 16 kB / 431.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1037, allocations: 58.85 MB / 490.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002695/0.1065, allocations: 2.242 MB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.109, allocations: 1.665 MB / 494.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.1092, allocations: 0 / 494.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.1095, allocations: 91.42 kB / 494.3 MB, free: 7.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.1098, allocations: 99.11 kB / 494.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007326/0.1105, allocations: 271.1 kB / 494.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000307/0.1108, allocations: 258.2 kB / 494.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.878e-05/0.1109, allocations: 32.72 kB / 494.9 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.1111, allocations: 87.45 kB / 495 MB, free: 6.445 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.1112, allocations: 103.3 kB / 495.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.1112, allocations: 8 kB / 495.1 MB, free: 6.336 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.1123, allocations: 0.7294 MB / 495.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.1124, allocations: 43.72 kB / 495.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.1125, allocations: 73.52 kB / 495.9 MB, free: 5.484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.113, allocations: 470.4 kB / 496.4 MB, free: 5.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.113, allocations: 0 / 496.4 MB, free: 5.023 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.113, allocations: 4 kB / 496.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.113, allocations: 0 / 496.4 MB, free: 5.02 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007513/0.1138, allocations: 0.5964 MB / 497 MB, free: 4.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1139, allocations: 11.97 kB / 497 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.1139, allocations: 39.53 kB / 497 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.1142, allocations: 234.5 kB / 497.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.1142, allocations: 29 kB / 497.3 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.1143, allocations: 32 kB / 497.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/0.1149, allocations: 366.5 kB / 497.7 MB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1149, allocations: 3.984 kB / 497.7 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.1149, allocations: 16 kB / 497.7 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1149, allocations: 11.95 kB / 497.7 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.1154, allocations: 275.8 kB / 498 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.1166, allocations: 0.8728 MB / 498.9 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1168, allocations: 106.5 kB / 499 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.117, allocations: 48.89 kB / 499 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.117, allocations: 0 / 499 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.117, allocations: 34.56 kB / 499.1 MB, free: 2.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.545e-06/0.117, allocations: 4 kB / 499.1 MB, free: 2.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005688/0.1176, allocations: 205.2 kB / 499.3 MB, free: 1.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.1176, allocations: 51.41 kB / 499.3 MB, free: 1.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.118, allocations: 405.8 kB / 499.7 MB, free: 1.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1181, allocations: 25.7 kB / 499.7 MB, free: 1.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1182, allocations: 247.1 kB / 500 MB, free: 1.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.1183, allocations: 39.48 kB / 0.4883 GB, free: 1.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.1183, allocations: 4 kB / 0.4883 GB, free: 1.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1184, allocations: 346.8 kB / 0.4886 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.1186, allocations: 64.23 kB / 0.4887 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.1189, allocations: 254 kB / 0.4889 GB, free: 452 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.1191, allocations: 104.1 kB / 0.489 GB, free: 348 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1191, allocations: 4 kB / 0.489 GB, free: 344 kB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.1982/0.3173, allocations: 348.3 kB / 0.4894 GB, free: 42.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3174, allocations: 6.094 kB / 0.4894 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.307e-05/0.3175, allocations: 27.98 kB / 0.4894 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.3175, allocations: 13.16 kB / 0.4894 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.3177, allocations: 63.89 kB / 0.4895 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.3178, allocations: 9.406 kB / 0.4895 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.3181, allocations: 65.52 kB / 0.4895 GB, free: 42.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.3181, allocations: 24.06 kB / 0.4896 GB, free: 42.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0001368/0.3182, allocations: 148.4 kB / 0.4897 GB, free: 42.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.3183, allocations: 38.25 kB / 0.4897 GB, free: 42.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005769/0.3189, allocations: 218.9 kB / 0.49 GB, free: 42.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.3189, allocations: 4.219 kB / 0.49 GB, free: 42.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3189, allocations: 1.375 kB / 0.49 GB, free: 42.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3189, allocations: 1.031 kB / 0.49 GB, free: 42.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.3192, allocations: 285.8 kB / 0.4902 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/0.3192, allocations: 19.75 kB / 0.4902 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.3193, allocations: 13.66 kB / 0.4903 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3193, allocations: 0.875 kB / 0.4903 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3193, allocations: 5.062 kB / 0.4903 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3193, allocations: 1.734 kB / 0.4903 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.3193, allocations: 0.9375 kB / 0.4903 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.3197, allocations: 265.5 kB / 0.4905 GB, free: 42.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.3198, allocations: 109.4 kB / 0.4906 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.3198, allocations: 2.25 kB / 0.4906 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.32, allocations: 11.06 kB / 0.4906 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.32, allocations: 10.27 kB / 0.4907 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.32, allocations: 4.625 kB / 0.4907 GB, free: 42.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002532/0.3203, allocations: 268.6 kB / 0.4909 GB, free: 41.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.3203, allocations: 0 / 0.4909 GB, free: 41.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000568/0.3209, allocations: 127.6 kB / 0.491 GB, free: 41.97 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004186/0.3213, allocations: 195.3 kB / 0.4912 GB, free: 41.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006244/0.3219, allocations: 326 kB / 0.4915 GB, free: 41.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3219, allocations: 0 / 0.4915 GB, free: 41.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.3222, allocations: 192.1 kB / 0.4917 GB, free: 41.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.3227, allocations: 40.12 kB / 0.4918 GB, free: 41.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.3236, allocations: 0.6472 MB / 0.4924 GB, free: 41.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3239, allocations: 0.7802 MB / 0.4931 GB, free: 40.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.3239, allocations: 23.16 kB / 0.4932 GB, free: 40.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3239, allocations: 4 kB / 0.4932 GB, free: 40.56 MB / 378.7 MB Notification: Performance of Templates: time 0.0119/0.3358, allocations: 9.713 MB / 0.5027 GB, free: 39.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube/kc_roundTube.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches