Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.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.0018/0.0018, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001858/0.001858, allocations: 212.7 kB / 23.03 MB, free: 4.926 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8212/0.8212, allocations: 100.3 MB / 413.5 MB, free: 3.41 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 85.94 kB / 0.564 GB, free: 35.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.147, allocations: 74.47 MB / 0.6367 GB, free: 7.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02153/0.1685, allocations: 16.1 MB / 0.6525 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008929/0.1774, allocations: 6.206 MB / 0.6585 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007925/0.1782, allocations: 31.69 kB / 0.6585 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009236/0.1791, allocations: 246.2 kB / 0.6588 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.181, allocations: 0.5589 MB / 0.6593 GB, free: 144 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.182, allocations: 358.9 kB / 0.6597 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.1831, allocations: 0.8127 MB / 0.6605 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.1834, allocations: 101.9 kB / 0.6606 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007021/0.1841, allocations: 370.3 kB / 0.6609 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.1845, allocations: 310.4 kB / 0.6612 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.1846, allocations: 40 kB / 0.6612 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009084/0.1855, allocations: 331.7 kB / 0.6616 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1856, allocations: 103.5 kB / 0.6617 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.1859, allocations: 238.6 kB / 0.6619 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.1873, allocations: 0.8325 MB / 0.6627 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1873, allocations: 0 / 0.6627 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1873, allocations: 4 kB / 0.6627 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.1873, allocations: 0 / 0.6627 GB, free: 12.66 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00172/0.189, allocations: 0.9168 MB / 0.6636 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.189, allocations: 8.031 kB / 0.6636 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.763e-05/0.1891, allocations: 17.17 kB / 0.6636 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.016e-05/0.1892, allocations: 78.72 kB / 0.6637 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.1894, allocations: 84.45 kB / 0.6638 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009306/0.1903, allocations: 469.7 kB / 0.6642 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.1904, allocations: 32.94 kB / 0.6643 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.1904, allocations: 40 kB / 0.6643 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.1912, allocations: 459.8 kB / 0.6647 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1913, allocations: 8 kB / 0.6647 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.1913, allocations: 20 kB / 0.6648 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1913, allocations: 8 kB / 0.6648 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.192, allocations: 415.7 kB / 0.6652 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002479/0.1945, allocations: 1.481 MB / 0.6666 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/0.1952, allocations: 383.1 kB / 0.667 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.1955, allocations: 165.7 kB / 0.6671 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.1966, allocations: 0.6126 MB / 0.6677 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.1966, allocations: 38.83 kB / 0.6678 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.244e-06/0.1966, allocations: 4 kB / 0.6678 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.006176/0.2028, allocations: 1.302 MB / 0.669 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.2029, allocations: 89.05 kB / 0.6691 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006197/0.2035, allocations: 475 kB / 0.6696 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.2035, allocations: 29.7 kB / 0.6696 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.2038, allocations: 300.7 kB / 0.6699 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.2039, allocations: 142.8 kB / 0.67 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.204, allocations: 74.12 kB / 0.6701 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.2042, allocations: 374.8 kB / 0.6705 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.2045, allocations: 120.8 kB / 0.6706 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.2048, allocations: 194.2 kB / 0.6708 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.2054, allocations: 335.2 kB / 0.6711 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2054, allocations: 4 kB / 0.6711 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002959/0.2083, allocations: 0.8067 MB / 0.6719 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.2083, allocations: 8 kB / 0.6719 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.2084, allocations: 0 / 0.6719 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002817/0.2112, allocations: 497.2 kB / 0.6724 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.2115, allocations: 67.91 kB / 0.6724 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.2135, allocations: 2.098 MB / 0.6745 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.2139, allocations: 35.84 kB / 0.6745 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.214, allocations: 19.98 kB / 0.6745 GB, free: 84 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003205/0.2143, allocations: 165.8 kB / 0.6747 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.2144, allocations: 63.58 kB / 0.6747 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.2174, allocations: 0.857 MB / 0.6756 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.2174, allocations: 4 kB / 0.6756 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.2174, allocations: 0 / 0.6756 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.2174, allocations: 4 kB / 0.6756 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/0.2213, allocations: 1.28 MB / 0.6768 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2213, allocations: 0 / 0.6768 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.2215, allocations: 47.92 kB / 0.6769 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002744/0.2242, allocations: 497.3 kB / 0.6774 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.2243, allocations: 16 kB / 0.6774 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.2264, allocations: 2.09 MB / 0.6794 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2264, allocations: 3.984 kB / 0.6794 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.2297, allocations: 1.107 MB / 0.6805 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.2299, allocations: 83.52 kB / 0.6806 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.23, allocations: 11.94 kB / 0.6806 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.2302, allocations: 15.98 kB / 0.6806 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.2303, allocations: 23.95 kB / 0.6806 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.2304, allocations: 15.94 kB / 0.6806 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004439/0.2308, allocations: 346.8 kB / 0.681 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2308, allocations: 0 / 0.681 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007073/0.2315, allocations: 183.6 kB / 0.6811 GB, free: 9.027 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003824/0.2353, allocations: 1.811 MB / 0.6829 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000967/0.2363, allocations: 458.9 kB / 0.6834 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2363, allocations: 0 / 0.6834 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.2368, allocations: 294.5 kB / 0.6836 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.2378, allocations: 156.6 kB / 0.6838 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.2485, allocations: 5.179 MB / 0.6888 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.2489, allocations: 275.5 kB / 0.6891 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003114/0.2492, allocations: 79 kB / 0.6892 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.2495, allocations: 207.4 kB / 0.6894 GB, free: 384 kB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.2495, allocations: 0 / 0.6894 GB, free: 384 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04833/0.2978, allocations: 16.6 MB / 0.7056 GB, free: 84 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.06, allocations: 4 kB / 0.7056 GB, free: 80 kB / 0.5294 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.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: 18.786093867965974]