Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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_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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 117.9 kB / 18.46 MB, free: 4.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001776/0.001776, allocations: 206.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 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.2102/0.2102, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 75.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.36, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003726/0.3637, allocations: 2.691 MB / 0.5343 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.3659, allocations: 1.479 MB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.366, allocations: 5.312 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.3664, allocations: 112.8 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.3667, allocations: 127.2 kB / 0.536 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.3673, allocations: 269.5 kB / 0.5363 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.3676, allocations: 283.8 kB / 0.5365 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.615e-05/0.3677, allocations: 26.75 kB / 0.5366 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.3678, allocations: 97.47 kB / 0.5367 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.368, allocations: 121.3 kB / 0.5368 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.368, allocations: 11.31 kB / 0.5368 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009793/0.369, allocations: 0.6065 MB / 0.5374 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.3691, allocations: 43 kB / 0.5374 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3692, allocations: 134.2 kB / 0.5375 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.3699, allocations: 0.5534 MB / 0.5381 GB, free: 8.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3699, allocations: 0 / 0.5381 GB, free: 8.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3699, allocations: 1.094 kB / 0.5381 GB, free: 8.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3699, allocations: 0 / 0.5381 GB, free: 8.715 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000849/0.3708, allocations: 0.6293 MB / 0.5387 GB, free: 8.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3708, allocations: 7.969 kB / 0.5387 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.3709, allocations: 44.72 kB / 0.5388 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3712, allocations: 256.8 kB / 0.539 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.3712, allocations: 27.25 kB / 0.539 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.3713, allocations: 35.06 kB / 0.5391 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007066/0.372, allocations: 0.5769 MB / 0.5396 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.372, allocations: 7.625 kB / 0.5396 GB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.372, allocations: 18.16 kB / 0.5396 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.3721, allocations: 11.56 kB / 0.5397 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.3726, allocations: 334.5 kB / 0.54 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.3751, allocations: 4.042 MB / 0.5439 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.3754, allocations: 99.45 kB / 0.544 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.3755, allocations: 41.8 kB / 0.5441 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3756, allocations: 0.8438 kB / 0.5441 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.3756, allocations: 31.66 kB / 0.5441 GB, free: 2.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.3756, allocations: 0 / 0.5441 GB, free: 2.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005892/0.3762, allocations: 167.4 kB / 0.5442 GB, free: 2.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3762, allocations: 56.66 kB / 0.5443 GB, free: 2.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/0.3768, allocations: 407.8 kB / 0.5447 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.3768, allocations: 26.92 kB / 0.5447 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.3771, allocations: 253.2 kB / 0.545 GB, free: 2.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.3771, allocations: 33.41 kB / 0.545 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3772, allocations: 68.78 kB / 0.5451 GB, free: 2.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3774, allocations: 348.1 kB / 0.5454 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.3776, allocations: 54.95 kB / 0.5454 GB, free: 1.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.378, allocations: 265.4 kB / 0.5457 GB, free: 1.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.3785, allocations: 360.6 kB / 0.546 GB, free: 1.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3785, allocations: 6.344 kB / 0.546 GB, free: 1.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006788/0.3792, allocations: 344.1 kB / 0.5464 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.3792, allocations: 11.69 kB / 0.5464 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.3793, allocations: 7.969 kB / 0.5464 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/0.3793, allocations: 9.875 kB / 0.5464 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.3798, allocations: 115.4 kB / 0.5465 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007886/0.3806, allocations: 1.213 MB / 0.5477 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.381, allocations: 71.89 kB / 0.5478 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.381, allocations: 18.94 kB / 0.5478 GB, free: 15.69 MB / 414.1 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.3812, allocations: 154.1 kB / 0.5479 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.3812, allocations: 42.75 kB / 0.548 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.3817, allocations: 171.1 kB / 0.5481 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3817, allocations: 5.141 kB / 0.5481 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3817, allocations: 0 / 0.5481 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.3818, allocations: 105.2 kB / 0.5482 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.3818, allocations: 5.156 kB / 0.5482 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.382, allocations: 7.609 kB / 0.5482 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.3821, allocations: 12.36 kB / 0.5483 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000556/0.3827, allocations: 240.8 kB / 0.5485 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004857/0.3832, allocations: 371.8 kB / 0.5488 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001194/0.3833, allocations: 33.75 kB / 0.5489 GB, free: 14.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002596/0.3836, allocations: 275.8 kB / 0.5491 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Backend: time 8.52e-07/0.3836, allocations: 0 / 0.5491 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.3847, allocations: 328.5 kB / 0.5495 GB, free: 14.48 MB / 414.1 MB Notification: Performance of SimCode: time 0.001139/0.3858, allocations: 0.9888 MB / 0.5504 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Templates: time 0.01175/0.3976, allocations: 6.947 MB / 0.5572 GB, free: 6.754 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches