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_flatTube_KC.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.001226/0.001226, allocations: 115.1 kB / 18.5 MB, free: 4.582 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.001281/0.001281, allocations: 190.9 kB / 21.44 MB, free: 1.645 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.436/1.436, allocations: 225.6 MB / 249.8 MB, free: 3.645 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.2253/0.2253, allocations: 44.92 MB / 349.6 MB, free: 1.754 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_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 64.92 kB / 491.8 MB, free: 29.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1172, allocations: 64.25 MB / 0.543 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003729/0.1209, allocations: 2.199 MB / 0.5452 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1226, allocations: 1.063 MB / 0.5462 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.029e-05/0.1227, allocations: 4 kB / 0.5462 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.123, allocations: 87.38 kB / 0.5463 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.1233, allocations: 91.31 kB / 0.5464 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1235, allocations: 119.5 kB / 0.5465 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.1238, allocations: 182.9 kB / 0.5467 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.1238, allocations: 12.41 kB / 0.5467 GB, free: 352 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.124, allocations: 75.52 kB / 0.5468 GB, free: 276 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1241, allocations: 83.5 kB / 0.5468 GB, free: 192 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1241, allocations: 4 kB / 0.5469 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.1245, allocations: 259.7 kB / 0.5471 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.1246, allocations: 35.72 kB / 0.5471 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.473e-05/0.1247, allocations: 79.42 kB / 0.5472 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.1251, allocations: 334.4 kB / 0.5475 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1251, allocations: 0 / 0.5475 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1251, allocations: 4 kB / 0.5475 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1251, allocations: 0 / 0.5475 GB, free: 15.48 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007152/0.1258, allocations: 0.4948 MB / 0.548 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1259, allocations: 12.02 kB / 0.548 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.273e-05/0.1259, allocations: 58.73 kB / 0.5481 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.126, allocations: 28.75 kB / 0.5481 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1263, allocations: 216 kB / 0.5483 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.1263, allocations: 16.81 kB / 0.5483 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.1263, allocations: 23.94 kB / 0.5484 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.1267, allocations: 227.2 kB / 0.5486 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1267, allocations: 0 / 0.5486 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1268, allocations: 8 kB / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1268, allocations: 8 kB / 0.5486 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.1272, allocations: 245.6 kB / 0.5488 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1282, allocations: 0.6199 MB / 0.5494 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.1285, allocations: 102.6 kB / 0.5495 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1286, allocations: 40.84 kB / 0.5496 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1287, allocations: 0 / 0.5496 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.1287, allocations: 38.55 kB / 0.5496 GB, free: 13.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 9.61e-07/0.1287, allocations: 4 kB / 0.5496 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005304/0.1292, allocations: 161.4 kB / 0.5498 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.1293, allocations: 55.41 kB / 0.5498 GB, free: 12.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.1296, allocations: 270.9 kB / 0.5501 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1296, allocations: 29.7 kB / 0.5501 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1297, allocations: 171.6 kB / 0.5503 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.1298, allocations: 39.69 kB / 0.5503 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.1299, allocations: 49.64 kB / 0.5503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.13, allocations: 338.8 kB / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1302, allocations: 47.97 kB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.1304, allocations: 148.8 kB / 0.5509 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.1308, allocations: 200.7 kB / 0.551 GB, free: 11.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1308, allocations: 4 kB / 0.5511 GB, free: 11.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004755/0.1313, allocations: 241.1 kB / 0.5513 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1313, allocations: 7.938 kB / 0.5513 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1313, allocations: 4 kB / 0.5513 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.1314, allocations: 7.984 kB / 0.5513 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.1318, allocations: 83.91 kB / 0.5514 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009047/0.1327, allocations: 1.219 MB / 0.5526 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1328, allocations: 39.72 kB / 0.5526 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.1329, allocations: 12 kB / 0.5526 GB, free: 9.898 MB / 414.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.0001506/0.133, allocations: 141.8 kB / 0.5528 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.1331, allocations: 23.86 kB / 0.5528 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004567/0.1335, allocations: 163.6 kB / 0.5529 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1335, allocations: 4 kB / 0.5529 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1335, allocations: 4 kB / 0.5529 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1335, allocations: 0 / 0.5529 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.1342, allocations: 456 kB / 0.5534 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1342, allocations: 0 / 0.5534 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.1345, allocations: 55.97 kB / 0.5534 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1345, allocations: 160 / 0.5534 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1345, allocations: 15.94 kB / 0.5534 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009024/0.1354, allocations: 1.207 MB / 0.5546 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1354, allocations: 0 / 0.5546 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.1358, allocations: 257.1 kB / 0.5549 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.1359, allocations: 96.97 kB / 0.555 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1359, allocations: 0 / 0.555 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1361, allocations: 11.98 kB / 0.555 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.1361, allocations: 15.98 kB / 0.555 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1361, allocations: 4 kB / 0.555 GB, free: 7.301 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.1363, allocations: 189.9 kB / 0.5552 GB, free: 7.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1363, allocations: 0 / 0.5552 GB, free: 7.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.1367, allocations: 63.88 kB / 0.5552 GB, free: 7.051 MB / 414.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.000913/0.1376, allocations: 0.8309 MB / 0.556 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005521/0.1381, allocations: 159.7 kB / 0.5562 GB, free: 6.031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1381, allocations: 0.875 kB / 0.5562 GB, free: 6.031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.1384, allocations: 96.02 kB / 0.5563 GB, free: 5.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.1389, allocations: 22.09 kB / 0.5563 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.1424, allocations: 2.562 MB / 0.5588 GB, free: 3.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1428, allocations: 0.7323 MB / 0.5595 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.679e-05/0.1429, allocations: 21.94 kB / 0.5595 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.143, allocations: 67.41 kB / 0.5596 GB, free: 2.32 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.143, allocations: 0 / 0.5596 GB, free: 2.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.1731, allocations: 6.158 MB / 0.5656 GB, free: 12.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/11.92, allocations: 15.86 kB / 0.5656 GB, free: 12.39 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.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.026097198948264]