Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008962/0.0008963, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 226.5 MB / 243.1 MB, free: 12.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007448/0.0007448, allocations: 92.78 kB / 295.1 MB, free: 4.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1907/0.1907, allocations: 44.84 MB / 392 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002362/0.0002363, allocations: 4 kB / 464.8 MB, free: 68.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08773, allocations: 62.96 MB / 0.5153 GB, free: 5.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.001991/0.08976, allocations: 2.275 MB / 0.5176 GB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.09125, allocations: 1.372 MB / 0.5189 GB, free: 1.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.39e-05/0.09136, allocations: 4 kB / 0.5189 GB, free: 1.406 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.09159, allocations: 87.42 kB / 0.519 GB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.09188, allocations: 115.1 kB / 0.5191 GB, free: 1.207 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.09224, allocations: 195.4 kB / 0.5193 GB, free: 1.016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.09243, allocations: 270.1 kB / 0.5196 GB, free: 0.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.807e-05/0.0925, allocations: 25.02 kB / 0.5196 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.09259, allocations: 87.47 kB / 0.5197 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.09272, allocations: 123.2 kB / 0.5198 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.09275, allocations: 8 kB / 0.5198 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006937/0.09344, allocations: 0.5813 MB / 0.5204 GB, free: 15.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.09351, allocations: 43.66 kB / 0.5204 GB, free: 15.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.09357, allocations: 73.52 kB / 0.5205 GB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.09395, allocations: 362.7 kB / 0.5208 GB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.09397, allocations: 0 / 0.5208 GB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09398, allocations: 4 kB / 0.5208 GB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.09399, allocations: 0 / 0.5208 GB, free: 15.45 MB / 362.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.0006649/0.09466, allocations: 0.5771 MB / 0.5214 GB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.0947, allocations: 8.031 kB / 0.5214 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.09476, allocations: 39.53 kB / 0.5214 GB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.09501, allocations: 242.5 kB / 0.5217 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.09504, allocations: 29 kB / 0.5217 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.09509, allocations: 40 kB / 0.5217 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.09576, allocations: 0.5764 MB / 0.5223 GB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.09579, allocations: 7.938 kB / 0.5223 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.09583, allocations: 20 kB / 0.5223 GB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.09584, allocations: 8 kB / 0.5223 GB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.09635, allocations: 341.1 kB / 0.5226 GB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.09864, allocations: 4.043 MB / 0.5266 GB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.09891, allocations: 102.5 kB / 0.5267 GB, free: 9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.09904, allocations: 40.91 kB / 0.5267 GB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.09908, allocations: 4 kB / 0.5267 GB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.09911, allocations: 38.5 kB / 0.5268 GB, free: 8.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.674e-06/0.09911, allocations: 0 / 0.5268 GB, free: 8.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005167/0.09963, allocations: 185.1 kB / 0.5269 GB, free: 8.719 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.09969, allocations: 55.41 kB / 0.527 GB, free: 8.652 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.1001, allocations: 409.7 kB / 0.5274 GB, free: 8.246 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1002, allocations: 25.7 kB / 0.5274 GB, free: 8.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1004, allocations: 251 kB / 0.5276 GB, free: 7.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.1004, allocations: 31.55 kB / 0.5277 GB, free: 7.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.1004, allocations: 12 kB / 0.5277 GB, free: 7.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1006, allocations: 346.8 kB / 0.528 GB, free: 7.574 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1007, allocations: 60.61 kB / 0.5281 GB, free: 7.512 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.1011, allocations: 266.4 kB / 0.5283 GB, free: 7.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.1013, allocations: 103.8 kB / 0.5284 GB, free: 7.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1013, allocations: 0 / 0.5284 GB, free: 7.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006226/0.1019, allocations: 360.8 kB / 0.5288 GB, free: 6.688 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1019, allocations: 8 kB / 0.5288 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.102, allocations: 8 kB / 0.5288 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.102, allocations: 12 kB / 0.5288 GB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.1025, allocations: 116.5 kB / 0.5289 GB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007678/0.1033, allocations: 1.223 MB / 0.5301 GB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1036, allocations: 59.56 kB / 0.5302 GB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.1036, allocations: 28 kB / 0.5302 GB, free: 5.191 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.1038, allocations: 149.6 kB / 0.5303 GB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.1038, allocations: 35.53 kB / 0.5304 GB, free: 5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.1043, allocations: 192.8 kB / 0.5306 GB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1043, allocations: 0 / 0.5306 GB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1043, allocations: 3.953 kB / 0.5306 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1044, allocations: 0 / 0.5306 GB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.1046, allocations: 281.4 kB / 0.5308 GB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1047, allocations: 4 kB / 0.5308 GB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.1049, allocations: 55.97 kB / 0.5309 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.105, allocations: 0 / 0.5309 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.105, allocations: 0 / 0.5309 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006228/0.1056, allocations: 1.211 MB / 0.5321 GB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1056, allocations: 3.938 kB / 0.5321 GB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.106, allocations: 251 kB / 0.5323 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.1061, allocations: 108.6 kB / 0.5324 GB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.1061, allocations: 4 kB / 0.5324 GB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.1063, allocations: 4 kB / 0.5324 GB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.1063, allocations: 7.984 kB / 0.5324 GB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1063, allocations: 11.94 kB / 0.5324 GB, free: 2.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002443/0.1066, allocations: 267.1 kB / 0.5327 GB, free: 2.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1066, allocations: 0 / 0.5327 GB, free: 2.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004876/0.1071, allocations: 124 kB / 0.5328 GB, free: 2.359 MB / 362.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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000361/0.1075, allocations: 177.5 kB / 0.533 GB, free: 2.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.108, allocations: 217.6 kB / 0.5332 GB, free: 1.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1081, allocations: 4 kB / 0.5332 GB, free: 1.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.1083, allocations: 79.95 kB / 0.5333 GB, free: 1.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1087, allocations: 40.72 kB / 0.5333 GB, free: 1.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/0.1095, allocations: 0.6116 MB / 0.5339 GB, free: 1.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1099, allocations: 0.768 MB / 0.5347 GB, free: 424 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.11, allocations: 31.44 kB / 0.5347 GB, free: 396 kB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.11, allocations: 0 / 0.5347 GB, free: 396 kB / 362.7 MB Notification: Performance of Templates: time 0.008743/0.1187, allocations: 6.745 MB / 0.5413 GB, free: 9.656 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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/kc_roundTube_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches