Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2299/0.2299, allocations: 44.92 MB / 349.6 MB, free: 1.699 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 68.94 kB / 491.8 MB, free: 30.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1158, allocations: 64.25 MB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003468/0.1192, allocations: 2.109 MB / 0.5451 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.1218, allocations: 1.678 MB / 0.5467 GB, free: 288 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.783e-05/0.1219, allocations: 3.938 kB / 0.5467 GB, free: 284 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.1223, allocations: 91.38 kB / 0.5468 GB, free: 192 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.1224, allocations: 67.42 kB / 0.5469 GB, free: 124 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008673/0.1233, allocations: 350.7 kB / 0.5472 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1235, allocations: 143.1 kB / 0.5473 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.653e-05/0.1236, allocations: 16.25 kB / 0.5474 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.1237, allocations: 55.61 kB / 0.5474 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1238, allocations: 63.59 kB / 0.5475 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1238, allocations: 4 kB / 0.5475 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.125, allocations: 0.7607 MB / 0.5482 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.1251, allocations: 27.8 kB / 0.5483 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.892e-05/0.1252, allocations: 75.42 kB / 0.5483 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007768/0.126, allocations: 0.5684 MB / 0.5489 GB, free: 14.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.126, allocations: 0 / 0.5489 GB, free: 14.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.126, allocations: 0 / 0.5489 GB, free: 14.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.126, allocations: 4 kB / 0.5489 GB, free: 14.06 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007383/0.1267, allocations: 0.5141 MB / 0.5494 GB, free: 13.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1268, allocations: 8.031 kB / 0.5494 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.1268, allocations: 54.73 kB / 0.5494 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.1269, allocations: 24.8 kB / 0.5495 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.1271, allocations: 212.4 kB / 0.5497 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1271, allocations: 16.44 kB / 0.5497 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1272, allocations: 16 kB / 0.5497 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.1276, allocations: 267.5 kB / 0.55 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1276, allocations: 0 / 0.55 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.1277, allocations: 12 kB / 0.55 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1277, allocations: 4 kB / 0.55 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.128, allocations: 156.2 kB / 0.5501 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.1292, allocations: 0.9199 MB / 0.551 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1294, allocations: 58.56 kB / 0.5511 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1295, allocations: 32.94 kB / 0.5511 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.1296, allocations: 0 / 0.5511 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.1296, allocations: 30.56 kB / 0.5511 GB, free: 11.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.1296, allocations: 0 / 0.5511 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004997/0.1301, allocations: 145.4 kB / 0.5513 GB, free: 11.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.1302, allocations: 51.41 kB / 0.5513 GB, free: 11.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.1305, allocations: 266.9 kB / 0.5516 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1305, allocations: 29.7 kB / 0.5516 GB, free: 11.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.1307, allocations: 175.5 kB / 0.5518 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.1307, allocations: 23.83 kB / 0.5518 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.1308, allocations: 53.66 kB / 0.5518 GB, free: 10.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.131, allocations: 330.8 kB / 0.5522 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1311, allocations: 52.14 kB / 0.5522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.1314, allocations: 184.1 kB / 0.5524 GB, free: 10.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.1318, allocations: 255.4 kB / 0.5526 GB, free: 9.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.1318, allocations: 4 kB / 0.5526 GB, free: 9.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000492/0.1323, allocations: 257.2 kB / 0.5529 GB, free: 9.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1323, allocations: 8 kB / 0.5529 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/0.1323, allocations: 16.62 kB / 0.5529 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.1323, allocations: 11.94 kB / 0.5529 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.1325, allocations: 51.91 kB / 0.553 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.1325, allocations: 7.938 kB / 0.553 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.1327, allocations: 43.72 kB / 0.553 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.1327, allocations: 16 kB / 0.553 GB, free: 9.398 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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 0.0001306/0.1328, allocations: 137.7 kB / 0.5532 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.1329, allocations: 19.86 kB / 0.5532 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.1333, allocations: 142.8 kB / 0.5533 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1333, allocations: 3.938 kB / 0.5533 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1333, allocations: 0 / 0.5533 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1333, allocations: 0 / 0.5533 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.1336, allocations: 225.5 kB / 0.5535 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.1336, allocations: 12 kB / 0.5535 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.1336, allocations: 4 kB / 0.5535 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1336, allocations: 0 / 0.5535 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1336, allocations: 11.98 kB / 0.5536 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1336, allocations: 3.938 kB / 0.5536 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1336, allocations: 0 / 0.5536 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.134, allocations: 207.3 kB / 0.5538 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.134, allocations: 97.14 kB / 0.5539 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.1341, allocations: 4 kB / 0.5539 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.1342, allocations: 7.938 kB / 0.5539 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.1342, allocations: 7.969 kB / 0.5539 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1342, allocations: 8 kB / 0.5539 GB, free: 8.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.1344, allocations: 186 kB / 0.5541 GB, free: 8.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1344, allocations: 0 / 0.5541 GB, free: 8.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.1349, allocations: 99.75 kB / 0.5542 GB, free: 8.141 MB / 414.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.001008/0.1359, allocations: 0.8253 MB / 0.555 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005171/0.1364, allocations: 196.1 kB / 0.5551 GB, free: 7.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1364, allocations: 0 / 0.5551 GB, free: 7.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.1366, allocations: 95.69 kB / 0.5552 GB, free: 6.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.137, allocations: 34.12 kB / 0.5553 GB, free: 6.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.1402, allocations: 2.494 MB / 0.5577 GB, free: 4.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.1407, allocations: 0.7362 MB / 0.5584 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.03e-05/0.1408, allocations: 25.94 kB / 0.5585 GB, free: 3.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.783e-05/0.1408, allocations: 61.95 kB / 0.5585 GB, free: 3.391 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1408, allocations: 3.938 kB / 0.5585 GB, free: 3.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.1772, allocations: 8.853 MB / 0.5672 GB, free: 10.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.07, allocations: 14.59 kB / 0.5672 GB, free: 10.76 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.281858647242188]