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.002267/0.002267, allocations: 181.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001096/0.001096, allocations: 90.69 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.311/0.311, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.955e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1232, allocations: 58.85 MB / 484.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5192/0.6425, allocations: 94.34 MB / 0.5649 GB, free: 9.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005021/0.643, allocations: 100.1 kB / 0.565 GB, free: 9.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03948/0.6825, allocations: 7.87 MB / 0.5727 GB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6826, allocations: 3.938 kB / 0.5727 GB, free: 2.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.6826, allocations: 0 / 0.5727 GB, free: 2.484 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.0007682/0.6834, allocations: 464.9 kB / 0.5732 GB, free: 1.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.6835, allocations: 8.031 kB / 0.5732 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.6835, allocations: 27.28 kB / 0.5732 GB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.6838, allocations: 208.8 kB / 0.5734 GB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.6839, allocations: 11.44 kB / 0.5734 GB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.6839, allocations: 27.17 kB / 0.5734 GB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.6846, allocations: 187.4 kB / 0.5736 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.6846, allocations: 0 / 0.5736 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.6847, allocations: 15.19 kB / 0.5736 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.6847, allocations: 4 kB / 0.5736 GB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.6852, allocations: 117.7 kB / 0.5737 GB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.6871, allocations: 0.5788 MB / 0.5743 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.6874, allocations: 52.12 kB / 0.5744 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.537e-05/0.6874, allocations: 19.8 kB / 0.5744 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.6875, allocations: 0 / 0.5744 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.6875, allocations: 38.56 kB / 0.5744 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.435e-06/0.6875, allocations: 0 / 0.5744 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000335/0.6879, allocations: 82.83 kB / 0.5745 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.688, allocations: 51.41 kB / 0.5745 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.6883, allocations: 228.1 kB / 0.5748 GB, free: 496 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.6883, allocations: 25.7 kB / 0.5748 GB, free: 464 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.6885, allocations: 220.3 kB / 0.575 GB, free: 268 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.6886, allocations: 15.56 kB / 0.575 GB, free: 256 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.6886, allocations: 3.938 kB / 0.575 GB, free: 252 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6888, allocations: 330.1 kB / 0.5753 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.6889, allocations: 23.75 kB / 0.5754 GB, free: 15.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.6891, allocations: 122.2 kB / 0.5755 GB, free: 15.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.6892, allocations: 46.48 kB / 0.5755 GB, free: 15.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6892, allocations: 0 / 0.5755 GB, free: 15.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004426/0.6897, allocations: 161.4 kB / 0.5757 GB, free: 15.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.6897, allocations: 11.98 kB / 0.5757 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-05/0.6898, allocations: 8 kB / 0.5757 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.6898, allocations: 8 kB / 0.5757 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.6901, allocations: 31.92 kB / 0.5757 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.6901, allocations: 7.984 kB / 0.5757 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.6904, allocations: 35.19 kB / 0.5758 GB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.6904, allocations: 12 kB / 0.5758 GB, free: 15.46 MB / 394.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 () * 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 0.0001178/0.6906, allocations: 128 kB / 0.5759 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.6906, allocations: 19.72 kB / 0.5759 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004404/0.6911, allocations: 120.8 kB / 0.576 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6911, allocations: 144 / 0.576 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6911, allocations: 0 / 0.576 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6911, allocations: 3.984 kB / 0.576 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.6915, allocations: 225.2 kB / 0.5763 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.886e-05/0.6915, allocations: 11.94 kB / 0.5763 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.6917, allocations: 15.92 kB / 0.5763 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6917, allocations: 0 / 0.5763 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.6917, allocations: 8 kB / 0.5763 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.6917, allocations: 0 / 0.5763 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6917, allocations: 0 / 0.5763 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.6921, allocations: 181.3 kB / 0.5765 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.6922, allocations: 92.91 kB / 0.5765 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.6922, allocations: 0 / 0.5765 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.6925, allocations: 19.42 kB / 0.5766 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.6926, allocations: 8 kB / 0.5766 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.6926, allocations: 0 / 0.5766 GB, free: 14.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.6928, allocations: 176.8 kB / 0.5767 GB, free: 14.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6929, allocations: 0 / 0.5767 GB, free: 14.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006603/0.6935, allocations: 83.02 kB / 0.5768 GB, free: 14.38 MB / 394.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 () * 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.0006053/0.6941, allocations: 201.2 kB / 0.577 GB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.6947, allocations: 148 kB / 0.5772 GB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6947, allocations: 4 kB / 0.5772 GB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.695, allocations: 91.02 kB / 0.5772 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.6953, allocations: 19.41 kB / 0.5773 GB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007417/0.6961, allocations: 239.8 kB / 0.5775 GB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.6965, allocations: 0.7363 MB / 0.5782 GB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.6966, allocations: 19.44 kB / 0.5782 GB, free: 12.89 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6966, allocations: 0 / 0.5782 GB, free: 12.89 MB / 394.7 MB Notification: Performance of Templates: time 0.01043/0.707, allocations: 4.543 MB / 0.5827 GB, free: 8.359 MB / 394.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/jenkins1/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