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.001005/0.001005, 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.001067/0.001067, 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.9183/0.9183, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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.2385/0.2385, allocations: 34.25 MB / 294.9 MB, free: 0.7031 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_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_1_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 1.833e-06/1.833e-06, allocations: 0 / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.571e-05, allocations: 2.281 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.1723/0.1724, allocations: 2.049 MB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1737, allocations: 1.266 MB / 445.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.1737, allocations: 0 / 445.5 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.174, allocations: 80.41 kB / 445.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.1741, allocations: 70.55 kB / 445.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.1745, allocations: 221.9 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.1746, allocations: 158.9 kB / 446 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.1746, allocations: 10.03 kB / 446 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1748, allocations: 90.77 kB / 446.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.1749, allocations: 49.08 kB / 446.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1749, allocations: 8.469 kB / 446.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.1751, allocations: 204.7 kB / 446.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.1751, allocations: 19.8 kB / 446.4 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.1752, allocations: 46.78 kB / 446.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.1755, allocations: 387.2 kB / 446.8 MB, free: 42.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1755, allocations: 0 / 446.8 MB, free: 42.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1755, allocations: 0 / 446.8 MB, free: 42.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1755, allocations: 2.5 kB / 446.8 MB, free: 42.41 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000386/0.1759, allocations: 440.5 kB / 447.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1759, allocations: 11.38 kB / 447.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.1759, allocations: 49.97 kB / 447.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.176, allocations: 21.52 kB / 447.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1761, allocations: 154.8 kB / 447.5 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1761, allocations: 16.06 kB / 447.5 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.1761, allocations: 18.69 kB / 447.5 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.1763, allocations: 211.3 kB / 447.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1764, allocations: 3.938 kB / 447.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1764, allocations: 8.656 kB / 447.8 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1764, allocations: 5.344 kB / 447.8 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.1765, allocations: 149 kB / 447.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.177, allocations: 0.5224 MB / 448.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1771, allocations: 58.08 kB / 448.5 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.1772, allocations: 41.83 kB / 448.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1772, allocations: 0 / 448.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.1772, allocations: 36.56 kB / 448.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1772, allocations: 0 / 448.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002831/0.1775, allocations: 140.3 kB / 448.7 MB, free: 41.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.1775, allocations: 51.41 kB / 448.7 MB, free: 41.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.1777, allocations: 259.8 kB / 449 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.1777, allocations: 25.7 kB / 449 MB, free: 40.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.1777, allocations: 166 kB / 449.2 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.1777, allocations: 18.75 kB / 449.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.1778, allocations: 41.98 kB / 449.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.1778, allocations: 332.3 kB / 449.6 MB, free: 40.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.1779, allocations: 41 kB / 449.6 MB, free: 40.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.1779, allocations: 130.6 kB / 449.7 MB, free: 40.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1781, allocations: 179.7 kB / 449.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1781, allocations: 3.938 kB / 449.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001912/0.1783, allocations: 210.1 kB / 450.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1783, allocations: 9.688 kB / 450.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.1783, allocations: 11.75 kB / 450.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1783, allocations: 2.969 kB / 450.1 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.1784, allocations: 30.62 kB / 450.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1784, allocations: 9.125 kB / 450.2 MB, free: 40.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.336e-05/0.1785, allocations: 35.73 kB / 450.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1785, allocations: 15.78 kB / 450.2 MB, free: 40.05 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 (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 5.943e-05/0.1785, allocations: 138.3 kB / 450.4 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.1786, allocations: 18.47 kB / 450.4 MB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.1788, allocations: 136.8 kB / 450.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1788, allocations: 7.125 kB / 450.5 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1788, allocations: 3.328 kB / 450.5 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1788, allocations: 1.781 kB / 450.5 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1789, allocations: 185.6 kB / 450.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.1789, allocations: 15.62 kB / 450.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.1789, allocations: 6.562 kB / 450.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1789, allocations: 0 / 450.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1789, allocations: 6.016 kB / 450.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1789, allocations: 0 / 450.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1789, allocations: 0 / 450.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.1791, allocations: 213.5 kB / 451 MB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.1791, allocations: 17.39 kB / 451 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1791, allocations: 7.172 kB / 451 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/0.1791, allocations: 2.969 kB / 451 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1792, allocations: 6.094 kB / 451 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1792, allocations: 2.844 kB / 451 MB, free: 39.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.29e-05/0.1792, allocations: 182.8 kB / 451.2 MB, free: 39.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1792, allocations: 0 / 451.2 MB, free: 39.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.1795, allocations: 75.44 kB / 451.2 MB, free: 39.36 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 (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.0003804/0.1798, allocations: 0.8161 MB / 452.1 MB, free: 38.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1801, allocations: 167.8 kB / 452.2 MB, free: 38.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1801, allocations: 4 kB / 452.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.013e-05/0.1802, allocations: 99.7 kB / 452.3 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.1804, allocations: 26.67 kB / 452.3 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1819, allocations: 2.375 MB / 454.7 MB, free: 36.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.302e-05/0.1819, allocations: 120.8 kB / 454.8 MB, free: 36.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.566e-05/0.1819, allocations: 17.28 kB / 454.9 MB, free: 36.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.182, allocations: 56.91 kB / 454.9 MB, free: 36.56 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.182, allocations: 2.938 kB / 454.9 MB, free: 36.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.1981, allocations: 7.263 MB / 462.2 MB, free: 35.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.284, allocations: 9.469 kB / 462.2 MB, free: 35.29 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] 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: 10.281796548515558]