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.0009021/0.000902, allocations: 93.53 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 205.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1996/0.1996, allocations: 46.2 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002545/0.0002544, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 63.55 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002393/0.1106, allocations: 1.907 MB / 485.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1123, allocations: 1.094 MB / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.1124, allocations: 4 kB / 486.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.1128, allocations: 79.5 kB / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.1131, allocations: 75.45 kB / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1134, allocations: 91.66 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1137, allocations: 190.9 kB / 486.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.1138, allocations: 16.41 kB / 486.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.114, allocations: 67.58 kB / 486.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1141, allocations: 91.44 kB / 486.8 MB, free: 448 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.1141, allocations: 4 kB / 486.8 MB, free: 444 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.1146, allocations: 263.6 kB / 487.1 MB, free: 180 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.1146, allocations: 27.78 kB / 487.1 MB, free: 152 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.1147, allocations: 101.1 kB / 487.2 MB, free: 44 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.1152, allocations: 334.6 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1152, allocations: 4 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1152, allocations: 0 / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1152, allocations: 0 / 487.5 MB, free: 15.71 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005604/0.1158, allocations: 483.1 kB / 488 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1158, allocations: 8.031 kB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.1159, allocations: 54.73 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1159, allocations: 24.66 kB / 488.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1162, allocations: 216 kB / 488.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1162, allocations: 16.81 kB / 488.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.1162, allocations: 23.94 kB / 488.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.1166, allocations: 231.2 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1167, allocations: 0 / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.1167, allocations: 12 kB / 488.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1167, allocations: 4 kB / 488.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.1172, allocations: 261.6 kB / 488.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009485/0.1181, allocations: 0.6235 MB / 489.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.1184, allocations: 102.6 kB / 489.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.1185, allocations: 48.92 kB / 489.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1186, allocations: 8 kB / 489.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1186, allocations: 34.56 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1186, allocations: 0 / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005335/0.1192, allocations: 189.3 kB / 489.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1192, allocations: 51.41 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.1195, allocations: 266.9 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1195, allocations: 25.7 kB / 490.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.1196, allocations: 175.2 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.1196, allocations: 39.53 kB / 490.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1197, allocations: 21.72 kB / 490.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1198, allocations: 342.8 kB / 490.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.12, allocations: 55.95 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1202, allocations: 152.8 kB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.1206, allocations: 208.7 kB / 491.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1206, allocations: 4 kB / 491.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004833/0.1211, allocations: 253.4 kB / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1211, allocations: 11.03 kB / 491.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1211, allocations: 4 kB / 491.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1211, allocations: 7.938 kB / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.1215, allocations: 83.91 kB / 491.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006679/0.1222, allocations: 1.223 MB / 492.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1224, allocations: 39.59 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.1224, allocations: 12 kB / 492.8 MB, free: 10.1 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.0001262/0.1225, allocations: 141.6 kB / 492.9 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.1226, allocations: 23.72 kB / 492.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/0.123, allocations: 183.3 kB / 493.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1231, allocations: 0 / 493.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1231, allocations: 0 / 493.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1231, allocations: 3.984 kB / 493.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.1237, allocations: 456.1 kB / 493.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.1237, allocations: 4 kB / 493.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.1239, allocations: 59.91 kB / 493.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.124, allocations: 4 kB / 493.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.124, allocations: 0 / 493.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005946/0.1246, allocations: 1.223 MB / 494.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1246, allocations: 4.031 kB / 494.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.125, allocations: 257 kB / 495.1 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.1251, allocations: 96.83 kB / 495.2 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.1251, allocations: 3.984 kB / 495.2 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1253, allocations: 8 kB / 495.2 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.1253, allocations: 15.98 kB / 495.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1253, allocations: 4 kB / 495.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1255, allocations: 186 kB / 495.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1255, allocations: 4 kB / 495.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.1259, allocations: 63.94 kB / 495.5 MB, free: 7.223 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.0007952/0.1267, allocations: 0.8389 MB / 496.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005204/0.1272, allocations: 175.8 kB / 496.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1272, allocations: 7.938 kB / 496.5 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.1275, allocations: 92.89 kB / 496.6 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1279, allocations: 25.09 kB / 496.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.1311, allocations: 2.675 MB / 499.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1314, allocations: 0.74 MB / 0.4883 GB, free: 2.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.612e-05/0.1315, allocations: 21.95 kB / 0.4883 GB, free: 2.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.1316, allocations: 63.41 kB / 0.4884 GB, free: 2.344 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1316, allocations: 0 / 0.4884 GB, free: 2.344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.169/1.301, allocations: 5.673 MB / 0.4939 GB, free: 12.93 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/1.301, allocations: 285.1 kB / 0.4942 GB, free: 12.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.302/4.603, allocations: 4 kB / 0.4942 GB, free: 12.55 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