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_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.001445/0.001445, 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.0008674/0.0008674, 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.8957/0.8957, 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.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.2541/0.2541, allocations: 34.24 MB / 294.9 MB, free: 0.7227 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_KC,fileNamePrefix="ModelicaTest_4_1_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_1_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 1.443e-06/1.443e-06, allocations: 0 / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.035e-05, allocations: 2.281 kB / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.1671/0.1671, allocations: 2.102 MB / 444.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1683, allocations: 0.9914 MB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1684, allocations: 3.938 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.1686, allocations: 84.36 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.1689, allocations: 92.88 kB / 445.5 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1691, allocations: 115.6 kB / 445.6 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.1692, allocations: 197.5 kB / 445.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.1693, allocations: 16.84 kB / 445.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1694, allocations: 95.62 kB / 445.9 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.1695, allocations: 68.64 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.1696, allocations: 5.875 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.1697, allocations: 133 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.1698, allocations: 31.06 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.1698, allocations: 47.25 kB / 446.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.1702, allocations: 302.3 kB / 446.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1702, allocations: 2.875 kB / 446.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1702, allocations: 0 / 446.5 MB, free: 42.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1702, allocations: 3.938 kB / 446.5 MB, free: 42.55 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.0004571/0.1706, allocations: 434.8 kB / 446.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1707, allocations: 12.75 kB / 446.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.1707, allocations: 55.69 kB / 447 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.1707, allocations: 24.61 kB / 447 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1709, allocations: 157.9 kB / 447.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1709, allocations: 15.5 kB / 447.2 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1709, allocations: 25.53 kB / 447.2 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.1712, allocations: 232.8 kB / 447.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1712, allocations: 6.844 kB / 447.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1712, allocations: 11.5 kB / 447.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1712, allocations: 5.844 kB / 447.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.1715, allocations: 254.9 kB / 447.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.1721, allocations: 0.56 MB / 448.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.1723, allocations: 104.1 kB / 448.4 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.709e-05/0.1723, allocations: 39.64 kB / 448.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1723, allocations: 2.938 kB / 448.4 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.1724, allocations: 33.8 kB / 448.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1724, allocations: 6.75 kB / 448.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003088/0.1727, allocations: 163.3 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.1727, allocations: 53.75 kB / 448.6 MB, free: 41.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1728, allocations: 281 kB / 448.9 MB, free: 41.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.1728, allocations: 25.7 kB / 448.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.1729, allocations: 165.9 kB / 449.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.1729, allocations: 40.7 kB / 449.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.1729, allocations: 44.84 kB / 449.2 MB, free: 40.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.396e-05/0.173, allocations: 337.3 kB / 449.5 MB, free: 40.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/0.1731, allocations: 49.48 kB / 449.6 MB, free: 40.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.494e-05/0.1732, allocations: 154.4 kB / 449.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.1733, allocations: 207 kB / 449.9 MB, free: 40.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1733, allocations: 6.844 kB / 449.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000243/0.1736, allocations: 242.5 kB / 450.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1736, allocations: 5.75 kB / 450.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1736, allocations: 2.781 kB / 450.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1736, allocations: 6.281 kB / 450.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.1738, allocations: 87.61 kB / 450.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002903/0.1741, allocations: 1.217 MB / 451.5 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.1742, allocations: 34.62 kB / 451.5 MB, free: 38.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1742, allocations: 22.2 kB / 451.5 MB, free: 38.91 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 7.002e-05/0.1743, allocations: 126.6 kB / 451.7 MB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.1743, allocations: 34.77 kB / 451.7 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.1746, allocations: 173.2 kB / 451.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1746, allocations: 2.875 kB / 451.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1746, allocations: 0 / 451.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1746, allocations: 0 / 451.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.1749, allocations: 418.5 kB / 452.3 MB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1749, allocations: 0 / 452.3 MB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.175, allocations: 59.67 kB / 452.3 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.175, allocations: 2.906 kB / 452.3 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.175, allocations: 2.875 kB / 452.3 MB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002091/0.1753, allocations: 1.207 MB / 453.5 MB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1753, allocations: 7 kB / 453.6 MB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.1754, allocations: 244.1 kB / 453.8 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.1754, allocations: 24.02 kB / 453.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1755, allocations: 3.281 kB / 453.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.1755, allocations: 6.031 kB / 453.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1756, allocations: 10.16 kB / 453.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1756, allocations: 8.984 kB / 453.8 MB, free: 36.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.915e-05/0.1757, allocations: 187.7 kB / 454 MB, free: 36.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1757, allocations: 0 / 454 MB, free: 36.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.1759, allocations: 74.7 kB / 454.1 MB, free: 36.82 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.0004457/0.1764, allocations: 0.8317 MB / 454.9 MB, free: 36.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.1767, allocations: 161.6 kB / 455.1 MB, free: 36.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1767, allocations: 3.688 kB / 455.1 MB, free: 36.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1768, allocations: 87.05 kB / 455.2 MB, free: 36.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.1771, allocations: 25.05 kB / 455.2 MB, free: 36.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.1789, allocations: 2.559 MB / 457.8 MB, free: 34.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.275e-05/0.1789, allocations: 118.9 kB / 457.9 MB, free: 34.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.664e-05/0.179, allocations: 20.81 kB / 457.9 MB, free: 34.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.1791, allocations: 63.58 kB / 458 MB, free: 34.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1791, allocations: 0 / 458 MB, free: 34.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.1989, allocations: 6.953 MB / 464.9 MB, free: 32.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.357, allocations: 7.719 kB / 464.9 MB, free: 32.8 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 10.354175173677504]