Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.001293/0.001293, allocations: 121.7 kB / 17.79 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.001369/0.001369, allocations: 200.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2143/0.2144, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3463, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003537/0.3498, allocations: 2.194 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3513, allocations: 1.098 MB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.3514, allocations: 1.656 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.3517, allocations: 87.03 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.352, allocations: 85.95 kB / 0.5339 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.3524, allocations: 125.7 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3526, allocations: 183.7 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.696e-05/0.3527, allocations: 14.03 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.3529, allocations: 79.2 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.353, allocations: 84.31 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.353, allocations: 6.875 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004888/0.3535, allocations: 270.6 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.3536, allocations: 27.92 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.199e-05/0.3537, allocations: 81.53 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.3542, allocations: 333.2 kB / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3542, allocations: 0 / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3542, allocations: 0 / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3542, allocations: 0 / 0.5351 GB, free: 9.918 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006461/0.3549, allocations: 0.493 MB / 0.5356 GB, free: 9.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3549, allocations: 9.656 kB / 0.5356 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.355, allocations: 57.25 kB / 0.5356 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.355, allocations: 25.53 kB / 0.5356 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3553, allocations: 214.2 kB / 0.5359 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.3553, allocations: 16.5 kB / 0.5359 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.3553, allocations: 26.19 kB / 0.5359 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.3558, allocations: 234.1 kB / 0.5361 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3558, allocations: 0 / 0.5361 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.3558, allocations: 10.34 kB / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3558, allocations: 5.562 kB / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.3563, allocations: 246.4 kB / 0.5364 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.3574, allocations: 0.6193 MB / 0.537 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.3577, allocations: 104.4 kB / 0.5371 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.3578, allocations: 47.3 kB / 0.5371 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3578, allocations: 1.406 kB / 0.5371 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3579, allocations: 31.75 kB / 0.5371 GB, free: 8.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.3579, allocations: 0 / 0.5371 GB, free: 8.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006691/0.3586, allocations: 172.1 kB / 0.5373 GB, free: 8.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.3586, allocations: 52.41 kB / 0.5374 GB, free: 8.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3589, allocations: 268.6 kB / 0.5376 GB, free: 7.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3589, allocations: 29.8 kB / 0.5376 GB, free: 7.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3591, allocations: 175.3 kB / 0.5378 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.3591, allocations: 37.19 kB / 0.5379 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.3592, allocations: 51.3 kB / 0.5379 GB, free: 7.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3593, allocations: 339.8 kB / 0.5382 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3595, allocations: 45.41 kB / 0.5383 GB, free: 7.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.3597, allocations: 153.6 kB / 0.5384 GB, free: 7.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.3601, allocations: 209 kB / 0.5386 GB, free: 6.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3601, allocations: 1.375 kB / 0.5386 GB, free: 6.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004795/0.3606, allocations: 241.4 kB / 0.5388 GB, free: 6.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3606, allocations: 6.812 kB / 0.5389 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3606, allocations: 4 kB / 0.5389 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3607, allocations: 3.969 kB / 0.5389 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.3611, allocations: 84.8 kB / 0.5389 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008806/0.3619, allocations: 1.217 MB / 0.5401 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.3622, allocations: 44.64 kB / 0.5402 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.3622, allocations: 10.56 kB / 0.5402 GB, free: 5.504 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 (25): * Single equations (assignments): 23 * 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.0001213/0.3623, allocations: 131.5 kB / 0.5403 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.3624, allocations: 18.16 kB / 0.5403 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.3628, allocations: 177.1 kB / 0.5405 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.3628, allocations: 1 kB / 0.5405 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3628, allocations: 1.281 kB / 0.5405 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3628, allocations: 0 / 0.5405 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.3635, allocations: 454.2 kB / 0.5409 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3635, allocations: 5.094 kB / 0.5409 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.3638, allocations: 55.91 kB / 0.541 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3638, allocations: 1.969 kB / 0.541 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3638, allocations: 2.125 kB / 0.541 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006798/0.3645, allocations: 1.215 MB / 0.5422 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3645, allocations: 0 / 0.5422 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/0.3649, allocations: 250.8 kB / 0.5424 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.365, allocations: 102.2 kB / 0.5425 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.3651, allocations: 2.406 kB / 0.5425 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.3652, allocations: 8.734 kB / 0.5425 GB, free: 3.289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.3653, allocations: 8.5 kB / 0.5425 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3653, allocations: 12.48 kB / 0.5425 GB, free: 3.277 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.3655, allocations: 186.2 kB / 0.5427 GB, free: 3.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3655, allocations: 0 / 0.5427 GB, free: 3.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000542/0.366, allocations: 66.77 kB / 0.5428 GB, free: 3.141 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.001178/0.3672, allocations: 0.8312 MB / 0.5436 GB, free: 2.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.3678, allocations: 164.7 kB / 0.5438 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3678, allocations: 0 / 0.5438 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.3681, allocations: 87.7 kB / 0.5438 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.3685, allocations: 23.44 kB / 0.5439 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.3719, allocations: 2.556 MB / 0.5464 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.3724, allocations: 0.734 MB / 0.5471 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.95e-05/0.3725, allocations: 23.83 kB / 0.5471 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.963e-05/0.3727, allocations: 65.5 kB / 0.5472 GB, free: 15.43 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3727, allocations: 3.938 kB / 0.5472 GB, free: 15.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3989, allocations: 6.264 MB / 0.5533 GB, free: 9.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.48, allocations: 5.516 kB / 0.5533 GB, free: 9.984 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches