Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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_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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001537/0.001537, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002133/0.002134, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2856/0.2856, allocations: 46.11 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 76.11 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4452, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004382/0.4496, allocations: 2.119 MB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.4527, allocations: 1.715 MB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.453, allocations: 1.438 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.4534, allocations: 91.48 kB / 0.5348 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.4538, allocations: 62.34 kB / 0.5349 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.4551, allocations: 358 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.4554, allocations: 150.7 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.276e-05/0.4555, allocations: 24.92 kB / 0.5354 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.4556, allocations: 51.67 kB / 0.5355 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.4558, allocations: 62.86 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.4558, allocations: 4.156 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.4574, allocations: 0.7861 MB / 0.5363 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.4575, allocations: 30.56 kB / 0.5363 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.4576, allocations: 69.73 kB / 0.5364 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009476/0.4585, allocations: 0.5941 MB / 0.537 GB, free: 9.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4586, allocations: 4 kB / 0.537 GB, free: 9.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4586, allocations: 0 / 0.537 GB, free: 9.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.4586, allocations: 1.219 kB / 0.537 GB, free: 9.086 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008785/0.4595, allocations: 0.5246 MB / 0.5375 GB, free: 8.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4595, allocations: 10.36 kB / 0.5375 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.4596, allocations: 23.33 kB / 0.5375 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.4599, allocations: 211.5 kB / 0.5377 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.4599, allocations: 16.28 kB / 0.5377 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.4599, allocations: 21.19 kB / 0.5378 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.4604, allocations: 262.4 kB / 0.538 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4605, allocations: 0 / 0.538 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.4605, allocations: 9.953 kB / 0.538 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.4605, allocations: 6.344 kB / 0.538 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.4609, allocations: 159.6 kB / 0.5382 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.4622, allocations: 0.9078 MB / 0.5391 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.4624, allocations: 63.36 kB / 0.5391 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.4625, allocations: 31.98 kB / 0.5391 GB, free: 7.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.4626, allocations: 13.5 kB / 0.5392 GB, free: 7.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.4626, allocations: 36.03 kB / 0.5392 GB, free: 7.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.4626, allocations: 0 / 0.5392 GB, free: 7.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004778/0.4631, allocations: 130.2 kB / 0.5393 GB, free: 7.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.4631, allocations: 56.44 kB / 0.5394 GB, free: 6.957 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.4634, allocations: 270 kB / 0.5396 GB, free: 6.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4635, allocations: 25.7 kB / 0.5397 GB, free: 6.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4636, allocations: 181.2 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.4636, allocations: 23.2 kB / 0.5398 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/0.4637, allocations: 54.44 kB / 0.5399 GB, free: 6.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4639, allocations: 335.9 kB / 0.5402 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.4641, allocations: 42.92 kB / 0.5403 GB, free: 6.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.4643, allocations: 201 kB / 0.5405 GB, free: 5.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.4648, allocations: 254.5 kB / 0.5407 GB, free: 5.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4648, allocations: 2.562 kB / 0.5407 GB, free: 5.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006011/0.4654, allocations: 259.6 kB / 0.5409 GB, free: 5.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4655, allocations: 7.875 kB / 0.541 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.773e-05/0.4655, allocations: 16.91 kB / 0.541 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.4656, allocations: 10.78 kB / 0.541 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.4657, allocations: 50.12 kB / 0.541 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.4658, allocations: 10.84 kB / 0.541 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.466, allocations: 42.91 kB / 0.5411 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.466, allocations: 12.44 kB / 0.5411 GB, free: 5.488 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.4661, allocations: 137.3 kB / 0.5412 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.4662, allocations: 20.3 kB / 0.5412 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.4666, allocations: 139.3 kB / 0.5414 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.4666, allocations: 5 kB / 0.5414 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4666, allocations: 1.062 kB / 0.5414 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.4666, allocations: 7.984 kB / 0.5414 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.4669, allocations: 217.9 kB / 0.5416 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/0.467, allocations: 7.344 kB / 0.5416 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.467, allocations: 9.797 kB / 0.5416 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.467, allocations: 0 / 0.5416 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.4671, allocations: 2.312 kB / 0.5416 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4671, allocations: 7.875 kB / 0.5416 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.4671, allocations: 1.125 kB / 0.5416 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.4674, allocations: 210.6 kB / 0.5418 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.4675, allocations: 102.7 kB / 0.5419 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.4676, allocations: 0 / 0.5419 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4677, allocations: 12.23 kB / 0.5419 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.4677, allocations: 2.906 kB / 0.5419 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.4678, allocations: 6.938 kB / 0.5419 GB, free: 4.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.468, allocations: 184.3 kB / 0.5421 GB, free: 4.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.468, allocations: 0 / 0.5421 GB, free: 4.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007036/0.4687, allocations: 108.4 kB / 0.5422 GB, free: 4.547 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.0006606/0.4694, allocations: 200.8 kB / 0.5424 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005569/0.4699, allocations: 197 kB / 0.5426 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4699, allocations: 0 / 0.5426 GB, free: 4.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.4702, allocations: 97.7 kB / 0.5427 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.4706, allocations: 18.27 kB / 0.5427 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007747/0.4714, allocations: 372.6 kB / 0.5431 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.4718, allocations: 0.7243 MB / 0.5438 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.991e-05/0.472, allocations: 30.41 kB / 0.5438 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.472, allocations: 20.16 kB / 0.5438 GB, free: 3.199 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.472, allocations: 4 kB / 0.5438 GB, free: 3.195 MB / 398.1 MB Notification: Performance of Templates: time 0.01543/0.4874, allocations: 6.394 MB / 0.5501 GB, free: 13.7 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches