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.001293/0.001293, allocations: 109.8 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001592, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.4 MB, free: 9.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2137/0.2137, allocations: 46.11 MB / 343.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 76.38 kB / 417.2 MB, free: 19.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1031, allocations: 62.44 MB / 479.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003396/0.1065, allocations: 2.199 MB / 481.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1085, allocations: 1.402 MB / 483.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1086, allocations: 0 / 483.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1089, allocations: 75.56 kB / 483.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.1091, allocations: 59.48 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.1097, allocations: 183.4 kB / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.11, allocations: 147 kB / 483.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.541e-05/0.1101, allocations: 16.31 kB / 483.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.1102, allocations: 71.58 kB / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.1103, allocations: 55.66 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1104, allocations: 8 kB / 483.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006012/0.111, allocations: 427.3 kB / 484.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.111, allocations: 31.8 kB / 484.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.1111, allocations: 67.47 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005021/0.1116, allocations: 446.4 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1116, allocations: 0 / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1116, allocations: 0 / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1116, allocations: 0 / 484.8 MB, free: 268 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.0005986/0.1122, allocations: 0.4908 MB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1123, allocations: 12.03 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.1124, allocations: 54.73 kB / 485.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.1124, allocations: 20.69 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.1126, allocations: 212 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1126, allocations: 12.38 kB / 485.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.1127, allocations: 23.94 kB / 485.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.1131, allocations: 195.8 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1131, allocations: 0 / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.1131, allocations: 15.98 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1131, allocations: 8 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.1134, allocations: 144.2 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008818/0.1143, allocations: 0.5791 MB / 486.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1145, allocations: 62.55 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1147, allocations: 32.95 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.1147, allocations: 0 / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1147, allocations: 42.48 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1147, allocations: 0 / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004555/0.1152, allocations: 133.3 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.1153, allocations: 51.41 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.1155, allocations: 262.6 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.1155, allocations: 29.7 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1156, allocations: 163.7 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.1157, allocations: 11.75 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.1158, allocations: 45.61 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1159, allocations: 334.8 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1161, allocations: 43.97 kB / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.1162, allocations: 123.2 kB / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.1166, allocations: 192.6 kB / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1166, allocations: 0 / 488 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003882/0.117, allocations: 189.5 kB / 488.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.117, allocations: 12.06 kB / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.117, allocations: 12.19 kB / 488.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1171, allocations: 4 kB / 488.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.1172, allocations: 43.91 kB / 488.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1172, allocations: 4 kB / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.1173, allocations: 35.58 kB / 488.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.1174, allocations: 12 kB / 488.3 MB, free: 12.39 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 9.877e-05/0.1175, allocations: 129.7 kB / 488.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.1175, allocations: 23.81 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.1179, allocations: 142.7 kB / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1179, allocations: 0 / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1179, allocations: 0 / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1179, allocations: 4 kB / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.1182, allocations: 225.5 kB / 488.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/0.1182, allocations: 8 kB / 488.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.1183, allocations: 11.98 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1183, allocations: 0 / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1183, allocations: 0 / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1183, allocations: 0 / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1183, allocations: 0 / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.1186, allocations: 211.2 kB / 489.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.1187, allocations: 92.83 kB / 489.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.1187, allocations: 4 kB / 489.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1188, allocations: 7.984 kB / 489.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.1189, allocations: 4 kB / 489.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1189, allocations: 0 / 489.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.119, allocations: 186 kB / 489.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.119, allocations: 0 / 489.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003884/0.1194, allocations: 79.88 kB / 489.4 MB, free: 11.18 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.000793/0.1202, allocations: 0.8138 MB / 490.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004515/0.1207, allocations: 175.6 kB / 490.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1207, allocations: 0 / 490.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.1209, allocations: 103.8 kB / 490.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1213, allocations: 24.88 kB / 490.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.1241, allocations: 2.417 MB / 493 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1244, allocations: 0.7319 MB / 493.7 MB, free: 6.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.593e-05/0.1245, allocations: 21.48 kB / 493.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.1246, allocations: 63.41 kB / 493.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1246, allocations: 0 / 493.8 MB, free: 6.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.145, allocations: 6.564 MB / 0.4886 GB, free: 296 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003453/0.1454, allocations: 279.2 kB / 0.4889 GB, free: 15.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.163, allocations: 3.328 kB / 0.4889 GB, free: 15.91 MB / 382.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