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.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.0008404/0.0008404, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008776/0.0008776, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8862/0.8862, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2318/0.2318, allocations: 32.78 MB / 293.5 MB, free: 1.227 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_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 2.726e-06/2.726e-06, allocations: 0 / 439.6 MB, free: 4.203 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.571e-05, allocations: 4.109 kB / 439.6 MB, free: 4.199 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002791/0.002817, allocations: 2.106 MB / 441.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.004, allocations: 0.9848 MB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.564e-05/0.004086, allocations: 4 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.004353, allocations: 87.41 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.004595, allocations: 91.25 kB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.004827, allocations: 127.4 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.004982, allocations: 186.7 kB / 443.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.005035, allocations: 12.59 kB / 443.2 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.005228, allocations: 99.66 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.851e-05/0.005327, allocations: 67.67 kB / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.005344, allocations: 8 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.005532, allocations: 131.8 kB / 443.5 MB, free: 288 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.005586, allocations: 27.73 kB / 443.6 MB, free: 260 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.005631, allocations: 51.8 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1626/0.1682, allocations: 298 kB / 443.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1682, allocations: 2.938 kB / 443.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1683, allocations: 0 / 443.9 MB, free: 43.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1683, allocations: 2.969 kB / 443.9 MB, free: 43.71 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000549/0.1688, allocations: 429 kB / 444.3 MB, free: 43.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1689, allocations: 8.844 kB / 444.3 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.6e-05/0.1689, allocations: 60.69 kB / 444.4 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.169, allocations: 24.42 kB / 444.4 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.1691, allocations: 159.9 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1691, allocations: 16 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1691, allocations: 23.62 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.1694, allocations: 229.6 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1694, allocations: 0 / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1694, allocations: 14.38 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1695, allocations: 6.156 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.1697, allocations: 257 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.1703, allocations: 0.5664 MB / 445.7 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1705, allocations: 98.58 kB / 445.8 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.289e-05/0.1706, allocations: 41.33 kB / 445.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1706, allocations: 3.312 kB / 445.8 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.1706, allocations: 36.62 kB / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1706, allocations: 0 / 445.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000328/0.171, allocations: 167.1 kB / 446 MB, free: 42.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.171, allocations: 54 kB / 446.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.1711, allocations: 273.1 kB / 446.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.1711, allocations: 30.73 kB / 446.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.1712, allocations: 173.4 kB / 446.5 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.1712, allocations: 38.41 kB / 446.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.1713, allocations: 45.69 kB / 446.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.534e-05/0.1713, allocations: 333.8 kB / 446.9 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.1714, allocations: 48.3 kB / 447 MB, free: 42.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1715, allocations: 150.7 kB / 447.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.1717, allocations: 209.9 kB / 447.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1717, allocations: 0 / 447.3 MB, free: 41.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002521/0.1719, allocations: 246.2 kB / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1719, allocations: 5.344 kB / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1719, allocations: 3.406 kB / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.172, allocations: 5.969 kB / 447.6 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.1722, allocations: 90.25 kB / 447.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000293/0.1725, allocations: 1.218 MB / 448.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.752e-05/0.1726, allocations: 38.64 kB / 448.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1726, allocations: 11.59 kB / 448.9 MB, free: 40.6 MB / 410.7 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 6.775e-05/0.1727, allocations: 133.8 kB / 449.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.1727, allocations: 23.39 kB / 449.1 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.1729, allocations: 170.2 kB / 449.3 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1729, allocations: 2.594 kB / 449.3 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1729, allocations: 3.328 kB / 449.3 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.173, allocations: 4.094 kB / 449.3 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.1733, allocations: 416.2 kB / 449.7 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1733, allocations: 4.062 kB / 449.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.1734, allocations: 58.22 kB / 449.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1734, allocations: 3.75 kB / 449.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1734, allocations: 6.812 kB / 449.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002166/0.1736, allocations: 1.213 MB / 451 MB, free: 38.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1736, allocations: 0 / 451 MB, free: 38.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.1738, allocations: 242 kB / 451.2 MB, free: 38.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.1738, allocations: 31.86 kB / 451.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1739, allocations: 3.625 kB / 451.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.1739, allocations: 8.875 kB / 451.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.174, allocations: 10.25 kB / 451.3 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.174, allocations: 8.625 kB / 451.3 MB, free: 38.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.688e-05/0.1741, allocations: 188.5 kB / 451.4 MB, free: 38.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1741, allocations: 0 / 451.4 MB, free: 38.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002537/0.1743, allocations: 65.92 kB / 451.5 MB, free: 38.7 MB / 410.7 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.0004489/0.1748, allocations: 0.8286 MB / 452.3 MB, free: 38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.1751, allocations: 165.6 kB / 452.5 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1751, allocations: 0 / 452.5 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1752, allocations: 89.64 kB / 452.6 MB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1755, allocations: 27.25 kB / 452.6 MB, free: 37.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1773, allocations: 2.561 MB / 455.2 MB, free: 36.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.232e-05/0.1774, allocations: 121.7 kB / 455.3 MB, free: 36.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.479e-05/0.1775, allocations: 22.58 kB / 455.3 MB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.1775, allocations: 66.22 kB / 455.4 MB, free: 35.99 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1775, allocations: 0 / 455.4 MB, free: 35.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.1965, allocations: 6.949 MB / 462.3 MB, free: 34.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/7.895, allocations: 0.5 kB / 462.3 MB, free: 34.79 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.879919132217765]