Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 123 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002674/0.002674, allocations: 203.3 kB / 20.75 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.774/1.774, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2441/0.2441, allocations: 46.93 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 67.89 kB / 0.4914 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1351, allocations: 66 MB / 0.5559 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004163/0.1392, allocations: 2.132 MB / 0.558 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.1416, allocations: 1.417 MB / 0.5594 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1418, allocations: 4 kB / 0.5594 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1421, allocations: 87.38 kB / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1423, allocations: 71.41 kB / 0.5595 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.1429, allocations: 207.1 kB / 0.5597 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1431, allocations: 147 kB / 0.5598 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.538e-05/0.1432, allocations: 12.31 kB / 0.5599 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.1434, allocations: 75.52 kB / 0.5599 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1435, allocations: 63.53 kB / 0.56 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1435, allocations: 4 kB / 0.56 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006899/0.1442, allocations: 435.4 kB / 0.5604 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.1443, allocations: 31.78 kB / 0.5604 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.1444, allocations: 67.5 kB / 0.5605 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.145, allocations: 438.2 kB / 0.5609 GB, free: 144 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.145, allocations: 0 / 0.5609 GB, free: 144 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.145, allocations: 0 / 0.5609 GB, free: 144 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.145, allocations: 4 kB / 0.5609 GB, free: 140 kB / 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.000734/0.1458, allocations: 0.491 MB / 0.5614 GB, free: 15.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1458, allocations: 9.109 kB / 0.5614 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.1458, allocations: 28.8 kB / 0.5614 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1461, allocations: 216 kB / 0.5616 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1461, allocations: 16.38 kB / 0.5617 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.1461, allocations: 19.56 kB / 0.5617 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.1465, allocations: 206.5 kB / 0.5619 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1465, allocations: 0 / 0.5619 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1465, allocations: 4 kB / 0.5619 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.1466, allocations: 7.984 kB / 0.5619 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.1469, allocations: 160.1 kB / 0.562 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/0.1478, allocations: 0.5754 MB / 0.5626 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.148, allocations: 58.55 kB / 0.5627 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1482, allocations: 28.95 kB / 0.5627 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.1482, allocations: 7.984 kB / 0.5627 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1482, allocations: 34.5 kB / 0.5627 GB, free: 14.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1482, allocations: 4 kB / 0.5627 GB, free: 14.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.000487/0.1487, allocations: 129.4 kB / 0.5629 GB, free: 13.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1487, allocations: 51.41 kB / 0.5629 GB, free: 13.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.149, allocations: 266.6 kB / 0.5632 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1491, allocations: 29.7 kB / 0.5632 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1492, allocations: 163.9 kB / 0.5633 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.1492, allocations: 15.86 kB / 0.5634 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/0.1493, allocations: 41.7 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1495, allocations: 334.8 kB / 0.5637 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1496, allocations: 43.91 kB / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.1498, allocations: 128.8 kB / 0.5639 GB, free: 12.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.1502, allocations: 192.6 kB / 0.5641 GB, free: 12.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1502, allocations: 0 / 0.5641 GB, free: 12.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004504/0.1506, allocations: 193.2 kB / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1506, allocations: 8 kB / 0.5643 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.1507, allocations: 15.98 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1507, allocations: 4 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1508, allocations: 40.36 kB / 0.5643 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1508, allocations: 4 kB / 0.5643 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.151, allocations: 39.66 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.151, allocations: 12.09 kB / 0.5644 GB, free: 12.29 MB / 430.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.0001304/0.1511, allocations: 135.9 kB / 0.5645 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.1512, allocations: 23.86 kB / 0.5645 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.1516, allocations: 143.1 kB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1516, allocations: 0 / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1516, allocations: 0 / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1516, allocations: 11.86 kB / 0.5647 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.1519, allocations: 217.6 kB / 0.5649 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/0.1519, allocations: 8 kB / 0.5649 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.1519, allocations: 11.98 kB / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1519, allocations: 4 kB / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.152, allocations: 0 / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.152, allocations: 0 / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.152, allocations: 0 / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.1523, allocations: 207.3 kB / 0.5651 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.1524, allocations: 96.97 kB / 0.5652 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.1524, allocations: 8 kB / 0.5652 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1525, allocations: 7.984 kB / 0.5652 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.1526, allocations: 4 kB / 0.5652 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1526, allocations: 3.938 kB / 0.5652 GB, free: 11.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.1528, allocations: 186 kB / 0.5654 GB, free: 11.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1528, allocations: 0 / 0.5654 GB, free: 11.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000418/0.1532, allocations: 71.81 kB / 0.5655 GB, free: 11.08 MB / 430.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.0003435/0.1535, allocations: 178.8 kB / 0.5656 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004905/0.154, allocations: 167.2 kB / 0.5658 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.154, allocations: 0 / 0.5658 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.1543, allocations: 104.2 kB / 0.5659 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1546, allocations: 16.89 kB / 0.5659 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.1553, allocations: 359.9 kB / 0.5662 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.1557, allocations: 0.732 MB / 0.567 GB, free: 9.449 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.415e-05/0.1558, allocations: 21.48 kB / 0.567 GB, free: 9.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.1558, allocations: 15.44 kB / 0.567 GB, free: 9.414 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1558, allocations: 0 / 0.567 GB, free: 9.414 MB / 430.1 MB Notification: Performance of Templates: time 0.009589/0.1654, allocations: 4.243 MB / 0.5711 GB, free: 5.215 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.678526308387518]