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_KC.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.000882/0.000882, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008359/0.0008359, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8522/0.8522, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2285/0.2285, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 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.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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 439.6 MB, free: 4.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.611e-05, allocations: 8.109 kB / 439.6 MB, free: 4.203 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002553/0.002569, allocations: 2.516 MB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.004182, allocations: 1.359 MB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.004296, allocations: 0 / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.004555, allocations: 107.2 kB / 443.6 MB, free: 204 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.004824, allocations: 150.7 kB / 443.8 MB, free: 52 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1447/0.1495, allocations: 259.9 kB / 444 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.1498, allocations: 297.1 kB / 444.3 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.1498, allocations: 17.09 kB / 444.3 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1499, allocations: 140 kB / 444.5 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.15, allocations: 91.2 kB / 444.6 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1501, allocations: 5.625 kB / 444.6 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.1506, allocations: 450.9 kB / 445 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.1506, allocations: 45.28 kB / 445 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.1507, allocations: 76.66 kB / 445.1 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.1511, allocations: 0.5667 MB / 445.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1511, allocations: 0.7188 kB / 445.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1511, allocations: 0 / 445.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.371e-06/0.1511, allocations: 1.312 kB / 445.7 MB, free: 43.16 MB / 410.7 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.0004585/0.1515, allocations: 0.5617 MB / 446.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1516, allocations: 12.91 kB / 446.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.1516, allocations: 71.08 kB / 446.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1516, allocations: 41.48 kB / 446.4 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1518, allocations: 190.7 kB / 446.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1518, allocations: 30.72 kB / 446.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1518, allocations: 33.84 kB / 446.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.1522, allocations: 0.5835 MB / 447.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1522, allocations: 6.656 kB / 447.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.1522, allocations: 23.88 kB / 447.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1522, allocations: 8.688 kB / 447.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.1525, allocations: 341.4 kB / 447.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009252/0.1534, allocations: 3.96 MB / 451.5 MB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1535, allocations: 86.64 kB / 451.6 MB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.1536, allocations: 40.69 kB / 451.7 MB, free: 38.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1536, allocations: 10.91 kB / 451.7 MB, free: 38.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.144e-05/0.1536, allocations: 32.06 kB / 451.7 MB, free: 38.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1536, allocations: 0 / 451.7 MB, free: 38.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002906/0.1539, allocations: 165.3 kB / 451.9 MB, free: 38.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.154, allocations: 58.19 kB / 451.9 MB, free: 38.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.1542, allocations: 430.5 kB / 452.3 MB, free: 38.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.1542, allocations: 25.7 kB / 452.4 MB, free: 38.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.1542, allocations: 252.1 kB / 452.6 MB, free: 37.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.1543, allocations: 35.81 kB / 452.6 MB, free: 37.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.1543, allocations: 70.19 kB / 452.7 MB, free: 37.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.555e-05/0.1543, allocations: 349 kB / 453.1 MB, free: 37.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.1544, allocations: 59.34 kB / 453.1 MB, free: 37.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1545, allocations: 258.8 kB / 453.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.1547, allocations: 354 kB / 453.7 MB, free: 36.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1548, allocations: 2.812 kB / 453.7 MB, free: 36.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003138/0.1551, allocations: 355 kB / 454.1 MB, free: 36.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1551, allocations: 16.14 kB / 454.1 MB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1551, allocations: 8.312 kB / 454.1 MB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1551, allocations: 11.72 kB / 454.1 MB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.1553, allocations: 106.7 kB / 454.2 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002585/0.1556, allocations: 1.217 MB / 455.4 MB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1557, allocations: 63.02 kB / 455.5 MB, free: 35.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1558, allocations: 24.16 kB / 455.5 MB, free: 35.58 MB / 410.7 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 7.538e-05/0.1558, allocations: 154.3 kB / 455.7 MB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1559, allocations: 36.23 kB / 455.7 MB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.1561, allocations: 178.3 kB / 455.9 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1561, allocations: 6.906 kB / 455.9 MB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1561, allocations: 0 / 455.9 MB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1561, allocations: 1.078 kB / 455.9 MB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.1562, allocations: 239.4 kB / 456.1 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1562, allocations: 0 / 456.1 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.1564, allocations: 53.05 kB / 456.2 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1564, allocations: 0 / 456.2 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1564, allocations: 5.609 kB / 456.2 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001885/0.1566, allocations: 1.206 MB / 457.4 MB, free: 33.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1566, allocations: 10.14 kB / 457.4 MB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.1567, allocations: 233.7 kB / 457.6 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.1567, allocations: 35.75 kB / 457.6 MB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1568, allocations: 4 kB / 457.6 MB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.1568, allocations: 6.031 kB / 457.7 MB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.1569, allocations: 9.125 kB / 457.7 MB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1569, allocations: 6.969 kB / 457.7 MB, free: 33.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.157, allocations: 279.8 kB / 457.9 MB, free: 33.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.157, allocations: 3.219 kB / 457.9 MB, free: 33.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.1573, allocations: 113.9 kB / 458.1 MB, free: 33.58 MB / 410.7 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.0004424/0.1578, allocations: 0.8547 MB / 458.9 MB, free: 32.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.1581, allocations: 206.6 kB / 459.1 MB, free: 32.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1581, allocations: 0 / 459.1 MB, free: 32.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1582, allocations: 79.7 kB / 459.2 MB, free: 32.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1585, allocations: 45.94 kB / 459.2 MB, free: 32.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1605, allocations: 3.397 MB / 462.6 MB, free: 30.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.324e-05/0.1605, allocations: 168.2 kB / 462.8 MB, free: 30.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.976e-05/0.1606, allocations: 37.39 kB / 462.8 MB, free: 30.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.1607, allocations: 102.9 kB / 462.9 MB, free: 30.27 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1607, allocations: 0 / 462.9 MB, free: 30.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.1797, allocations: 10.96 MB / 473.9 MB, free: 28.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.155, allocations: 3.688 kB / 473.9 MB, free: 28.82 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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_roundTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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: 10.080801917240024]