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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00209/0.00209, allocations: 200.7 kB / 18.73 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.409/1.409, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2527/0.2527, allocations: 46.11 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 79.88 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3334, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004274/0.3377, allocations: 2.691 MB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.3403, allocations: 1.471 MB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.3405, allocations: 1.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.3409, allocations: 118.8 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.3413, allocations: 139.2 kB / 0.535 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.342, allocations: 263.9 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.3425, allocations: 279.1 kB / 0.5355 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.3426, allocations: 24.83 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.3427, allocations: 93.19 kB / 0.5356 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.343, allocations: 134.1 kB / 0.5357 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.343, allocations: 11.56 kB / 0.5357 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.3441, allocations: 0.6025 MB / 0.5363 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.112e-05/0.3442, allocations: 42.3 kB / 0.5364 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.3444, allocations: 138.3 kB / 0.5365 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008138/0.3452, allocations: 0.5571 MB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3452, allocations: 0 / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3452, allocations: 0 / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.3453, allocations: 1.031 kB / 0.5371 GB, free: 8.441 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.0009146/0.3462, allocations: 0.6504 MB / 0.5377 GB, free: 7.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3462, allocations: 8.719 kB / 0.5377 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.676e-05/0.3463, allocations: 74.47 kB / 0.5378 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.3464, allocations: 40.11 kB / 0.5378 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.3467, allocations: 245.8 kB / 0.538 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.3467, allocations: 27.28 kB / 0.5381 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.3468, allocations: 39.41 kB / 0.5381 GB, free: 7.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.3476, allocations: 0.5774 MB / 0.5387 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3476, allocations: 6.469 kB / 0.5387 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.3476, allocations: 22.56 kB / 0.5387 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.3476, allocations: 11.09 kB / 0.5387 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.3482, allocations: 331.2 kB / 0.539 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/0.3512, allocations: 4.054 MB / 0.543 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.3515, allocations: 91.53 kB / 0.5431 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.3516, allocations: 41.02 kB / 0.5431 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3516, allocations: 0.9688 kB / 0.5431 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.3517, allocations: 35.84 kB / 0.5431 GB, free: 2.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.3517, allocations: 0 / 0.5431 GB, free: 2.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005284/0.3522, allocations: 171.4 kB / 0.5433 GB, free: 2.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.3523, allocations: 52.5 kB / 0.5434 GB, free: 2.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.3527, allocations: 412.2 kB / 0.5437 GB, free: 2.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3527, allocations: 27.17 kB / 0.5438 GB, free: 2.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3529, allocations: 258.3 kB / 0.544 GB, free: 1.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.3529, allocations: 29.59 kB / 0.544 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3531, allocations: 72.56 kB / 0.5441 GB, free: 1.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3532, allocations: 351.3 kB / 0.5445 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.3534, allocations: 67.27 kB / 0.5445 GB, free: 1.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.3537, allocations: 260.8 kB / 0.5448 GB, free: 1.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.3542, allocations: 353.6 kB / 0.5451 GB, free: 0.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3542, allocations: 2.25 kB / 0.5451 GB, free: 0.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006128/0.3548, allocations: 355.7 kB / 0.5454 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3549, allocations: 8.281 kB / 0.5455 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3549, allocations: 7.344 kB / 0.5455 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.3549, allocations: 14.03 kB / 0.5455 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.3554, allocations: 107.8 kB / 0.5456 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.3565, allocations: 1.22 MB / 0.5468 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.3568, allocations: 68.72 kB / 0.5468 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.3568, allocations: 21.75 kB / 0.5469 GB, free: 15.31 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.0001624/0.357, allocations: 148.4 kB / 0.547 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.3571, allocations: 40.83 kB / 0.547 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/0.3575, allocations: 170.3 kB / 0.5472 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3575, allocations: 1.125 kB / 0.5472 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3575, allocations: 1.062 kB / 0.5472 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3575, allocations: 0 / 0.5472 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.3579, allocations: 279.2 kB / 0.5475 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3579, allocations: 0 / 0.5475 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.3582, allocations: 53.5 kB / 0.5475 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3582, allocations: 5.094 kB / 0.5475 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.3582, allocations: 5.094 kB / 0.5475 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007444/0.359, allocations: 1.201 MB / 0.5487 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.359, allocations: 3.984 kB / 0.5487 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.3594, allocations: 244 kB / 0.5489 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.3595, allocations: 117.5 kB / 0.549 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.3595, allocations: 7.922 kB / 0.5491 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3597, allocations: 7.984 kB / 0.5491 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.3598, allocations: 8.625 kB / 0.5491 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3598, allocations: 6.453 kB / 0.5491 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002751/0.3601, allocations: 276.7 kB / 0.5493 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3601, allocations: 0 / 0.5493 GB, free: 13.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005359/0.3606, allocations: 113 kB / 0.5494 GB, free: 13.03 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.001042/0.3616, allocations: 0.8539 MB / 0.5503 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005828/0.3622, allocations: 206 kB / 0.5505 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3623, allocations: 5.094 kB / 0.5505 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.3625, allocations: 77.86 kB / 0.5506 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.363, allocations: 46.83 kB / 0.5506 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.3675, allocations: 3.407 MB / 0.5539 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.3679, allocations: 0.7639 MB / 0.5547 GB, free: 7.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.368, allocations: 42.95 kB / 0.5547 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.3682, allocations: 99.41 kB / 0.5548 GB, free: 7.688 MB / 414.1 MB Notification: Performance of SimCode: time 2.435e-06/0.3682, allocations: 3.938 kB / 0.5548 GB, free: 7.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.4045, allocations: 10.12 MB / 0.5647 GB, free: 13.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.63, allocations: 10.27 kB / 0.5647 GB, free: 13.79 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > 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