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.001001/0.001001, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 73.89 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003612/0.1077, allocations: 2.196 MB / 482.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1095, allocations: 1.102 MB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1097, allocations: 4 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.1101, allocations: 91.36 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000441/0.1106, allocations: 87.33 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.111, allocations: 115.5 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.1113, allocations: 178.9 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.1114, allocations: 12.41 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.1117, allocations: 75.58 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.1118, allocations: 87.44 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.1119, allocations: 8 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.1124, allocations: 271.6 kB / 484.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.1125, allocations: 27.8 kB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.799e-05/0.1126, allocations: 79.45 kB / 484.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004667/0.1131, allocations: 326.6 kB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1131, allocations: 0 / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1131, allocations: 0 / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1131, allocations: 3.938 kB / 484.8 MB, free: 0.5 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.0006409/0.1137, allocations: 0.4953 MB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1138, allocations: 8.031 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.013e-05/0.1139, allocations: 62.72 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.1139, allocations: 24.66 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1141, allocations: 212 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1142, allocations: 16.81 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1142, allocations: 23.94 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.1146, allocations: 231.2 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1146, allocations: 0 / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.1147, allocations: 8 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1147, allocations: 4 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.1151, allocations: 253.5 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.1162, allocations: 0.6118 MB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.1165, allocations: 106.5 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.1166, allocations: 40.98 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.1167, allocations: 7.938 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1167, allocations: 34.56 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1167, allocations: 0 / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005272/0.1172, allocations: 165.3 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.1173, allocations: 55.41 kB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.1175, allocations: 270.9 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1176, allocations: 29.7 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1177, allocations: 175.3 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1177, allocations: 35.53 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.13e-05/0.1178, allocations: 45.61 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1179, allocations: 342.8 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1181, allocations: 47.97 kB / 488 MB, free: 13.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.1183, allocations: 144.8 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.1187, allocations: 216.6 kB / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1187, allocations: 0 / 488.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004826/0.1192, allocations: 229.5 kB / 488.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1192, allocations: 10.5 kB / 488.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.1192, allocations: 8 kB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1193, allocations: 7.938 kB / 488.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.1196, allocations: 87.89 kB / 488.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007317/0.1204, allocations: 1.219 MB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1206, allocations: 35.67 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1206, allocations: 8 kB / 490 MB, free: 10.92 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.0001179/0.1207, allocations: 142 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.1208, allocations: 19.72 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004385/0.1212, allocations: 175.2 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1213, allocations: 0 / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1213, allocations: 0 / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1213, allocations: 0 / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006157/0.1219, allocations: 456 kB / 490.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1219, allocations: 0 / 490.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.1222, allocations: 59.91 kB / 490.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1222, allocations: 4 kB / 490.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1222, allocations: 4 kB / 490.8 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006325/0.1228, allocations: 1.215 MB / 492 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.1229, allocations: 4.016 kB / 492.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.1232, allocations: 253 kB / 492.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.1233, allocations: 96.81 kB / 492.4 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.1234, allocations: 4 kB / 492.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1235, allocations: 11.98 kB / 492.4 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.1236, allocations: 4 kB / 492.4 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1236, allocations: 4 kB / 492.4 MB, free: 8.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.1238, allocations: 186 kB / 492.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1238, allocations: 0 / 492.6 MB, free: 8.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004584/0.1243, allocations: 75.92 kB / 492.7 MB, free: 8.066 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.0008825/0.1252, allocations: 0.8183 MB / 493.5 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005669/0.1258, allocations: 176 kB / 493.7 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1258, allocations: 3.938 kB / 493.7 MB, free: 7.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.1261, allocations: 83.83 kB / 493.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.1265, allocations: 29.89 kB / 493.8 MB, free: 6.934 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.1297, allocations: 2.555 MB / 496.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.13, allocations: 0.7363 MB / 497.1 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.106e-05/0.1301, allocations: 21.94 kB / 497.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.1302, allocations: 67.41 kB / 497.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1303, allocations: 3.938 kB / 497.2 MB, free: 3.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.157, allocations: 6.045 MB / 0.4914 GB, free: 13.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.18, allocations: 3.547 kB / 0.4914 GB, free: 13.5 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