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.001566/0.001566, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001789/0.001789, allocations: 221 kB / 23 MB, free: 4.918 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.7726/0.7726, allocations: 100.9 MB / 414.1 MB, free: 2.859 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: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [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.002554/0.002554, allocations: 85.05 kB / 0.5653 GB, free: 35.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.117, allocations: 74.62 MB / 0.6382 GB, free: 5.965 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02543/0.1424, allocations: 21.17 MB / 0.6588 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.1534, allocations: 8.66 MB / 0.6673 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/0.1541, allocations: 47.56 kB / 0.6673 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009896/0.1551, allocations: 361.4 kB / 0.6677 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.1574, allocations: 0.8152 MB / 0.6685 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1586, allocations: 466.4 kB / 0.6689 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.16, allocations: 1.166 MB / 0.6701 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.1603, allocations: 140 kB / 0.6702 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007797/0.1611, allocations: 0.4901 MB / 0.6707 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005194/0.1616, allocations: 405.8 kB / 0.6711 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.472e-05/0.1617, allocations: 60 kB / 0.6711 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.1628, allocations: 483.5 kB / 0.6716 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.163, allocations: 163.2 kB / 0.6717 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.1633, allocations: 354.1 kB / 0.6721 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.165, allocations: 1.202 MB / 0.6732 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.165, allocations: 0 / 0.6732 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.165, allocations: 0 / 0.6732 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.1651, allocations: 0 / 0.6732 GB, free: 1.875 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.002173/0.1672, allocations: 1.216 MB / 0.6744 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1673, allocations: 13.47 kB / 0.6744 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.1676, allocations: 128.2 kB / 0.6746 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.1688, allocations: 0.5726 MB / 0.6751 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.1688, allocations: 49.31 kB / 0.6752 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1689, allocations: 63.98 kB / 0.6752 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.17, allocations: 0.6769 MB / 0.6759 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.1701, allocations: 3.984 kB / 0.6759 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.1701, allocations: 24 kB / 0.6759 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.1701, allocations: 16 kB / 0.6759 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.1712, allocations: 0.6337 MB / 0.6766 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003346/0.1745, allocations: 2.039 MB / 0.6786 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.1756, allocations: 0.6212 MB / 0.6792 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.1761, allocations: 258.8 kB / 0.6794 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.1775, allocations: 0.7834 MB / 0.6802 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.1775, allocations: 47.16 kB / 0.6802 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.214e-06/0.1775, allocations: 0 / 0.6802 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.009828/0.1873, allocations: 2.252 MB / 0.6824 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.1874, allocations: 85.77 kB / 0.6825 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007544/0.1881, allocations: 0.5707 MB / 0.6831 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.1882, allocations: 41.7 kB / 0.6831 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.1885, allocations: 392.8 kB / 0.6835 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.1887, allocations: 237.9 kB / 0.6837 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.1889, allocations: 118.3 kB / 0.6838 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.1891, allocations: 386.7 kB / 0.6842 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.1895, allocations: 213.2 kB / 0.6844 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.1899, allocations: 311.7 kB / 0.6847 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/0.1908, allocations: 0.5366 MB / 0.6852 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1908, allocations: 0 / 0.6852 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004986/0.1958, allocations: 1.381 MB / 0.6865 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.1958, allocations: 11.94 kB / 0.6866 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1958, allocations: 4 kB / 0.6866 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005039/0.2009, allocations: 0.9352 MB / 0.6875 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.2013, allocations: 99.83 kB / 0.6876 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.2041, allocations: 2.818 MB / 0.6903 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.2046, allocations: 63.58 kB / 0.6904 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.2046, allocations: 20.19 kB / 0.6904 GB, free: 15.8 MB / 0.5294 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.0003255/0.205, allocations: 198 kB / 0.6906 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.2051, allocations: 87.41 kB / 0.6907 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005149/0.2103, allocations: 1.478 MB / 0.6921 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.2103, allocations: 11.98 kB / 0.6921 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2103, allocations: 0 / 0.6921 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.2103, allocations: 0 / 0.6921 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005988/0.2163, allocations: 1.954 MB / 0.694 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.2163, allocations: 0 / 0.694 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.2166, allocations: 75.97 kB / 0.6941 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004869/0.2215, allocations: 0.9352 MB / 0.695 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.2215, allocations: 19.98 kB / 0.695 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/0.2243, allocations: 2.822 MB / 0.6978 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2243, allocations: 0 / 0.6978 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/0.2297, allocations: 1.767 MB / 0.6995 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.23, allocations: 139.2 kB / 0.6997 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.314e-05/0.2301, allocations: 15.95 kB / 0.6997 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.2304, allocations: 12 kB / 0.6997 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.2305, allocations: 52.44 kB / 0.6997 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.2306, allocations: 20 kB / 0.6998 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005357/0.2311, allocations: 411 kB / 0.7001 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2311, allocations: 4 kB / 0.7002 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008474/0.232, allocations: 283.4 kB / 0.7004 GB, free: 5.266 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.000553/0.2325, allocations: 382.5 kB / 0.7008 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.2339, allocations: 0.672 MB / 0.7014 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2339, allocations: 0 / 0.7014 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007602/0.2347, allocations: 422.9 kB / 0.7018 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.2357, allocations: 207.3 kB / 0.702 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.2384, allocations: 1.589 MB / 0.7036 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.2388, allocations: 353.6 kB / 0.7039 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.239, allocations: 67.42 kB / 0.704 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.239, allocations: 0 / 0.704 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of Templates: time 0.02887/0.2679, allocations: 22.42 MB / 0.7259 GB, free: 11.13 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (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 & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1200] 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: 9.615652423817664]