Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001538, allocations: 114.2 kB / 17.33 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00189/0.00189, allocations: 209.8 kB / 18.27 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 78.33 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1619, allocations: 62.44 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.005146/0.1671, allocations: 2.175 MB / 481.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003642/0.1708, allocations: 1.725 MB / 483.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.171, allocations: 0 / 483.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.1715, allocations: 83.55 kB / 483.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.1718, allocations: 55.5 kB / 483.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.1733, allocations: 307.1 kB / 484 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.1736, allocations: 151 kB / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.118e-05/0.1737, allocations: 16.3 kB / 484.1 MB, free: 1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1739, allocations: 51.72 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.174, allocations: 71.53 kB / 484.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.174, allocations: 4 kB / 484.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.1759, allocations: 0.7801 MB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.176, allocations: 23.86 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1761, allocations: 75.5 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.1773, allocations: 0.588 MB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1773, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1773, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1773, allocations: 0 / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009914/0.1783, allocations: 0.5147 MB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.1784, allocations: 8.031 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.1785, allocations: 54.73 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.1786, allocations: 20.66 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.1789, allocations: 231.2 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1789, allocations: 12.44 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.179, allocations: 20 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.1796, allocations: 263.5 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1796, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.1797, allocations: 8 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1797, allocations: 7.938 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.1802, allocations: 157.3 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.1817, allocations: 0.9002 MB / 487.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.182, allocations: 62.55 kB / 487.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.1822, allocations: 32.94 kB / 488 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.1822, allocations: 0 / 488 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1823, allocations: 34.56 kB / 488 MB, free: 12.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.923e-06/0.1823, allocations: 4 kB / 488 MB, free: 12.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006676/0.183, allocations: 137.2 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.183, allocations: 55.41 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.1834, allocations: 266.9 kB / 488.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.1835, allocations: 29.64 kB / 488.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1836, allocations: 175.1 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.1837, allocations: 27.72 kB / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.1838, allocations: 49.61 kB / 488.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.184, allocations: 334.8 kB / 489.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.1842, allocations: 48.19 kB / 489.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.1845, allocations: 186 kB / 489.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/0.1851, allocations: 259.4 kB / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1851, allocations: 0 / 489.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007777/0.1859, allocations: 261 kB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.186, allocations: 10.59 kB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.268e-05/0.186, allocations: 16 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.1861, allocations: 12.56 kB / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.1863, allocations: 56.09 kB / 489.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.1864, allocations: 8 kB / 489.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.1866, allocations: 43.58 kB / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.1867, allocations: 16 kB / 490 MB, free: 10.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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 0.0001794/0.1869, allocations: 129.7 kB / 490.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.187, allocations: 23.72 kB / 490.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/0.1875, allocations: 142.8 kB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.1875, allocations: 3.938 kB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1876, allocations: 0 / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1876, allocations: 0 / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.188, allocations: 221.5 kB / 490.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-05/0.188, allocations: 15.98 kB / 490.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.327e-05/0.1881, allocations: 8 kB / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1881, allocations: 0 / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1881, allocations: 0 / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1881, allocations: 3.938 kB / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1882, allocations: 0 / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.1887, allocations: 211.2 kB / 490.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.1888, allocations: 92.92 kB / 490.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.1888, allocations: 4 kB / 490.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.189, allocations: 11.92 kB / 490.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.1891, allocations: 4 kB / 490.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1891, allocations: 0 / 490.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.1894, allocations: 189.9 kB / 491 MB, free: 9.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1894, allocations: 0 / 491 MB, free: 9.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008509/0.1902, allocations: 99.98 kB / 491.1 MB, free: 9.504 MB / 366.1 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.001419/0.1917, allocations: 0.837 MB / 491.9 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006952/0.1924, allocations: 200.4 kB / 492.1 MB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1924, allocations: 0 / 492.1 MB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002955/0.1927, allocations: 99.36 kB / 492.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.1933, allocations: 40 kB / 492.3 MB, free: 8.289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.1979, allocations: 2.546 MB / 494.8 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.1984, allocations: 0.7285 MB / 495.5 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.1986, allocations: 25.94 kB / 495.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1987, allocations: 63.41 kB / 495.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1987, allocations: 0 / 495.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.2297, allocations: 8.773 MB / 0.4926 GB, free: 12.16 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003613/0.2301, allocations: 284.7 kB / 0.4929 GB, free: 11.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.51, allocations: 0 / 0.4929 GB, free: 11.79 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches