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.00173/0.00173, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002421/0.002421, allocations: 211.7 kB / 22.25 MB, free: 5.086 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.694/1.694, allocations: 230.6 MB / 256 MB, free: 8.027 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.8751/0.8751, allocations: 94.56 MB / 407 MB, free: 9.191 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_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.002633/0.002633, allocations: 89.75 kB / 0.5549 GB, free: 38.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2045, allocations: 73.06 MB / 0.6263 GB, free: 496 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03123/0.2357, allocations: 23.34 MB / 0.6491 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.2493, allocations: 9.575 MB / 0.6584 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009055/0.2502, allocations: 43.62 kB / 0.6585 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.2516, allocations: 421.1 kB / 0.6589 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.2545, allocations: 0.8112 MB / 0.6597 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.256, allocations: 478.3 kB / 0.6601 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001688/0.2577, allocations: 1.166 MB / 0.6613 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.2581, allocations: 152 kB / 0.6614 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.2592, allocations: 0.4979 MB / 0.6619 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006199/0.2598, allocations: 449.7 kB / 0.6623 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.2599, allocations: 56 kB / 0.6624 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.2616, allocations: 0.519 MB / 0.6629 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.2619, allocations: 163.2 kB / 0.6631 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005927/0.2625, allocations: 437.5 kB / 0.6635 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.2647, allocations: 1.21 MB / 0.6647 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2647, allocations: 4 kB / 0.6647 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.815e-06/0.2647, allocations: 0 / 0.6647 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.2647, allocations: 0 / 0.6647 GB, free: 9.035 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.002933/0.2677, allocations: 1.216 MB / 0.6658 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.2677, allocations: 8.031 kB / 0.6658 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.2679, allocations: 106.7 kB / 0.666 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003/0.2682, allocations: 120.2 kB / 0.6661 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.2696, allocations: 0.5839 MB / 0.6666 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/0.2696, allocations: 45.31 kB / 0.6667 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.68e-05/0.2697, allocations: 64 kB / 0.6667 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.271, allocations: 0.6808 MB / 0.6674 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.271, allocations: 3.984 kB / 0.6674 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/0.271, allocations: 24 kB / 0.6674 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.271, allocations: 16 kB / 0.6674 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2721, allocations: 0.6414 MB / 0.6681 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004454/0.2766, allocations: 2.979 MB / 0.671 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.2778, allocations: 0.6252 MB / 0.6716 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.2782, allocations: 259.6 kB / 0.6718 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.2802, allocations: 1.06 MB / 0.6729 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.523e-05/0.2803, allocations: 39.2 kB / 0.6729 GB, free: 192 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 6.272e-06/0.2803, allocations: 8 kB / 0.6729 GB, free: 184 kB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01029/0.2906, allocations: 2.205 MB / 0.6751 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.2907, allocations: 93.64 kB / 0.6752 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007544/0.2914, allocations: 0.5904 MB / 0.6757 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.2915, allocations: 41.73 kB / 0.6758 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.2918, allocations: 388.8 kB / 0.6762 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.292, allocations: 238 kB / 0.6764 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/0.2923, allocations: 118.3 kB / 0.6765 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.2925, allocations: 330 kB / 0.6768 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.2928, allocations: 209.2 kB / 0.677 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.2933, allocations: 306.8 kB / 0.6773 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009544/0.2943, allocations: 0.5358 MB / 0.6778 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2943, allocations: 0 / 0.6778 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00532/0.2996, allocations: 1.385 MB / 0.6792 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.2996, allocations: 11.94 kB / 0.6792 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2996, allocations: 0 / 0.6792 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005234/0.3049, allocations: 0.9391 MB / 0.6801 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.3052, allocations: 95.89 kB / 0.6802 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.3082, allocations: 2.865 MB / 0.683 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.3088, allocations: 51.56 kB / 0.683 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/0.3088, allocations: 31.98 kB / 0.6831 GB, free: 5.469 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0003537/0.3092, allocations: 209.6 kB / 0.6833 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.3094, allocations: 83.48 kB / 0.6834 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005616/0.315, allocations: 1.489 MB / 0.6848 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.315, allocations: 7.938 kB / 0.6848 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.315, allocations: 4 kB / 0.6848 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.315, allocations: 7.984 kB / 0.6848 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006687/0.3217, allocations: 2.115 MB / 0.6869 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.3217, allocations: 0 / 0.6869 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.322, allocations: 79.88 kB / 0.687 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005309/0.3273, allocations: 0.9352 MB / 0.6879 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/0.3274, allocations: 24.11 kB / 0.6879 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003565/0.3309, allocations: 2.846 MB / 0.6907 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3309, allocations: 0 / 0.6907 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006481/0.3374, allocations: 1.779 MB / 0.6924 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/0.3378, allocations: 135.3 kB / 0.6925 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-05/0.3379, allocations: 12 kB / 0.6926 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/0.3384, allocations: 23.98 kB / 0.6926 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.3385, allocations: 48.56 kB / 0.6926 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.3385, allocations: 16 kB / 0.6926 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006777/0.3392, allocations: 431 kB / 0.6931 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3392, allocations: 4 kB / 0.6931 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001222/0.3404, allocations: 295.3 kB / 0.6933 GB, free: 10.65 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 (41): * Single equations (assignments): 38 * 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.007205/0.3476, allocations: 2.621 MB / 0.6959 GB, free: 8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.3494, allocations: 0.6606 MB / 0.6965 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3494, allocations: 4.125 kB / 0.6965 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.3502, allocations: 426.2 kB / 0.697 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.3515, allocations: 224.9 kB / 0.6972 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/0.3764, allocations: 7.307 MB / 0.7043 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.378, allocations: 0.9502 MB / 0.7052 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006613/0.3786, allocations: 113.1 kB / 0.7053 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007972/0.3794, allocations: 311.3 kB / 0.7056 GB, free: 13.78 MB / 0.545 GB Notification: Performance of SimCode: time 1.633e-06/0.3794, allocations: 0 / 0.7056 GB, free: 13.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/0.4865, allocations: 24.55 MB / 0.7296 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.7/18.18, allocations: 9.641 kB / 0.7296 GB, free: 5.508 MB / 0.5606 GB " [Timeout remaining time 642] (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: 22.587314318865538]