Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=500,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_4.1.0-beta.om_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=500,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_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001672/0.001672, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001967, allocations: 201.2 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.567/1.567, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2373/0.2373, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 79.86 kB / 481.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3453, allocations: 62.44 MB / 0.5311 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003965/0.3493, allocations: 2.695 MB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.3517, allocations: 1.476 MB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.3518, allocations: 1.156 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.3522, allocations: 120.2 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.3526, allocations: 122.8 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005953/0.3532, allocations: 270.3 kB / 0.5357 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.3535, allocations: 279.7 kB / 0.536 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.53e-05/0.3536, allocations: 23.86 kB / 0.536 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.3537, allocations: 97.34 kB / 0.5361 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.3539, allocations: 126 kB / 0.5362 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.354, allocations: 7.719 kB / 0.5362 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.355, allocations: 0.6096 MB / 0.5368 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.3551, allocations: 42.81 kB / 0.5368 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.3552, allocations: 134.9 kB / 0.537 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007591/0.356, allocations: 0.5578 MB / 0.5375 GB, free: 8.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.356, allocations: 0 / 0.5375 GB, free: 8.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.356, allocations: 1.062 kB / 0.5375 GB, free: 8.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.356, allocations: 0 / 0.5375 GB, free: 8.664 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.0008596/0.3569, allocations: 0.6435 MB / 0.5381 GB, free: 8.078 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3569, allocations: 13.97 kB / 0.5382 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.357, allocations: 43.48 kB / 0.5382 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.3573, allocations: 249.7 kB / 0.5384 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.3574, allocations: 28.19 kB / 0.5385 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.3574, allocations: 34.94 kB / 0.5385 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.3582, allocations: 0.58 MB / 0.5391 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.3582, allocations: 6.875 kB / 0.5391 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.3583, allocations: 15.31 kB / 0.5391 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.3583, allocations: 11.56 kB / 0.5391 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.3588, allocations: 338.6 kB / 0.5394 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.3617, allocations: 4.048 MB / 0.5434 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.362, allocations: 94.38 kB / 0.5435 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.3621, allocations: 34.25 kB / 0.5435 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3622, allocations: 7.969 kB / 0.5435 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3622, allocations: 36 kB / 0.5435 GB, free: 2.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.3622, allocations: 0 / 0.5435 GB, free: 2.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005382/0.3628, allocations: 168.5 kB / 0.5437 GB, free: 2.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.3628, allocations: 51.41 kB / 0.5437 GB, free: 2.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004437/0.3633, allocations: 412.2 kB / 0.5441 GB, free: 2.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.3633, allocations: 27.14 kB / 0.5442 GB, free: 2.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.3635, allocations: 262.8 kB / 0.5444 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.3635, allocations: 24.16 kB / 0.5444 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3637, allocations: 77.88 kB / 0.5445 GB, free: 2.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3638, allocations: 350.5 kB / 0.5448 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.364, allocations: 56.83 kB / 0.5449 GB, free: 1.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.3644, allocations: 264.9 kB / 0.5451 GB, free: 1.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.3649, allocations: 353.2 kB / 0.5455 GB, free: 1.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3649, allocations: 5.344 kB / 0.5455 GB, free: 1.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006496/0.3656, allocations: 356.5 kB / 0.5458 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3656, allocations: 8.094 kB / 0.5458 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3656, allocations: 7.5 kB / 0.5458 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.3657, allocations: 10.28 kB / 0.5459 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.3661, allocations: 110.6 kB / 0.546 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008747/0.367, allocations: 1.217 MB / 0.5471 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.3674, allocations: 72.61 kB / 0.5472 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.3674, allocations: 18.56 kB / 0.5472 GB, free: 15.61 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.0001655/0.3676, allocations: 161.6 kB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.3676, allocations: 43.98 kB / 0.5474 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.3681, allocations: 171.1 kB / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3681, allocations: 1.062 kB / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3681, allocations: 5.219 kB / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3681, allocations: 0 / 0.5476 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.3685, allocations: 275.5 kB / 0.5479 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3685, allocations: 3.938 kB / 0.5479 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.3687, allocations: 56.94 kB / 0.5479 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3688, allocations: 1.062 kB / 0.5479 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3688, allocations: 1.469 kB / 0.5479 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007523/0.3695, allocations: 1.208 MB / 0.5491 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.3695, allocations: 0 / 0.5491 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.37, allocations: 231.5 kB / 0.5493 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.3701, allocations: 117.6 kB / 0.5494 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.3701, allocations: 5.031 kB / 0.5494 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.3703, allocations: 11.39 kB / 0.5495 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.3704, allocations: 4.562 kB / 0.5495 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.3704, allocations: 2.406 kB / 0.5495 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003119/0.3707, allocations: 276.7 kB / 0.5497 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3707, allocations: 3.938 kB / 0.5497 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006363/0.3713, allocations: 120.6 kB / 0.5498 GB, free: 13.31 MB / 414.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 (7): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0004501/0.3718, allocations: 182.2 kB / 0.55 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006178/0.3724, allocations: 202.3 kB / 0.5502 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3724, allocations: 0 / 0.5502 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.3727, allocations: 74.61 kB / 0.5503 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.3732, allocations: 55.39 kB / 0.5503 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3743, allocations: 0.5008 MB / 0.5508 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.3748, allocations: 0.7639 MB / 0.5516 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.3749, allocations: 38.95 kB / 0.5516 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.375, allocations: 23.44 kB / 0.5516 GB, free: 11.66 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.375, allocations: 0 / 0.5516 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Templates: time 0.01217/0.3871, allocations: 6.376 MB / 0.5579 GB, free: 5.344 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches