Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001394, allocations: 112.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 208 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4193, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004105/0.4234, allocations: 2.121 MB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.426, allocations: 1.423 MB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.4262, allocations: 3.938 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.4266, allocations: 84.19 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.4269, allocations: 68.81 kB / 0.5353 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000703/0.4277, allocations: 208.7 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.4279, allocations: 150.5 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.455e-05/0.428, allocations: 21.14 kB / 0.5357 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.4282, allocations: 62.08 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.684e-05/0.4283, allocations: 63.08 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.4283, allocations: 3.562 kB / 0.5358 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006299/0.4289, allocations: 444.4 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.429, allocations: 17.08 kB / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.666e-05/0.4291, allocations: 71.14 kB / 0.5363 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.4297, allocations: 441.2 kB / 0.5367 GB, free: 9.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4297, allocations: 0 / 0.5367 GB, free: 9.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4297, allocations: 0 / 0.5367 GB, free: 9.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4297, allocations: 5.031 kB / 0.5367 GB, free: 9.707 MB / 398.1 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.0006315/0.4303, allocations: 0.492 MB / 0.5372 GB, free: 9.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4304, allocations: 14.61 kB / 0.5372 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.4304, allocations: 18.94 kB / 0.5372 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.4307, allocations: 210.9 kB / 0.5374 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.4307, allocations: 15.84 kB / 0.5374 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.4307, allocations: 19.03 kB / 0.5375 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.4311, allocations: 199.9 kB / 0.5377 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4311, allocations: 5.062 kB / 0.5377 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.4311, allocations: 5.094 kB / 0.5377 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.4312, allocations: 4.594 kB / 0.5377 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.4314, allocations: 154.9 kB / 0.5378 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008344/0.4323, allocations: 0.5658 MB / 0.5384 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.4325, allocations: 70.14 kB / 0.5384 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4326, allocations: 33.38 kB / 0.5385 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.4327, allocations: 0.9688 kB / 0.5385 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.4327, allocations: 31.69 kB / 0.5385 GB, free: 8.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.4327, allocations: 0 / 0.5385 GB, free: 8.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004618/0.4332, allocations: 144.2 kB / 0.5386 GB, free: 8.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.4332, allocations: 51.41 kB / 0.5387 GB, free: 8.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.4335, allocations: 259.2 kB / 0.5389 GB, free: 7.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4335, allocations: 25.7 kB / 0.539 GB, free: 7.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4336, allocations: 167.7 kB / 0.5391 GB, free: 7.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.4337, allocations: 19.36 kB / 0.5391 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.4337, allocations: 41.23 kB / 0.5392 GB, free: 7.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4339, allocations: 336.1 kB / 0.5395 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.434, allocations: 36.72 kB / 0.5395 GB, free: 7.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.4342, allocations: 134.7 kB / 0.5397 GB, free: 7.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.4345, allocations: 186.3 kB / 0.5398 GB, free: 6.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4345, allocations: 1.312 kB / 0.5398 GB, free: 6.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003751/0.4349, allocations: 200.7 kB / 0.54 GB, free: 6.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4349, allocations: 5.906 kB / 0.54 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-05/0.4349, allocations: 14.91 kB / 0.54 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.435, allocations: 4.062 kB / 0.5401 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4351, allocations: 26.89 kB / 0.5401 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.4351, allocations: 12.61 kB / 0.5401 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.4353, allocations: 43.77 kB / 0.5401 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.4353, allocations: 8.75 kB / 0.5401 GB, free: 6.777 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.4354, allocations: 146.9 kB / 0.5403 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.4355, allocations: 16.31 kB / 0.5403 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.4358, allocations: 136.8 kB / 0.5404 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4358, allocations: 4 kB / 0.5404 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4359, allocations: 1.125 kB / 0.5404 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4359, allocations: 0 / 0.5404 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.4361, allocations: 220.8 kB / 0.5406 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.4361, allocations: 9.469 kB / 0.5407 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.4362, allocations: 7.984 kB / 0.5407 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4362, allocations: 0 / 0.5407 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.4362, allocations: 7 kB / 0.5407 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4362, allocations: 0 / 0.5407 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4362, allocations: 1.094 kB / 0.5407 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.4365, allocations: 206.8 kB / 0.5409 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.4366, allocations: 97.75 kB / 0.541 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.4366, allocations: 5.312 kB / 0.541 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.4367, allocations: 3.688 kB / 0.541 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.4368, allocations: 7.672 kB / 0.541 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.4368, allocations: 2.25 kB / 0.541 GB, free: 6.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.437, allocations: 187.5 kB / 0.5412 GB, free: 5.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.437, allocations: 0 / 0.5412 GB, free: 5.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004042/0.4374, allocations: 74.25 kB / 0.5412 GB, free: 5.859 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003392/0.4377, allocations: 168.6 kB / 0.5414 GB, free: 5.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004262/0.4382, allocations: 183.3 kB / 0.5416 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4382, allocations: 0 / 0.5416 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.4384, allocations: 98.44 kB / 0.5417 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.4387, allocations: 22.97 kB / 0.5417 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007055/0.4394, allocations: 393.5 kB / 0.5421 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.4397, allocations: 0.7323 MB / 0.5428 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.4398, allocations: 16.22 kB / 0.5428 GB, free: 4.512 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4398, allocations: 0 / 0.5428 GB, free: 4.512 MB / 398.1 MB Notification: Performance of Templates: time 0.008477/0.4483, allocations: 4.451 MB / 0.5471 GB, free: 1.398 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches