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.001945/0.001945, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002502/0.002502, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.888/0.888, allocations: 100.3 MB / 413.5 MB, free: 3.668 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.002615/0.002615, allocations: 83.56 kB / 0.564 GB, free: 36.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1523, allocations: 74.46 MB / 0.6367 GB, free: 7.816 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02267/0.175, allocations: 17.72 MB / 0.654 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008838/0.1838, allocations: 6.868 MB / 0.6607 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000705/0.1845, allocations: 31.69 kB / 0.6608 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008834/0.1854, allocations: 290 kB / 0.6611 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.1871, allocations: 0.5512 MB / 0.6616 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1881, allocations: 370.6 kB / 0.6619 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.1893, allocations: 0.8166 MB / 0.6627 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.1896, allocations: 98.27 kB / 0.6628 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008243/0.1904, allocations: 374.4 kB / 0.6632 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.1909, allocations: 298.5 kB / 0.6635 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.21e-05/0.191, allocations: 40 kB / 0.6635 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.1921, allocations: 375.6 kB / 0.6639 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.1923, allocations: 111.4 kB / 0.664 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003125/0.1926, allocations: 302.2 kB / 0.6643 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.1942, allocations: 0.8287 MB / 0.6651 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1942, allocations: 4 kB / 0.6651 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.224e-06/0.1942, allocations: 0 / 0.6651 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.1942, allocations: 0 / 0.6651 GB, free: 10.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.001769/0.196, allocations: 0.9207 MB / 0.666 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.196, allocations: 11.97 kB / 0.666 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.356e-05/0.196, allocations: 13.19 kB / 0.666 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.938e-05/0.1961, allocations: 78.7 kB / 0.6661 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.1963, allocations: 76.47 kB / 0.6662 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.1974, allocations: 469.7 kB / 0.6666 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.1974, allocations: 29 kB / 0.6666 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.1975, allocations: 44 kB / 0.6667 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/0.1984, allocations: 463.9 kB / 0.6671 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.1984, allocations: 0 / 0.6671 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/0.1984, allocations: 16 kB / 0.6671 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1984, allocations: 8 kB / 0.6671 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007251/0.1992, allocations: 423.7 kB / 0.6675 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.2021, allocations: 2.034 MB / 0.6695 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/0.2028, allocations: 381.3 kB / 0.6699 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.2031, allocations: 161.7 kB / 0.67 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.2045, allocations: 0.7966 MB / 0.6708 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.2045, allocations: 42.83 kB / 0.6709 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.2045, allocations: 0 / 0.6709 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.00597/0.2105, allocations: 1.305 MB / 0.6721 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.2106, allocations: 89.05 kB / 0.6722 GB, free: 3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006361/0.2112, allocations: 471 kB / 0.6727 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.2113, allocations: 41.64 kB / 0.6727 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.2115, allocations: 292.7 kB / 0.673 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.2116, allocations: 150.7 kB / 0.6731 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.2118, allocations: 70.14 kB / 0.6732 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.212, allocations: 370.8 kB / 0.6736 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.2122, allocations: 128.8 kB / 0.6737 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.2126, allocations: 181.8 kB / 0.6739 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/0.2131, allocations: 343.7 kB / 0.6742 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2131, allocations: 0 / 0.6742 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002882/0.216, allocations: 0.7953 MB / 0.675 GB, free: 124 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.216, allocations: 11.94 kB / 0.675 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.216, allocations: 0 / 0.675 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/0.2188, allocations: 493.2 kB / 0.6754 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.2191, allocations: 71.91 kB / 0.6755 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.2213, allocations: 2.11 MB / 0.6776 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.2217, allocations: 31.75 kB / 0.6776 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.2218, allocations: 16 kB / 0.6776 GB, free: 13.26 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0002923/0.222, allocations: 173.8 kB / 0.6778 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.2222, allocations: 63.58 kB / 0.6778 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.2252, allocations: 0.868 MB / 0.6787 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.2252, allocations: 4 kB / 0.6787 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2252, allocations: 4 kB / 0.6787 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.2252, allocations: 0 / 0.6787 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/0.229, allocations: 1.347 MB / 0.68 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.229, allocations: 0 / 0.68 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.2293, allocations: 47.92 kB / 0.6801 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/0.232, allocations: 0.4895 MB / 0.6805 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.232, allocations: 8 kB / 0.6805 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.2341, allocations: 2.102 MB / 0.6826 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2341, allocations: 0 / 0.6826 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.2374, allocations: 1.108 MB / 0.6837 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.2377, allocations: 95.48 kB / 0.6838 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.2377, allocations: 15.94 kB / 0.6838 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.238, allocations: 12.06 kB / 0.6838 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.2381, allocations: 39.88 kB / 0.6838 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.2381, allocations: 8 kB / 0.6838 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004654/0.2386, allocations: 350.8 kB / 0.6842 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2386, allocations: 0 / 0.6842 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000697/0.2393, allocations: 191.6 kB / 0.6844 GB, free: 6.082 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 (27): * Single equations (assignments): 25 * 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.00385/0.2431, allocations: 1.83 MB / 0.6861 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.2442, allocations: 461.6 kB / 0.6866 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2442, allocations: 4.312 kB / 0.6866 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.2447, allocations: 294.5 kB / 0.6869 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009919/0.2457, allocations: 161.9 kB / 0.687 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.2569, allocations: 5.185 MB / 0.6921 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.2576, allocations: 0.8744 MB / 0.6929 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003055/0.2579, allocations: 86.5 kB / 0.693 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.2582, allocations: 215.4 kB / 0.6932 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/0.2582, allocations: 0 / 0.6932 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0499/0.3081, allocations: 16.95 MB / 0.7098 GB, free: 12.06 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.13, allocations: 8.062 kB / 0.7098 GB, free: 12.05 MB / 0.545 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: 19.15464988106396]