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.001623/0.001623, 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.002104/0.002104, allocations: 216.1 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8348/0.8348, allocations: 100.3 MB / 413.5 MB, free: 3.398 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_dev_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.003673/0.003673, allocations: 84.5 kB / 0.564 GB, free: 35.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1621, allocations: 74.46 MB / 0.6367 GB, free: 7.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02954/0.1916, allocations: 21.14 MB / 0.6574 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.2041, allocations: 8.653 MB / 0.6658 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.2053, allocations: 43.56 kB / 0.6659 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.2067, allocations: 353.5 kB / 0.6662 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.2094, allocations: 0.8191 MB / 0.667 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.2111, allocations: 466.4 kB / 0.6674 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.2132, allocations: 1.166 MB / 0.6686 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004755/0.2137, allocations: 156 kB / 0.6687 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.215, allocations: 0.494 MB / 0.6692 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000823/0.2158, allocations: 441.7 kB / 0.6696 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.216, allocations: 60 kB / 0.6697 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.2176, allocations: 487.5 kB / 0.6702 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.2179, allocations: 167.1 kB / 0.6703 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006748/0.2185, allocations: 354.1 kB / 0.6707 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.2216, allocations: 1.206 MB / 0.6718 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2216, allocations: 0 / 0.6718 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2216, allocations: 0 / 0.6718 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.176e-05/0.2216, allocations: 0 / 0.6718 GB, free: 3.25 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.002716/0.2243, allocations: 1.216 MB / 0.673 GB, free: 2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2244, allocations: 8.031 kB / 0.673 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.092e-05/0.2244, allocations: 17.5 kB / 0.673 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000152/0.2246, allocations: 106.7 kB / 0.6731 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.225, allocations: 120.2 kB / 0.6733 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.2264, allocations: 0.5798 MB / 0.6738 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.2264, allocations: 45.31 kB / 0.6739 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.2265, allocations: 64 kB / 0.6739 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.2279, allocations: 0.6731 MB / 0.6746 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.2279, allocations: 3.938 kB / 0.6746 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/0.228, allocations: 24 kB / 0.6746 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.228, allocations: 16 kB / 0.6746 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.2292, allocations: 0.6414 MB / 0.6753 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00414/0.2333, allocations: 2.132 MB / 0.6773 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.2346, allocations: 0.6273 MB / 0.678 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.235, allocations: 256.2 kB / 0.6782 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/0.2367, allocations: 0.7834 MB / 0.679 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.2367, allocations: 43.22 kB / 0.679 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.335e-06/0.2367, allocations: 0 / 0.679 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.01104/0.2478, allocations: 2.263 MB / 0.6812 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.2479, allocations: 93.73 kB / 0.6813 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009859/0.2488, allocations: 0.5865 MB / 0.6819 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.676e-05/0.2489, allocations: 37.7 kB / 0.6819 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.2493, allocations: 392.9 kB / 0.6823 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.2495, allocations: 238 kB / 0.6825 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.2498, allocations: 114.3 kB / 0.6826 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2499, allocations: 334 kB / 0.6829 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.2503, allocations: 209.2 kB / 0.6831 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.2508, allocations: 299.7 kB / 0.6834 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009299/0.2518, allocations: 0.5444 MB / 0.684 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.2518, allocations: 0 / 0.684 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005409/0.2572, allocations: 1.385 MB / 0.6853 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.2572, allocations: 8 kB / 0.6853 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.2572, allocations: 7.938 kB / 0.6853 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005454/0.2627, allocations: 0.9352 MB / 0.6862 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.2631, allocations: 95.89 kB / 0.6863 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.2661, allocations: 2.847 MB / 0.6891 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.2666, allocations: 47.62 kB / 0.6892 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.2667, allocations: 28 kB / 0.6892 GB, free: 0.9531 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.0003709/0.2671, allocations: 201.7 kB / 0.6894 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.2673, allocations: 87.44 kB / 0.6895 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005633/0.2729, allocations: 1.487 MB / 0.6909 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/0.273, allocations: 15.92 kB / 0.6909 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.273, allocations: 0 / 0.6909 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.273, allocations: 3.984 kB / 0.6909 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006961/0.28, allocations: 2.024 MB / 0.6929 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.28, allocations: 4 kB / 0.6929 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.2804, allocations: 71.91 kB / 0.693 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005399/0.2858, allocations: 0.9352 MB / 0.6939 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.2859, allocations: 16 kB / 0.6939 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/0.2889, allocations: 2.842 MB / 0.6967 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2889, allocations: 4.188 kB / 0.6967 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006009/0.2949, allocations: 1.767 MB / 0.6984 GB, free: 7.195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/0.2954, allocations: 139.3 kB / 0.6985 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.2955, allocations: 15.94 kB / 0.6986 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.296, allocations: 12 kB / 0.6986 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.2961, allocations: 44.56 kB / 0.6986 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.2961, allocations: 20 kB / 0.6986 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006823/0.2968, allocations: 431 kB / 0.699 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2968, allocations: 0 / 0.699 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001078/0.2979, allocations: 287.4 kB / 0.6993 GB, free: 6.27 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.007077/0.305, allocations: 2.589 MB / 0.7018 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.3066, allocations: 0.6797 MB / 0.7025 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3066, allocations: 0 / 0.7025 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008463/0.3075, allocations: 414.8 kB / 0.7029 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.3088, allocations: 233.4 kB / 0.7031 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.3274, allocations: 7.285 MB / 0.7102 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.328, allocations: 365.4 kB / 0.7106 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005368/0.3285, allocations: 105.9 kB / 0.7107 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/0.329, allocations: 307.3 kB / 0.711 GB, free: 10.03 MB / 0.545 GB Notification: Performance of SimCode: time 1.883e-06/0.329, allocations: 0 / 0.711 GB, free: 10.03 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06401/0.393, allocations: 23.76 MB / 0.7342 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/16.57, allocations: 10.2 kB / 0.7342 GB, free: 2.656 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.411972107947804]