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.001299/0.001299, allocations: 77.31 kB / 19.76 MB, free: 2.047 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.001409/0.001409, allocations: 162.4 kB / 23.01 MB, free: 4.941 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.378/1.378, allocations: 177.2 MB / 203.4 MB, free: 9.301 MB / 190.1 MB " [Timeout remaining time 179] 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.732/0.732, allocations: 79.61 MB / 339.4 MB, free: 11.55 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.00252/0.00252, allocations: 91.22 kB / 0.4924 GB, free: 26.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1114, allocations: 74.59 MB / 0.5652 GB, free: 6.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02512/0.1365, allocations: 21.06 MB / 0.5858 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.1473, allocations: 8.633 MB / 0.5942 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007053/0.1481, allocations: 43.62 kB / 0.5942 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1492, allocations: 365.4 kB / 0.5946 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.1514, allocations: 0.8113 MB / 0.5954 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.1526, allocations: 470.4 kB / 0.5958 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.1543, allocations: 1.166 MB / 0.597 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.1546, allocations: 147.9 kB / 0.5971 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.1559, allocations: 0.6852 MB / 0.5978 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006503/0.1565, allocations: 409.7 kB / 0.5982 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.1567, allocations: 60 kB / 0.5982 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1579, allocations: 487.5 kB / 0.5987 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.1581, allocations: 159.2 kB / 0.5988 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.1585, allocations: 358 kB / 0.5992 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.1605, allocations: 1.194 MB / 0.6003 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.1605, allocations: 15.92 kB / 0.6004 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1605, allocations: 3.938 kB / 0.6004 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.654e-05/0.1605, allocations: 0 / 0.6004 GB, free: 1.977 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.002464/0.163, allocations: 1.204 MB / 0.6015 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.163, allocations: 9.469 kB / 0.6016 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003427/0.1634, allocations: 116.2 kB / 0.6017 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.1646, allocations: 0.5841 MB / 0.6022 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.1646, allocations: 49.3 kB / 0.6023 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.1647, allocations: 64 kB / 0.6023 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.1659, allocations: 0.673 MB / 0.603 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.166, allocations: 0 / 0.603 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/0.166, allocations: 28 kB / 0.603 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.166, allocations: 12 kB / 0.603 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.1672, allocations: 0.6375 MB / 0.6037 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003526/0.1707, allocations: 2.048 MB / 0.6057 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1718, allocations: 0.6255 MB / 0.6063 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.1723, allocations: 252.4 kB / 0.6065 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001439/0.1737, allocations: 0.7834 MB / 0.6073 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.1738, allocations: 39.22 kB / 0.6073 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 1.954e-06/0.1738, allocations: 0 / 0.6073 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.01059/0.1843, allocations: 2.256 MB / 0.6095 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.1844, allocations: 93.8 kB / 0.6096 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007522/0.1852, allocations: 0.5746 MB / 0.6102 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.1852, allocations: 37.7 kB / 0.6102 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.1855, allocations: 392.8 kB / 0.6106 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.1857, allocations: 233.9 kB / 0.6108 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.1859, allocations: 114.3 kB / 0.6109 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.1861, allocations: 394.7 kB / 0.6113 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.1865, allocations: 201.2 kB / 0.6115 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.187, allocations: 307.7 kB / 0.6118 GB, free: 6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009017/0.1879, allocations: 0.5366 MB / 0.6123 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1879, allocations: 4 kB / 0.6123 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005305/0.1932, allocations: 1.385 MB / 0.6137 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.1933, allocations: 7.938 kB / 0.6137 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1933, allocations: 4 kB / 0.6137 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005348/0.1986, allocations: 0.939 MB / 0.6146 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.199, allocations: 99.89 kB / 0.6147 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.2018, allocations: 2.822 MB / 0.6174 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.2023, allocations: 55.56 kB / 0.6175 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.2023, allocations: 27.94 kB / 0.6175 GB, free: 15.91 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.0003242/0.2027, allocations: 204.1 kB / 0.6177 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.2029, allocations: 83.42 kB / 0.6178 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005482/0.2083, allocations: 1.476 MB / 0.6192 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.2083, allocations: 8 kB / 0.6192 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2083, allocations: 0 / 0.6192 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2084, allocations: 7.984 kB / 0.6192 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006158/0.2145, allocations: 1.951 MB / 0.6211 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2145, allocations: 0 / 0.6211 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.2148, allocations: 71.91 kB / 0.6212 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00514/0.22, allocations: 0.9468 MB / 0.6221 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.22, allocations: 16 kB / 0.6222 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/0.2227, allocations: 2.804 MB / 0.6249 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.2227, allocations: 16.02 kB / 0.6249 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005696/0.2284, allocations: 1.763 MB / 0.6266 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.2287, allocations: 131.3 kB / 0.6268 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.2288, allocations: 19.94 kB / 0.6268 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.2291, allocations: 12 kB / 0.6268 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.2292, allocations: 52.5 kB / 0.6268 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.2293, allocations: 20 kB / 0.6269 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005253/0.2298, allocations: 411 kB / 0.6272 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2298, allocations: 0 / 0.6272 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008574/0.2307, allocations: 287.4 kB / 0.6275 GB, free: 5.383 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.0005802/0.2312, allocations: 383.3 kB / 0.6279 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.2326, allocations: 0.6681 MB / 0.6285 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2326, allocations: 0 / 0.6285 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.2334, allocations: 422.9 kB / 0.6289 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.2345, allocations: 210.7 kB / 0.6291 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.2372, allocations: 1.552 MB / 0.6307 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.2376, allocations: 365.6 kB / 0.631 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003224/0.2379, allocations: 105.3 kB / 0.6311 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.238, allocations: 56.48 kB / 0.6312 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.238, allocations: 4 kB / 0.6312 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of Templates: time 0.02558/0.2636, allocations: 14.48 MB / 0.6453 GB, free: 3.332 MB / 0.545 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -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: 5.679756046738476]