Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001628/0.001628, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001995/0.001995, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.793 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.8003/0.8003, allocations: 100.9 MB / 413.3 MB, free: 2.871 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_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",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.002597/0.002597, allocations: 89.88 kB / 0.5641 GB, free: 35.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1752, allocations: 74.62 MB / 0.6369 GB, free: 6.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02735/0.2026, allocations: 21.17 MB / 0.6576 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.2144, allocations: 8.664 MB / 0.6661 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008984/0.2153, allocations: 43.56 kB / 0.6661 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.2164, allocations: 369.4 kB / 0.6665 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.2188, allocations: 0.8074 MB / 0.6673 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.2202, allocations: 474.4 kB / 0.6677 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.2218, allocations: 1.159 MB / 0.6688 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.2221, allocations: 144 kB / 0.669 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008819/0.223, allocations: 0.494 MB / 0.6695 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005334/0.2235, allocations: 397.8 kB / 0.6698 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.2236, allocations: 60 kB / 0.6699 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.2249, allocations: 491.5 kB / 0.6704 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.2251, allocations: 159.2 kB / 0.6705 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.2254, allocations: 354.1 kB / 0.6709 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.2275, allocations: 1.202 MB / 0.672 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2275, allocations: 0 / 0.672 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.227e-06/0.2275, allocations: 0 / 0.672 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.2275, allocations: 3.938 kB / 0.672 GB, free: 2.359 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.002693/0.2302, allocations: 1.216 MB / 0.6732 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.2302, allocations: 9.469 kB / 0.6732 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.2304, allocations: 106.7 kB / 0.6733 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.2307, allocations: 124.2 kB / 0.6735 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.2323, allocations: 0.58 MB / 0.674 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.2323, allocations: 45.31 kB / 0.6741 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.2324, allocations: 60 kB / 0.6741 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.2338, allocations: 0.677 MB / 0.6748 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.2338, allocations: 0 / 0.6748 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/0.2339, allocations: 28 kB / 0.6748 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.2339, allocations: 16 kB / 0.6748 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.2351, allocations: 0.6375 MB / 0.6754 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003809/0.2389, allocations: 2.125 MB / 0.6775 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.2401, allocations: 0.6213 MB / 0.6781 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/0.2406, allocations: 256.4 kB / 0.6784 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/0.2422, allocations: 0.7872 MB / 0.6791 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.2422, allocations: 51.09 kB / 0.6792 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.635e-06/0.2422, allocations: 0 / 0.6792 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.01012/0.2523, allocations: 2.252 MB / 0.6814 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.2524, allocations: 93.69 kB / 0.6815 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.2532, allocations: 0.5981 MB / 0.6821 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-05/0.2533, allocations: 33.7 kB / 0.6821 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.2536, allocations: 384.9 kB / 0.6825 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.2539, allocations: 245.9 kB / 0.6827 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.2541, allocations: 110.3 kB / 0.6828 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.2543, allocations: 334 kB / 0.6831 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.2547, allocations: 209.2 kB / 0.6833 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.2552, allocations: 311.6 kB / 0.6836 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009363/0.2561, allocations: 0.5406 MB / 0.6841 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2561, allocations: 0 / 0.6841 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005057/0.2612, allocations: 1.393 MB / 0.6855 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.2612, allocations: 4 kB / 0.6855 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.2612, allocations: 4 kB / 0.6855 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005119/0.2663, allocations: 0.9391 MB / 0.6864 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.2668, allocations: 99.83 kB / 0.6865 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.2697, allocations: 2.831 MB / 0.6893 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.2703, allocations: 63.45 kB / 0.6893 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.2703, allocations: 27.98 kB / 0.6894 GB, free: 72 kB / 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.0003834/0.2707, allocations: 197.9 kB / 0.6896 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.2709, allocations: 83.48 kB / 0.6896 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005252/0.2761, allocations: 1.472 MB / 0.6911 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.2761, allocations: 11.94 kB / 0.6911 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2762, allocations: 0 / 0.6911 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.2762, allocations: 3.984 kB / 0.6911 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006397/0.2826, allocations: 2.032 MB / 0.6931 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.2826, allocations: 192 / 0.6931 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.2829, allocations: 79.97 kB / 0.6932 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004995/0.2879, allocations: 0.939 MB / 0.6941 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.841e-05/0.288, allocations: 12 kB / 0.6941 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.2908, allocations: 2.846 MB / 0.6969 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2908, allocations: 0 / 0.6969 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005604/0.2964, allocations: 1.771 MB / 0.6986 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004235/0.2968, allocations: 139.2 kB / 0.6987 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.652e-05/0.2969, allocations: 12 kB / 0.6987 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.2972, allocations: 12.19 kB / 0.6987 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.2974, allocations: 52.5 kB / 0.6988 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.2974, allocations: 27.98 kB / 0.6988 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006269/0.298, allocations: 423 kB / 0.6992 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.298, allocations: 0 / 0.6992 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009182/0.299, allocations: 291.4 kB / 0.6995 GB, free: 5.387 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.006385/0.3054, allocations: 2.586 MB / 0.702 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.3068, allocations: 0.6681 MB / 0.7027 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3068, allocations: 0 / 0.7027 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007785/0.3076, allocations: 430.8 kB / 0.7031 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.3089, allocations: 224.5 kB / 0.7033 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.326, allocations: 7.298 MB / 0.7104 GB, free: 9.938 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.3264, allocations: 361.7 kB / 0.7108 GB, free: 9.559 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004676/0.3269, allocations: 110.1 kB / 0.7109 GB, free: 9.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.3273, allocations: 307.3 kB / 0.7112 GB, free: 9.16 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/0.3273, allocations: 0 / 0.7112 GB, free: 9.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06517/0.3925, allocations: 23.95 MB / 0.7346 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/14.76, allocations: 3.984 kB / 0.7346 GB, free: 1.57 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 18.47315448662266]