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.001235/0.001235, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 46.09 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 74.52 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1104, allocations: 62.45 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004112/0.1146, allocations: 2.687 MB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.1172, allocations: 1.48 MB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.1175, allocations: 0 / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.118, allocations: 111.2 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005247/0.1185, allocations: 134.8 kB / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.1192, allocations: 263.1 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.1196, allocations: 282 kB / 485.1 MB, free: 200 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.008e-05/0.1197, allocations: 28.66 kB / 485.1 MB, free: 172 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1199, allocations: 95.41 kB / 485.2 MB, free: 76 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.1201, allocations: 123.2 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.1202, allocations: 8 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.1216, allocations: 0.6084 MB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1218, allocations: 39.66 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.122, allocations: 127 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.1231, allocations: 0.5604 MB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1231, allocations: 0 / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1232, allocations: 0 / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.1232, allocations: 4 kB / 486.7 MB, free: 14.61 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.001112/0.1243, allocations: 0.6239 MB / 487.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.1244, allocations: 8.031 kB / 487.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.529e-05/0.1245, allocations: 78.7 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.032e-05/0.1246, allocations: 44.38 kB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.1249, allocations: 239.8 kB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.1249, allocations: 33.38 kB / 487.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.125, allocations: 39.94 kB / 487.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007528/0.1258, allocations: 0.5725 MB / 488.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1258, allocations: 7.938 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.1258, allocations: 16 kB / 488.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.1259, allocations: 12 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.1264, allocations: 333.1 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.1294, allocations: 4.058 MB / 492.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.1297, allocations: 82.55 kB / 492.8 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.1298, allocations: 36.95 kB / 492.8 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1298, allocations: 0 / 492.8 MB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1299, allocations: 42.5 kB / 492.9 MB, free: 7.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1299, allocations: 4 kB / 492.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005292/0.1304, allocations: 161.2 kB / 493 MB, free: 7.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1305, allocations: 55.41 kB / 493.1 MB, free: 7.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.1309, allocations: 409.7 kB / 493.5 MB, free: 7.301 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1309, allocations: 29.7 kB / 493.5 MB, free: 7.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1311, allocations: 251 kB / 493.8 MB, free: 7.016 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.1311, allocations: 35.62 kB / 493.8 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.1312, allocations: 65.94 kB / 493.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1314, allocations: 350.7 kB / 494.2 MB, free: 6.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1315, allocations: 56.61 kB / 494.3 MB, free: 6.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.1318, allocations: 266.4 kB / 494.5 MB, free: 6.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.1323, allocations: 351.9 kB / 494.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1323, allocations: 0 / 494.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006363/0.133, allocations: 353 kB / 495.2 MB, free: 5.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.133, allocations: 10.34 kB / 495.2 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.133, allocations: 11.94 kB / 495.2 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.1331, allocations: 11.94 kB / 495.3 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.1336, allocations: 107.9 kB / 495.4 MB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007539/0.1343, allocations: 1.219 MB / 496.6 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.1346, allocations: 67.27 kB / 496.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.1347, allocations: 20 kB / 496.7 MB, free: 3.855 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.0001625/0.1348, allocations: 156.6 kB / 496.8 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.1349, allocations: 43.47 kB / 496.9 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.1354, allocations: 172.9 kB / 497 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1354, allocations: 7.984 kB / 497 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1354, allocations: 0 / 497 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1354, allocations: 0 / 497 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.1357, allocations: 281.4 kB / 497.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1357, allocations: 0 / 497.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.136, allocations: 51.98 kB / 497.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.136, allocations: 0 / 497.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.136, allocations: 11.92 kB / 497.4 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006797/0.1367, allocations: 1.203 MB / 498.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1367, allocations: 0 / 498.6 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.1371, allocations: 239.7 kB / 498.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.872e-05/0.1372, allocations: 112.6 kB / 498.9 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.723e-05/0.1373, allocations: 7.938 kB / 498.9 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.1375, allocations: 0 / 498.9 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.1375, allocations: 7.984 kB / 498.9 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.1375, allocations: 8 kB / 498.9 MB, free: 1.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.1378, allocations: 275.1 kB / 499.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1378, allocations: 0 / 499.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005284/0.1384, allocations: 108 kB / 499.3 MB, free: 1.055 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 (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.001009/0.1394, allocations: 0.8621 MB / 0.4885 GB, free: 172 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.14, allocations: 213.5 kB / 0.4887 GB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.14, allocations: 0 / 0.4887 GB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.1403, allocations: 75.95 kB / 0.4887 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.1407, allocations: 33.95 kB / 0.4888 GB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.145, allocations: 3.467 MB / 0.4921 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1454, allocations: 0.7678 MB / 0.4929 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.1455, allocations: 38.95 kB / 0.4929 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.1456, allocations: 103.4 kB / 0.493 GB, free: 11.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.823e-06/0.1456, allocations: 0 / 0.493 GB, free: 11.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05592/0.2016, allocations: 9.939 MB / 0.5027 GB, free: 1.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.59, allocations: 11.53 kB / 0.5028 GB, free: 1.445 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