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.001521/0.001521, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001648/0.001648, allocations: 161.1 kB / 23.01 MB, free: 4.602 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.347/1.347, allocations: 177.2 MB / 203.4 MB, free: 8.91 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.7219/0.7219, allocations: 79.61 MB / 339.4 MB, free: 10.99 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.002478/0.002478, allocations: 87.75 kB / 0.4924 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1155, allocations: 74.59 MB / 0.5652 GB, free: 6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02602/0.1416, allocations: 21.17 MB / 0.5859 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.1524, allocations: 8.668 MB / 0.5943 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006171/0.153, allocations: 47.56 kB / 0.5944 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000933/0.1539, allocations: 361.5 kB / 0.5947 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.1559, allocations: 0.8112 MB / 0.5955 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1569, allocations: 470.5 kB / 0.596 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.1583, allocations: 1.17 MB / 0.5971 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.1585, allocations: 144 kB / 0.5972 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007624/0.1593, allocations: 493.9 kB / 0.5977 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005441/0.1598, allocations: 409.7 kB / 0.5981 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.449e-05/0.1599, allocations: 60 kB / 0.5982 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.161, allocations: 483.5 kB / 0.5986 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.1612, allocations: 163.2 kB / 0.5988 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.1615, allocations: 354 kB / 0.5991 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.1632, allocations: 1.202 MB / 0.6003 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1632, allocations: 0 / 0.6003 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1632, allocations: 0 / 0.6003 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.1632, allocations: 3.938 kB / 0.6003 GB, free: 1.902 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.002116/0.1653, allocations: 1.212 MB / 0.6015 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1653, allocations: 13.47 kB / 0.6015 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.1656, allocations: 124.2 kB / 0.6016 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.1667, allocations: 0.5803 MB / 0.6022 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.1668, allocations: 45.31 kB / 0.6022 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.1669, allocations: 60 kB / 0.6023 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.1679, allocations: 0.6769 MB / 0.6029 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.168, allocations: 7.938 kB / 0.6029 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.168, allocations: 24 kB / 0.603 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.168, allocations: 16 kB / 0.603 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.1691, allocations: 0.6297 MB / 0.6036 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/0.1723, allocations: 2.048 MB / 0.6056 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.1733, allocations: 0.6177 MB / 0.6062 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004186/0.1738, allocations: 263.5 kB / 0.6065 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/0.1751, allocations: 0.7795 MB / 0.6072 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1751, allocations: 43.22 kB / 0.6073 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.174e-06/0.1751, allocations: 0 / 0.6073 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.01002/0.1851, allocations: 2.252 MB / 0.6095 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.1852, allocations: 93.8 kB / 0.6095 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.1859, allocations: 0.5707 MB / 0.6101 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.1859, allocations: 37.7 kB / 0.6101 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.1862, allocations: 388.8 kB / 0.6105 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.1864, allocations: 241.9 kB / 0.6107 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.1866, allocations: 114.3 kB / 0.6108 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.1868, allocations: 390.7 kB / 0.6112 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.1872, allocations: 209.2 kB / 0.6114 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.1876, allocations: 303.7 kB / 0.6117 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008742/0.1885, allocations: 0.5444 MB / 0.6122 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1885, allocations: 0 / 0.6122 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005041/0.1935, allocations: 1.381 MB / 0.6136 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1935, allocations: 11.94 kB / 0.6136 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1936, allocations: 0 / 0.6136 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005041/0.1986, allocations: 0.9429 MB / 0.6145 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.199, allocations: 95.89 kB / 0.6146 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.2017, allocations: 2.819 MB / 0.6174 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.202, allocations: 59.59 kB / 0.6174 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.2021, allocations: 24 kB / 0.6174 GB, free: 15.83 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.0002941/0.2024, allocations: 201.7 kB / 0.6176 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.2025, allocations: 83.55 kB / 0.6177 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005226/0.2077, allocations: 1.48 MB / 0.6192 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2078, allocations: 4 kB / 0.6192 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2078, allocations: 4 kB / 0.6192 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.2078, allocations: 3.984 kB / 0.6192 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005803/0.2136, allocations: 1.95 MB / 0.6211 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2136, allocations: 0 / 0.6211 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.2139, allocations: 75.89 kB / 0.6211 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/0.2188, allocations: 0.9391 MB / 0.6221 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.2188, allocations: 19.98 kB / 0.6221 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/0.2214, allocations: 2.813 MB / 0.6248 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2214, allocations: 4.188 kB / 0.6248 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/0.2268, allocations: 1.767 MB / 0.6266 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.2271, allocations: 135.3 kB / 0.6267 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/0.2272, allocations: 15.95 kB / 0.6267 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.2275, allocations: 19.98 kB / 0.6267 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2276, allocations: 44.52 kB / 0.6268 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.2276, allocations: 23.98 kB / 0.6268 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004916/0.2281, allocations: 407.1 kB / 0.6272 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2281, allocations: 0 / 0.6272 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008043/0.2289, allocations: 287.4 kB / 0.6275 GB, free: 5.301 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.0005237/0.2295, allocations: 373.8 kB / 0.6278 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.2308, allocations: 0.6797 MB / 0.6285 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2308, allocations: 0 / 0.6285 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007283/0.2315, allocations: 418.3 kB / 0.6289 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009973/0.2325, allocations: 211.8 kB / 0.6291 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.235, allocations: 1.559 MB / 0.6306 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.2354, allocations: 361.6 kB / 0.6309 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002899/0.2357, allocations: 104.7 kB / 0.631 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.2358, allocations: 52.48 kB / 0.6311 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.2358, allocations: 4 kB / 0.6311 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.02501/0.2608, allocations: 14.48 MB / 0.6452 GB, free: 3.25 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 ida -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.693809814983979]