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.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.0008125/0.0008125, 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.0009994/0.0009994, 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.8758/0.8758, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2346/0.2346, allocations: 32.79 MB / 293.5 MB, free: 1.215 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,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 1.162e-06/1.162e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.489e-05, allocations: 2.844 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002166/0.002181, allocations: 2.053 MB / 441.7 MB, free: 2.152 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.003679, allocations: 1.261 MB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.003752, allocations: 8 kB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.003984, allocations: 87.34 kB / 443 MB, free: 0.793 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.004103, allocations: 63.42 kB / 443.1 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.004487, allocations: 222.7 kB / 443.3 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.004617, allocations: 154.9 kB / 443.5 MB, free: 372 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.004663, allocations: 8.594 kB / 443.5 MB, free: 360 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.004837, allocations: 91.66 kB / 443.6 MB, free: 268 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.004906, allocations: 47.78 kB / 443.6 MB, free: 220 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.00492, allocations: 4 kB / 443.6 MB, free: 216 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.005164, allocations: 207.6 kB / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.169/0.1742, allocations: 18.39 kB / 443.8 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.344e-05/0.1743, allocations: 42.78 kB / 443.9 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.1748, allocations: 392.6 kB / 444.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.1748, allocations: 0 / 444.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1748, allocations: 2.062 kB / 444.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1748, allocations: 3.219 kB / 444.3 MB, free: 43.53 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.0003871/0.1752, allocations: 436.5 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1752, allocations: 10.78 kB / 444.7 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.1753, allocations: 52.66 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.1753, allocations: 21.52 kB / 444.8 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1754, allocations: 156 kB / 444.9 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1754, allocations: 9.844 kB / 444.9 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1754, allocations: 19.28 kB / 444.9 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.1756, allocations: 216.4 kB / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1756, allocations: 0 / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1757, allocations: 7 kB / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1757, allocations: 5.719 kB / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.1758, allocations: 151 kB / 445.3 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.1763, allocations: 0.525 MB / 445.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1764, allocations: 60.94 kB / 445.9 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.1764, allocations: 30.38 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.1765, allocations: 6.25 kB / 445.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.1765, allocations: 34.5 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1765, allocations: 0 / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002574/0.1767, allocations: 134.3 kB / 446.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.715e-05/0.1768, allocations: 51.41 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1769, allocations: 263.4 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.1769, allocations: 25.7 kB / 446.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.1769, allocations: 171.2 kB / 446.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.377e-06/0.1769, allocations: 18.19 kB / 446.6 MB, free: 42.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.177, allocations: 43.34 kB / 446.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.095e-05/0.177, allocations: 337.9 kB / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/0.1771, allocations: 37.16 kB / 447 MB, free: 41.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.1772, allocations: 131.2 kB / 447.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1773, allocations: 184.7 kB / 447.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1773, allocations: 0 / 447.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001963/0.1775, allocations: 208.6 kB / 447.5 MB, free: 41.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1775, allocations: 9.531 kB / 447.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.1775, allocations: 14.78 kB / 447.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1776, allocations: 4.312 kB / 447.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.1776, allocations: 31.34 kB / 447.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1776, allocations: 8.688 kB / 447.6 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.1777, allocations: 39.66 kB / 447.6 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1777, allocations: 8.969 kB / 447.7 MB, free: 41.59 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.288e-05/0.1778, allocations: 129.7 kB / 447.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.1778, allocations: 24.17 kB / 447.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.178, allocations: 145.6 kB / 447.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.178, allocations: 0 / 447.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.178, allocations: 0 / 447.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.178, allocations: 0 / 447.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.1781, allocations: 189.6 kB / 448.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.1781, allocations: 7.875 kB / 448.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.1781, allocations: 8.766 kB / 448.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1781, allocations: 0 / 448.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1781, allocations: 8.75 kB / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1781, allocations: 0 / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1781, allocations: 2.75 kB / 448.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1783, allocations: 204.2 kB / 448.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.1783, allocations: 23.91 kB / 448.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.1783, allocations: 7.625 kB / 448.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.1784, allocations: 8.797 kB / 448.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1784, allocations: 2.75 kB / 448.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1784, allocations: 2.938 kB / 448.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.717e-05/0.1785, allocations: 178.6 kB / 448.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1785, allocations: 3.938 kB / 448.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.1787, allocations: 76.28 kB / 448.7 MB, free: 41.01 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.0003594/0.179, allocations: 0.8143 MB / 449.5 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.1793, allocations: 171.6 kB / 449.6 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.1793, allocations: 0 / 449.6 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.1794, allocations: 100.5 kB / 449.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.1796, allocations: 22.61 kB / 449.8 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.181, allocations: 2.374 MB / 452.1 MB, free: 38.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.989e-05/0.181, allocations: 120.9 kB / 452.3 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.181, allocations: 25.22 kB / 452.3 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.1811, allocations: 57.39 kB / 452.3 MB, free: 38.45 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1811, allocations: 2.812 kB / 452.3 MB, free: 38.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.1987, allocations: 7.262 MB / 459.6 MB, free: 37.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.79, allocations: 4.5 kB / 459.6 MB, free: 37.2 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.702999566681683]