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.001317/0.001317, allocations: 101.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2447/0.2447, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 76.73 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1016, allocations: 62.45 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003868/0.1055, allocations: 2.257 MB / 481.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1073, allocations: 1.11 MB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.1075, allocations: 0 / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.1079, allocations: 87.5 kB / 482.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.1083, allocations: 75.45 kB / 482.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1086, allocations: 91.66 kB / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.1089, allocations: 178.9 kB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.1089, allocations: 24.33 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.1092, allocations: 79.58 kB / 483.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1093, allocations: 87.44 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.1094, allocations: 4 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.1098, allocations: 255.7 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.1099, allocations: 31.78 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.11, allocations: 79.42 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.1104, allocations: 334.6 kB / 484.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1104, allocations: 0 / 484.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1104, allocations: 0 / 484.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1105, allocations: 0 / 484.1 MB, free: 0.9336 MB / 350.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.0006702/0.1111, allocations: 0.503 MB / 484.6 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1112, allocations: 8.031 kB / 484.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/0.1112, allocations: 54.73 kB / 484.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.1113, allocations: 24.66 kB / 484.7 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1115, allocations: 215.9 kB / 484.9 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1115, allocations: 16.81 kB / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.1116, allocations: 19.94 kB / 484.9 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.112, allocations: 227.3 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.112, allocations: 0 / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.1121, allocations: 12 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.1121, allocations: 7.938 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.1125, allocations: 249.6 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1135, allocations: 0.6234 MB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1138, allocations: 102.6 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.114, allocations: 40.88 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.114, allocations: 4 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1141, allocations: 30.56 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1141, allocations: 4 kB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005355/0.1146, allocations: 165.3 kB / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1147, allocations: 55.34 kB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.1149, allocations: 274.8 kB / 486.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.115, allocations: 25.7 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1151, allocations: 167.3 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.1151, allocations: 47.53 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-05/0.1152, allocations: 45.61 kB / 487 MB, free: 13.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1153, allocations: 338.8 kB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1155, allocations: 51.95 kB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.1157, allocations: 140.8 kB / 487.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.1161, allocations: 216.5 kB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1161, allocations: 0 / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004897/0.1166, allocations: 233.2 kB / 487.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1167, allocations: 11.94 kB / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1167, allocations: 4 kB / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1167, allocations: 4 kB / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.1171, allocations: 79.91 kB / 488 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007953/0.1179, allocations: 1.227 MB / 489.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.1181, allocations: 27.69 kB / 489.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.1182, allocations: 12 kB / 489.3 MB, free: 11.36 MB / 366.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.0001436/0.1183, allocations: 141.8 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.1184, allocations: 23.72 kB / 489.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.1188, allocations: 167.6 kB / 489.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1188, allocations: 96 / 489.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1188, allocations: 7.938 kB / 489.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1188, allocations: 3.984 kB / 489.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.1195, allocations: 444 kB / 490 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1195, allocations: 0 / 490 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/0.1197, allocations: 55.97 kB / 490.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1198, allocations: 4 kB / 490.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1198, allocations: 4.062 kB / 490.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006656/0.1204, allocations: 1.215 MB / 491.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1205, allocations: 0 / 491.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.1208, allocations: 253 kB / 491.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.1209, allocations: 96.81 kB / 491.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.1209, allocations: 8 kB / 491.7 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1211, allocations: 11.98 kB / 491.7 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1212, allocations: 15.92 kB / 491.7 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1212, allocations: 8 kB / 491.7 MB, free: 8.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.1214, allocations: 186 kB / 491.9 MB, free: 8.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1214, allocations: 0 / 491.9 MB, free: 8.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.1218, allocations: 67.94 kB / 492 MB, free: 8.504 MB / 366.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.0008349/0.1226, allocations: 0.8153 MB / 492.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005291/0.1231, allocations: 171.7 kB / 492.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1232, allocations: 0.875 kB / 492.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.1234, allocations: 88.02 kB / 493 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.1239, allocations: 32.56 kB / 493.1 MB, free: 7.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.127, allocations: 2.624 MB / 495.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1273, allocations: 0.7285 MB / 496.4 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.861e-05/0.1274, allocations: 21.94 kB / 496.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/0.1275, allocations: 59.42 kB / 496.5 MB, free: 3.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1275, allocations: 0 / 496.5 MB, free: 3.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2301/0.3576, allocations: 5.768 MB / 0.4905 GB, free: 14.2 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004821/0.3582, allocations: 286.9 kB / 0.4908 GB, free: 13.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/2.812, allocations: 2.344 kB / 0.4908 GB, free: 13.81 MB / 382.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