Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001679/0.001679, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001909/0.001909, allocations: 158.1 kB / 23.01 MB, free: 4.945 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.476/1.476, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7398/0.7398, allocations: 74.9 MB / 334.7 MB, free: 15.51 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_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.002656/0.002656, allocations: 83.44 kB / 496.4 MB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1292, allocations: 73.04 MB / 0.5561 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.03115/0.1604, allocations: 21.16 MB / 0.5767 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.1732, allocations: 8.672 MB / 0.5852 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008882/0.1741, allocations: 47.56 kB / 0.5852 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.1753, allocations: 353.4 kB / 0.5856 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.1779, allocations: 0.8152 MB / 0.5864 GB, free: 396 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.1793, allocations: 462.4 kB / 0.5868 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.1811, allocations: 1.163 MB / 0.588 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003795/0.1815, allocations: 144 kB / 0.5881 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.1825, allocations: 0.494 MB / 0.5886 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007893/0.1833, allocations: 405.8 kB / 0.589 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.1835, allocations: 60 kB / 0.589 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.185, allocations: 487.5 kB / 0.5895 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.1852, allocations: 159.2 kB / 0.5896 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005187/0.1857, allocations: 358 kB / 0.59 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.1882, allocations: 1.206 MB / 0.5912 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1882, allocations: 0 / 0.5912 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1882, allocations: 0 / 0.5912 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.689e-05/0.1882, allocations: 0 / 0.5912 GB, free: 11.46 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.0027/0.1909, allocations: 1.212 MB / 0.5923 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.191, allocations: 8.031 kB / 0.5923 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.1914, allocations: 120.3 kB / 0.5925 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.1927, allocations: 0.5879 MB / 0.593 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/0.1927, allocations: 49.3 kB / 0.5931 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.1928, allocations: 60 kB / 0.5931 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.1941, allocations: 0.6769 MB / 0.5938 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.1941, allocations: 0 / 0.5938 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/0.1942, allocations: 28 kB / 0.5938 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.1942, allocations: 16 kB / 0.5938 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.1954, allocations: 0.6297 MB / 0.5945 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.1994, allocations: 2.044 MB / 0.5965 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.2006, allocations: 0.6255 MB / 0.5971 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.201, allocations: 252.2 kB / 0.5973 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/0.2026, allocations: 0.7834 MB / 0.5981 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.2027, allocations: 39.16 kB / 0.5981 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.224e-06/0.2027, allocations: 4 kB / 0.5981 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01124/0.2139, allocations: 2.256 MB / 0.6003 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.214, allocations: 89.77 kB / 0.6004 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/0.2149, allocations: 0.5668 MB / 0.601 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.775e-05/0.215, allocations: 37.7 kB / 0.601 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.2154, allocations: 392.8 kB / 0.6014 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.2157, allocations: 245.9 kB / 0.6016 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.216, allocations: 114.3 kB / 0.6017 GB, free: 404 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.2162, allocations: 386.7 kB / 0.6021 GB, free: 8 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.2167, allocations: 205.3 kB / 0.6023 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/0.2172, allocations: 311.6 kB / 0.6026 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000991/0.2182, allocations: 0.5367 MB / 0.6031 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2182, allocations: 0 / 0.6031 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005465/0.2237, allocations: 1.393 MB / 0.6045 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.2237, allocations: 7.938 kB / 0.6045 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2237, allocations: 4 kB / 0.6045 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/0.2291, allocations: 0.943 MB / 0.6054 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.2296, allocations: 95.83 kB / 0.6055 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/0.2327, allocations: 2.814 MB / 0.6082 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.2332, allocations: 63.5 kB / 0.6083 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.2333, allocations: 24 kB / 0.6083 GB, free: 9.383 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.000389/0.2337, allocations: 194 kB / 0.6085 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.2339, allocations: 83.42 kB / 0.6086 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00583/0.2397, allocations: 1.474 MB / 0.61 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.2397, allocations: 8 kB / 0.61 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.2397, allocations: 4 kB / 0.61 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/0.2398, allocations: 3.984 kB / 0.61 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006692/0.2465, allocations: 1.954 MB / 0.6119 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.2465, allocations: 4 kB / 0.6119 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.2468, allocations: 75.97 kB / 0.612 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005401/0.2522, allocations: 0.9353 MB / 0.6129 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.2523, allocations: 20 kB / 0.6129 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002973/0.2553, allocations: 2.823 MB / 0.6157 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2553, allocations: 3.938 kB / 0.6157 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006152/0.2614, allocations: 1.763 MB / 0.6174 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.2618, allocations: 135.2 kB / 0.6176 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.262, allocations: 19.95 kB / 0.6176 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.2623, allocations: 16 kB / 0.6176 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.2625, allocations: 48.44 kB / 0.6176 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.2625, allocations: 20.19 kB / 0.6177 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005874/0.2631, allocations: 415 kB / 0.6181 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2631, allocations: 0 / 0.6181 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009749/0.2641, allocations: 287.4 kB / 0.6183 GB, free: 14.86 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.0006574/0.2647, allocations: 377.1 kB / 0.6187 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.2663, allocations: 0.6681 MB / 0.6193 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2663, allocations: 0 / 0.6193 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008462/0.2671, allocations: 422.8 kB / 0.6197 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.2683, allocations: 201.6 kB / 0.6199 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.2714, allocations: 1.553 MB / 0.6215 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.2718, allocations: 365.3 kB / 0.6218 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003949/0.2722, allocations: 102.5 kB / 0.6219 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.2723, allocations: 56.48 kB / 0.622 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of SimCode: time 6.71e-07/0.2723, allocations: 4 kB / 0.622 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of Templates: time 0.02899/0.3013, allocations: 14.48 MB / 0.6361 GB, free: 12.82 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 6.41511012497358]