Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.001794/0.001794, allocations: 97.88 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.002272/0.002272, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7924/0.7924, allocations: 94.62 MB / 407.8 MB, free: 8.895 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",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.002671/0.002671, allocations: 86.53 kB / 0.5557 GB, free: 38.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1602, allocations: 73.05 MB / 0.627 GB, free: 204 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03257/0.1928, allocations: 21.16 MB / 0.6477 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.2071, allocations: 8.657 MB / 0.6562 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.2082, allocations: 47.56 kB / 0.6562 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.2096, allocations: 361.4 kB / 0.6565 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.2126, allocations: 0.8113 MB / 0.6573 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.2143, allocations: 466.4 kB / 0.6578 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.2165, allocations: 1.166 MB / 0.6589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005779/0.2171, allocations: 140 kB / 0.6591 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.2184, allocations: 0.5057 MB / 0.6596 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008165/0.2192, allocations: 445.7 kB / 0.66 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.2194, allocations: 64 kB / 0.66 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.2211, allocations: 483.5 kB / 0.6605 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.2214, allocations: 159.3 kB / 0.6607 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006158/0.222, allocations: 350.1 kB / 0.661 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.2248, allocations: 1.206 MB / 0.6622 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.93e-05/0.2248, allocations: 0 / 0.6622 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2248, allocations: 0 / 0.6622 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.637e-05/0.2249, allocations: 0 / 0.6622 GB, free: 12.08 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002902/0.2278, allocations: 1.216 MB / 0.6633 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.2278, allocations: 12.03 kB / 0.6634 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.343e-05/0.2279, allocations: 17.5 kB / 0.6634 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.228, allocations: 106.7 kB / 0.6635 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003936/0.2284, allocations: 116.3 kB / 0.6636 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.2298, allocations: 0.5837 MB / 0.6642 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.2298, allocations: 45.31 kB / 0.6642 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.23, allocations: 63.98 kB / 0.6643 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.2313, allocations: 0.673 MB / 0.6649 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.2313, allocations: 0 / 0.6649 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.2314, allocations: 28 kB / 0.6649 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.2314, allocations: 23.98 kB / 0.665 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.2326, allocations: 0.6337 MB / 0.6656 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/0.2368, allocations: 2.136 MB / 0.6677 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.238, allocations: 0.627 MB / 0.6683 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004642/0.2385, allocations: 251.6 kB / 0.6685 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001746/0.2402, allocations: 0.7872 MB / 0.6693 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.2403, allocations: 43.16 kB / 0.6693 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 3.026e-06/0.2403, allocations: 0 / 0.6693 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01138/0.2517, allocations: 2.26 MB / 0.6715 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.2517, allocations: 89.64 kB / 0.6716 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009059/0.2526, allocations: 0.5943 MB / 0.6722 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.463e-05/0.2527, allocations: 37.7 kB / 0.6722 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.253, allocations: 388.9 kB / 0.6726 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.2533, allocations: 230 kB / 0.6728 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.2535, allocations: 122.3 kB / 0.673 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2537, allocations: 326 kB / 0.6733 GB, free: 428 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.2541, allocations: 213.2 kB / 0.6735 GB, free: 216 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.2546, allocations: 311.6 kB / 0.6738 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009806/0.2556, allocations: 0.5405 MB / 0.6743 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2556, allocations: 0 / 0.6743 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005734/0.2614, allocations: 1.385 MB / 0.6756 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.2614, allocations: 8 kB / 0.6757 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2614, allocations: 0 / 0.6757 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005728/0.2671, allocations: 0.9352 MB / 0.6766 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.2676, allocations: 107.8 kB / 0.6767 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/0.2709, allocations: 2.833 MB / 0.6794 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/0.2716, allocations: 59.59 kB / 0.6795 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.2717, allocations: 28.17 kB / 0.6795 GB, free: 9.762 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004054/0.2721, allocations: 201.7 kB / 0.6797 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.2723, allocations: 79.48 kB / 0.6798 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006013/0.2783, allocations: 1.482 MB / 0.6812 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.2784, allocations: 7.938 kB / 0.6812 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.2784, allocations: 4 kB / 0.6812 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.2784, allocations: 3.984 kB / 0.6813 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007133/0.2855, allocations: 2.032 MB / 0.6832 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.2855, allocations: 0 / 0.6832 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.2859, allocations: 76.08 kB / 0.6833 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00561/0.2915, allocations: 0.9391 MB / 0.6842 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.2916, allocations: 19.98 kB / 0.6842 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/0.2948, allocations: 2.838 MB / 0.687 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.2948, allocations: 4.031 kB / 0.687 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006485/0.3012, allocations: 1.767 MB / 0.6887 GB, free: 12 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.3017, allocations: 131.5 kB / 0.6889 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.3018, allocations: 19.94 kB / 0.6889 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.3023, allocations: 19.92 kB / 0.6889 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.3024, allocations: 48.52 kB / 0.689 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/0.3025, allocations: 20.17 kB / 0.689 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006279/0.3031, allocations: 435 kB / 0.6894 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.3031, allocations: 0 / 0.6894 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001033/0.3041, allocations: 283.4 kB / 0.6897 GB, free: 15.08 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007116/0.3113, allocations: 2.587 MB / 0.6922 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.3129, allocations: 0.6718 MB / 0.6928 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.313, allocations: 4 kB / 0.6928 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009118/0.3139, allocations: 419 kB / 0.6932 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.3153, allocations: 227 kB / 0.6935 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.3343, allocations: 7.3 MB / 0.7006 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.3347, allocations: 365.5 kB / 0.7009 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004432/0.3352, allocations: 107.9 kB / 0.701 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/0.3356, allocations: 303.3 kB / 0.7013 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.3356, allocations: 0 / 0.7013 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08475/0.4204, allocations: 23.75 MB / 0.7245 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/16.69, allocations: 7.031 kB / 0.7245 GB, free: 11.48 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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: 20.570380231947638]