Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 104 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.00159, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1782/0.1782, allocations: 46.1 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 80.23 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1081, allocations: 62.44 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004641/0.1128, allocations: 2.187 MB / 481.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.1157, allocations: 1.425 MB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1159, allocations: 0 / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.1163, allocations: 91.48 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1166, allocations: 51.55 kB / 483.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.1173, allocations: 183.2 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.1176, allocations: 162.9 kB / 483.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.341e-05/0.1177, allocations: 16.3 kB / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002964/0.118, allocations: 67.59 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1182, allocations: 63.53 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.1182, allocations: 0 / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009567/0.1192, allocations: 435.4 kB / 484.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.1193, allocations: 27.8 kB / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1194, allocations: 67.55 kB / 484.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008811/0.1203, allocations: 438.4 kB / 484.6 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1203, allocations: 0 / 484.6 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1203, allocations: 0 / 484.6 MB, free: 400 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.1203, allocations: 0 / 484.6 MB, free: 400 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009277/0.1213, allocations: 0.4947 MB / 485.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.1213, allocations: 12.03 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.563e-05/0.1214, allocations: 54.73 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.1215, allocations: 20.75 kB / 485.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1218, allocations: 208 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1218, allocations: 12.38 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.1218, allocations: 19.94 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.1223, allocations: 203.8 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1223, allocations: 0 / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.1223, allocations: 4 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.1224, allocations: 4 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.1227, allocations: 156.2 kB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.1238, allocations: 0.5674 MB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.1241, allocations: 66.55 kB / 486.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.1242, allocations: 36.94 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.1243, allocations: 7.922 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.1244, allocations: 30.56 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.1244, allocations: 0 / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006504/0.125, allocations: 137.3 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.1251, allocations: 59.41 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.1254, allocations: 254.6 kB / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.1255, allocations: 25.7 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1256, allocations: 163.7 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.1257, allocations: 23.73 kB / 487.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1258, allocations: 41.61 kB / 487.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.126, allocations: 330.8 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.1262, allocations: 39.97 kB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.1264, allocations: 132.8 kB / 487.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.1268, allocations: 176.7 kB / 487.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.1268, allocations: 8 kB / 487.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004773/0.1273, allocations: 193.1 kB / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1273, allocations: 15.19 kB / 488 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/0.1274, allocations: 20 kB / 488 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1274, allocations: 4 kB / 488 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1276, allocations: 27.92 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1276, allocations: 4 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.1278, allocations: 39.77 kB / 488.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.1278, allocations: 16 kB / 488.1 MB, free: 12.52 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.1279, allocations: 129.7 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.128, allocations: 19.8 kB / 488.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.1285, allocations: 142.7 kB / 488.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1285, allocations: 4.141 kB / 488.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.1285, allocations: 3.938 kB / 488.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1285, allocations: 7.984 kB / 488.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.1289, allocations: 221.5 kB / 488.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/0.1289, allocations: 8 kB / 488.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.387e-05/0.129, allocations: 4 kB / 488.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.129, allocations: 3.984 kB / 488.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.129, allocations: 8 kB / 488.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.129, allocations: 0 / 488.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.129, allocations: 0 / 488.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.1294, allocations: 203.3 kB / 488.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.1295, allocations: 96.81 kB / 489 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.1295, allocations: 4 kB / 489 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.1296, allocations: 0 / 489 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.1297, allocations: 7.984 kB / 489 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.1297, allocations: 4 kB / 489 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001598/0.1299, allocations: 182 kB / 489.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1299, allocations: 0 / 489.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.1303, allocations: 87.81 kB / 489.2 MB, free: 11.3 MB / 366.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008219/0.1311, allocations: 0.798 MB / 490 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004331/0.1316, allocations: 163.8 kB / 490.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.1316, allocations: 0 / 490.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.1318, allocations: 115.6 kB / 490.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.1322, allocations: 23.7 kB / 490.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.135, allocations: 2.431 MB / 492.8 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1353, allocations: 0.7358 MB / 493.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.515e-05/0.1353, allocations: 21.48 kB / 493.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.1354, allocations: 59.42 kB / 493.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of SimCode: time 5.1e-07/0.1354, allocations: 0 / 493.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2081/0.3435, allocations: 6.422 MB / 0.4883 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/0.3438, allocations: 276.1 kB / 0.4886 GB, free: 160 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/2.959, allocations: 3.266 kB / 0.4886 GB, free: 160 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches