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.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.001749/0.001749, 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.002105/0.002105, 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.436/1.436, 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.2231/0.2231, allocations: 44.92 MB / 349.6 MB, free: 1.707 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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.72 kB / 491.8 MB, free: 30.1 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1373, allocations: 64.26 MB / 0.543 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003922/0.1412, allocations: 2.128 MB / 0.5451 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1433, allocations: 1.386 MB / 0.5465 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.1434, allocations: 4 kB / 0.5465 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.1438, allocations: 79.45 kB / 0.5465 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1439, allocations: 71.42 kB / 0.5466 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.1445, allocations: 203.1 kB / 0.5468 GB, free: 212 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1447, allocations: 147 kB / 0.5469 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.26e-05/0.1448, allocations: 24.22 kB / 0.547 GB, free: 36 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1449, allocations: 51.8 kB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.145, allocations: 67.53 kB / 0.5471 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.145, allocations: 4 kB / 0.5471 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006279/0.1457, allocations: 427.3 kB / 0.5475 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.1457, allocations: 23.84 kB / 0.5475 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.06e-05/0.1458, allocations: 79.36 kB / 0.5476 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006088/0.1464, allocations: 438.2 kB / 0.548 GB, free: 14.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1464, allocations: 0 / 0.548 GB, free: 14.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1464, allocations: 0 / 0.548 GB, free: 14.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1464, allocations: 7.938 kB / 0.548 GB, free: 14.96 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007444/0.1472, allocations: 0.4944 MB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1472, allocations: 8.031 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.1473, allocations: 54.73 kB / 0.5486 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.1473, allocations: 20.8 kB / 0.5486 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1476, allocations: 212.1 kB / 0.5488 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1476, allocations: 12.38 kB / 0.5488 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.1476, allocations: 19.94 kB / 0.5488 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.148, allocations: 210.4 kB / 0.549 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.148, allocations: 0 / 0.549 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.148, allocations: 4 kB / 0.549 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.148, allocations: 8 kB / 0.549 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.1483, allocations: 148.2 kB / 0.5492 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009355/0.1493, allocations: 0.5833 MB / 0.5497 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.1495, allocations: 54.55 kB / 0.5498 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1496, allocations: 36.92 kB / 0.5498 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.1497, allocations: 0 / 0.5498 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1497, allocations: 34.56 kB / 0.5499 GB, free: 12.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1497, allocations: 0 / 0.5499 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004834/0.1502, allocations: 141.4 kB / 0.55 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1502, allocations: 51.41 kB / 0.55 GB, free: 12.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.1505, allocations: 262.6 kB / 0.5503 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1506, allocations: 25.7 kB / 0.5503 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1507, allocations: 160 kB / 0.5505 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.1507, allocations: 23.78 kB / 0.5505 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.1508, allocations: 41.7 kB / 0.5505 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.151, allocations: 334.8 kB / 0.5508 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.1511, allocations: 35.97 kB / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.1513, allocations: 128.8 kB / 0.551 GB, free: 11.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.1517, allocations: 188.8 kB / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.1517, allocations: 0 / 0.5512 GB, free: 11.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004301/0.1521, allocations: 205.3 kB / 0.5514 GB, free: 11.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1521, allocations: 4 kB / 0.5514 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/0.1522, allocations: 16 kB / 0.5514 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1522, allocations: 4 kB / 0.5514 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1523, allocations: 31.92 kB / 0.5514 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1523, allocations: 4 kB / 0.5514 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.1524, allocations: 39.72 kB / 0.5515 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1525, allocations: 12.22 kB / 0.5515 GB, free: 11.07 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 (17): * Single equations (assignments): 15 * 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.0001399/0.1526, allocations: 137.7 kB / 0.5516 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.1526, allocations: 23.84 kB / 0.5516 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.153, allocations: 138.8 kB / 0.5518 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.153, allocations: 0 / 0.5518 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.153, allocations: 0 / 0.5518 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.153, allocations: 3.938 kB / 0.5518 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.1533, allocations: 225.5 kB / 0.552 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.1533, allocations: 8 kB / 0.552 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-05/0.1534, allocations: 12 kB / 0.552 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1534, allocations: 3.938 kB / 0.552 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1534, allocations: 3.984 kB / 0.552 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1534, allocations: 0 / 0.552 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1534, allocations: 8 kB / 0.552 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.1537, allocations: 207.3 kB / 0.5522 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/0.1538, allocations: 96.95 kB / 0.5523 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1538, allocations: 0 / 0.5523 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.1539, allocations: 4 kB / 0.5523 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.154, allocations: 7.984 kB / 0.5523 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.154, allocations: 4 kB / 0.5523 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.1542, allocations: 182 kB / 0.5525 GB, free: 9.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1542, allocations: 0 / 0.5525 GB, free: 9.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.1546, allocations: 79.73 kB / 0.5526 GB, free: 9.852 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.0008826/0.1555, allocations: 0.8058 MB / 0.5534 GB, free: 9.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004391/0.1559, allocations: 159.2 kB / 0.5535 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1559, allocations: 0.875 kB / 0.5535 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.1561, allocations: 107.2 kB / 0.5536 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1565, allocations: 24.88 kB / 0.5536 GB, free: 8.703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.1596, allocations: 2.378 MB / 0.556 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.16, allocations: 0.728 MB / 0.5567 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.425e-05/0.16, allocations: 17.53 kB / 0.5567 GB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/0.1601, allocations: 59.41 kB / 0.5568 GB, free: 5.332 MB / 414.1 MB Notification: Performance of SimCode: time 5e-07/0.1601, allocations: 0 / 0.5568 GB, free: 5.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.1925, allocations: 6.81 MB / 0.5634 GB, free: 14.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.88, allocations: 3.938 kB / 0.5634 GB, free: 14.75 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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: 14.953411817084998]