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.001112/0.001112, allocations: 116.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1978/0.1978, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 75.5 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1129, allocations: 62.43 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003326/0.1163, allocations: 2.257 MB / 481.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1178, allocations: 1.094 MB / 483 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.1179, allocations: 0 / 483 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.1182, allocations: 79.5 kB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.1185, allocations: 71.45 kB / 483.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.1188, allocations: 111.6 kB / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.119, allocations: 174.9 kB / 483.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.119, allocations: 20.39 kB / 483.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.1192, allocations: 75.58 kB / 483.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1193, allocations: 87.44 kB / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1194, allocations: 8 kB / 483.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.1197, allocations: 263.6 kB / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.1198, allocations: 23.8 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.518e-05/0.1199, allocations: 83.41 kB / 483.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.1203, allocations: 334.6 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1203, allocations: 4 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1203, allocations: 0 / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1203, allocations: 0 / 484.3 MB, free: 0.8164 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.0006077/0.1209, allocations: 0.4951 MB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1209, allocations: 8.031 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.617e-05/0.121, allocations: 58.72 kB / 484.8 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.1211, allocations: 24.66 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.1213, allocations: 211.9 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1213, allocations: 16.81 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.1213, allocations: 23.94 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.1218, allocations: 227.2 kB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1218, allocations: 0 / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.1218, allocations: 12 kB / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.1218, allocations: 4 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.1223, allocations: 245.6 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1233, allocations: 0.6273 MB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.1236, allocations: 94.62 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1237, allocations: 44.92 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1238, allocations: 4 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1238, allocations: 34.56 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1238, allocations: 0 / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005288/0.1243, allocations: 169.3 kB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1244, allocations: 55.34 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1247, allocations: 270.9 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1247, allocations: 33.64 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1248, allocations: 167.3 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.1249, allocations: 39.55 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.125, allocations: 45.61 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1251, allocations: 342.8 kB / 487.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.1253, allocations: 47.97 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.1255, allocations: 136.8 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.1259, allocations: 216.6 kB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1259, allocations: 0 / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004512/0.1264, allocations: 237 kB / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1264, allocations: 10.66 kB / 488.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1264, allocations: 7.938 kB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1264, allocations: 4 kB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.1268, allocations: 88.33 kB / 488.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00068/0.1275, allocations: 1.219 MB / 489.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.1277, allocations: 35.67 kB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.1277, allocations: 12 kB / 489.5 MB, free: 11.24 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.0001197/0.1279, allocations: 141.8 kB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.1279, allocations: 19.72 kB / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.1284, allocations: 175.6 kB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1284, allocations: 0 / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1284, allocations: 0 / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1284, allocations: 96 / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006378/0.129, allocations: 455.9 kB / 490.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.129, allocations: 0 / 490.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.1293, allocations: 60.03 kB / 490.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1293, allocations: 4 kB / 490.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1293, allocations: 0 / 490.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007123/0.1301, allocations: 1.211 MB / 491.5 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1301, allocations: 4.188 kB / 491.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.1305, allocations: 248.9 kB / 491.8 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.1305, allocations: 104.8 kB / 491.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.1306, allocations: 4 kB / 491.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1307, allocations: 11.98 kB / 491.9 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.1308, allocations: 11.94 kB / 491.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1308, allocations: 7.984 kB / 491.9 MB, free: 8.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.131, allocations: 182 kB / 492.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.131, allocations: 0 / 492.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.1314, allocations: 71.92 kB / 492.2 MB, free: 8.391 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.0008044/0.1322, allocations: 0.8221 MB / 493 MB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005306/0.1327, allocations: 172.3 kB / 493.1 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1327, allocations: 4.25 kB / 493.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.133, allocations: 87.89 kB / 493.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1334, allocations: 25.02 kB / 493.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.1366, allocations: 2.61 MB / 495.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1369, allocations: 0.7363 MB / 496.6 MB, free: 3.695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.84e-05/0.137, allocations: 17.95 kB / 496.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1371, allocations: 67.41 kB / 496.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1371, allocations: 0 / 496.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.157, allocations: 5.908 MB / 0.4908 GB, free: 13.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004164/0.1574, allocations: 288.1 kB / 0.4911 GB, free: 13.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.185, allocations: 0 / 0.4911 GB, free: 13.58 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