Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.0008234/0.0008236, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 201.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.7 MB / 246.8 MB, free: 9.582 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1946/0.1946, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002369/0.0002369, allocations: 8 kB / 419.6 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1044, allocations: 63.56 MB / 483.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002729/0.1072, allocations: 2.375 MB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1094, allocations: 1.547 MB / 487.1 MB, free: 64 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.776e-05/0.1095, allocations: 0 / 487.1 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.1098, allocations: 107.4 kB / 487.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1101, allocations: 111.1 kB / 487.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.1105, allocations: 211.3 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.1108, allocations: 282.1 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.384e-05/0.1109, allocations: 28.67 kB / 487.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.111, allocations: 99.33 kB / 487.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1111, allocations: 123.2 kB / 488.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1112, allocations: 8 kB / 488.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008313/0.112, allocations: 0.6085 MB / 488.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.1121, allocations: 43.66 kB / 488.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1122, allocations: 152.8 kB / 488.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.1128, allocations: 0.5409 MB / 489.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1128, allocations: 0 / 489.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1128, allocations: 0 / 489.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1128, allocations: 0 / 489.4 MB, free: 13.76 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00066/0.1135, allocations: 0.5811 MB / 490 MB, free: 13.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1135, allocations: 12.03 kB / 490 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.684e-05/0.1136, allocations: 70.72 kB / 490.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.1137, allocations: 36.47 kB / 490.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1139, allocations: 247.7 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.1139, allocations: 33.3 kB / 490.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.114, allocations: 39.94 kB / 490.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/0.1146, allocations: 0.5804 MB / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1147, allocations: 3.938 kB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.1147, allocations: 24 kB / 491 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.1147, allocations: 12 kB / 491 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005189/0.1152, allocations: 337.1 kB / 491.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.1175, allocations: 4.051 MB / 495.4 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1177, allocations: 90.55 kB / 495.5 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1179, allocations: 52.89 kB / 495.6 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1179, allocations: 0 / 495.6 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1179, allocations: 30.56 kB / 495.6 MB, free: 7.121 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1179, allocations: 0 / 495.6 MB, free: 7.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005172/0.1185, allocations: 189.1 kB / 495.8 MB, free: 6.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.1185, allocations: 51.41 kB / 495.8 MB, free: 6.867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.1189, allocations: 409.8 kB / 496.2 MB, free: 6.461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1189, allocations: 25.7 kB / 496.3 MB, free: 6.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.1191, allocations: 254.9 kB / 496.5 MB, free: 6.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1191, allocations: 31.64 kB / 496.5 MB, free: 6.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1192, allocations: 37.7 kB / 496.6 MB, free: 6.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1193, allocations: 350.7 kB / 496.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.1195, allocations: 64.55 kB / 497 MB, free: 5.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.1198, allocations: 266.5 kB / 497.2 MB, free: 5.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.1202, allocations: 363.8 kB / 497.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1202, allocations: 4 kB / 497.6 MB, free: 4.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005785/0.1208, allocations: 365.4 kB / 497.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1208, allocations: 8 kB / 498 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1208, allocations: 8 kB / 498 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1209, allocations: 8 kB / 498 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.1213, allocations: 115.8 kB / 498.1 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006254/0.122, allocations: 1.223 MB / 499.3 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.1222, allocations: 63.28 kB / 499.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.1223, allocations: 27.98 kB / 499.4 MB, free: 3 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001316/0.1224, allocations: 145.7 kB / 499.5 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.1225, allocations: 39.47 kB / 499.6 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.1229, allocations: 185 kB / 499.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1229, allocations: 0 / 499.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1229, allocations: 4 kB / 499.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1229, allocations: 0 / 499.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.1232, allocations: 285.4 kB / 0.4883 GB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1232, allocations: 0 / 0.4883 GB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.1235, allocations: 59.91 kB / 0.4884 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1235, allocations: 0 / 0.4884 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1235, allocations: 8 kB / 0.4884 GB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005451/0.1241, allocations: 1.199 MB / 0.4896 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1241, allocations: 0 / 0.4896 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.1244, allocations: 251.7 kB / 0.4898 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.1245, allocations: 108.6 kB / 0.4899 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.1246, allocations: 3.938 kB / 0.4899 GB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.1247, allocations: 11.98 kB / 0.4899 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.1248, allocations: 7.984 kB / 0.4899 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1248, allocations: 8 kB / 0.4899 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.125, allocations: 271.1 kB / 0.4902 GB, free: 296 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1251, allocations: 4 kB / 0.4902 GB, free: 292 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004912/0.1255, allocations: 112 kB / 0.4903 GB, free: 180 kB / 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 (7): * Single equations (assignments): 5 * 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.0008509/0.1264, allocations: 0.8725 MB / 0.4912 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005405/0.127, allocations: 216.8 kB / 0.4914 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.127, allocations: 0 / 0.4914 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.1273, allocations: 88.7 kB / 0.4914 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.1277, allocations: 37.7 kB / 0.4915 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/0.1314, allocations: 3.592 MB / 0.495 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1318, allocations: 0.7716 MB / 0.4957 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.1319, allocations: 38.89 kB / 0.4958 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.132, allocations: 99.41 kB / 0.4959 GB, free: 10.15 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.132, allocations: 4 kB / 0.4959 GB, free: 10.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.022/1.154, allocations: 9.541 MB / 0.5052 GB, free: 0.875 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003228/1.154, allocations: 279.8 kB / 0.5055 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.365/4.519, allocations: 64 / 0.5055 GB, free: 0.4961 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches