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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_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.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009351/0.0009354, allocations: 199.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.5 MB / 244.1 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008181/0.0008181, allocations: 109.1 kB / 296.2 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3052/0.3052, allocations: 44.83 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002767, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3301, allocations: 62.95 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4519, allocations: 101.9 MB / 0.616 GB, free: 3.508 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.4523, allocations: 95.94 kB / 0.6161 GB, free: 3.414 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03031/0.4826, allocations: 10.82 MB / 0.6266 GB, free: 8.578 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4826, allocations: 0 / 0.6266 GB, free: 8.578 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.4826, allocations: 4 kB / 0.6266 GB, free: 8.574 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006673/0.4833, allocations: 0.499 MB / 0.6271 GB, free: 8.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4834, allocations: 12.03 kB / 0.6271 GB, free: 8.008 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.4834, allocations: 20.66 kB / 0.6271 GB, free: 7.988 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.4836, allocations: 216.5 kB / 0.6274 GB, free: 7.738 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.4836, allocations: 16.81 kB / 0.6274 GB, free: 7.723 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.4837, allocations: 20.31 kB / 0.6274 GB, free: 7.703 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.4841, allocations: 271.7 kB / 0.6276 GB, free: 7.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4841, allocations: 3.938 kB / 0.6277 GB, free: 7.414 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.4841, allocations: 8 kB / 0.6277 GB, free: 7.406 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.4841, allocations: 11.94 kB / 0.6277 GB, free: 7.395 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.4844, allocations: 168.2 kB / 0.6278 GB, free: 7.227 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009205/0.4853, allocations: 0.9001 MB / 0.6287 GB, free: 6.258 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.4855, allocations: 66.55 kB / 0.6288 GB, free: 6.184 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.4857, allocations: 44.94 kB / 0.6288 GB, free: 6.137 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.4857, allocations: 0 / 0.6288 GB, free: 6.137 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.4857, allocations: 34.5 kB / 0.6288 GB, free: 6.094 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.4857, allocations: 0 / 0.6288 GB, free: 6.094 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004125/0.4861, allocations: 149.4 kB / 0.629 GB, free: 5.941 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.4862, allocations: 51.41 kB / 0.629 GB, free: 5.879 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.4864, allocations: 262.9 kB / 0.6293 GB, free: 5.609 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4864, allocations: 33.7 kB / 0.6293 GB, free: 5.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4865, allocations: 179 kB / 0.6295 GB, free: 5.391 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.4866, allocations: 19.8 kB / 0.6295 GB, free: 5.371 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/0.4866, allocations: 0 / 0.6295 GB, free: 5.371 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4867, allocations: 338.8 kB / 0.6298 GB, free: 5.031 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.4868, allocations: 52.19 kB / 0.6299 GB, free: 4.977 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.487, allocations: 188.1 kB / 0.6301 GB, free: 4.723 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.4874, allocations: 271.6 kB / 0.6303 GB, free: 4.387 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4874, allocations: 0 / 0.6303 GB, free: 4.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004433/0.4879, allocations: 272.9 kB / 0.6306 GB, free: 4.113 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4879, allocations: 4.688 kB / 0.6306 GB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.4879, allocations: 16 kB / 0.6306 GB, free: 4.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.488, allocations: 11.98 kB / 0.6306 GB, free: 4.082 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.4881, allocations: 55.91 kB / 0.6307 GB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4881, allocations: 7.938 kB / 0.6307 GB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.4883, allocations: 43.61 kB / 0.6307 GB, free: 3.977 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.4883, allocations: 23.88 kB / 0.6307 GB, free: 3.953 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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 (25): * Single equations (assignments): 23 * 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.0001055/0.4884, allocations: 129.8 kB / 0.6309 GB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.4885, allocations: 23.72 kB / 0.6309 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.4889, allocations: 150.8 kB / 0.631 GB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4889, allocations: 4 kB / 0.631 GB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4889, allocations: 0 / 0.631 GB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4889, allocations: 0 / 0.631 GB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.4891, allocations: 221.5 kB / 0.6312 GB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.4891, allocations: 11.98 kB / 0.6313 GB, free: 3.355 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.4892, allocations: 11.94 kB / 0.6313 GB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4892, allocations: 0 / 0.6313 GB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.4892, allocations: 4 kB / 0.6313 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4892, allocations: 3.938 kB / 0.6313 GB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4892, allocations: 7.984 kB / 0.6313 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.4895, allocations: 215.2 kB / 0.6315 GB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.4896, allocations: 92.83 kB / 0.6316 GB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.4896, allocations: 3.984 kB / 0.6316 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4898, allocations: 12 kB / 0.6316 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.4898, allocations: 7.984 kB / 0.6316 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.4898, allocations: 4 kB / 0.6316 GB, free: 2.965 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001448/0.49, allocations: 181.9 kB / 0.6318 GB, free: 2.785 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.49, allocations: 4 kB / 0.6318 GB, free: 2.781 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005803/0.4906, allocations: 123.9 kB / 0.6319 GB, free: 2.66 MB / 442.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.0004645/0.491, allocations: 243.8 kB / 0.6321 GB, free: 2.414 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004384/0.4915, allocations: 203.8 kB / 0.6323 GB, free: 2.203 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4915, allocations: 0 / 0.6323 GB, free: 2.203 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.4917, allocations: 115.9 kB / 0.6324 GB, free: 2.078 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.492, allocations: 24.83 kB / 0.6325 GB, free: 2.051 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.4926, allocations: 448.9 kB / 0.6329 GB, free: 1.574 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.4929, allocations: 0.729 MB / 0.6336 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.4929, allocations: 15.44 kB / 0.6336 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.493, allocations: 0 / 0.6336 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of Templates: time 0.006774/0.4997, allocations: 5.344 MB / 0.6388 GB, free: 11.48 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches