Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001804/0.001804, allocations: 157.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.037/1.037, allocations: 118.6 MB / 378.2 MB, free: 1.484 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 482.9 MB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.571e-05, allocations: 2.312 kB / 482.9 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01769/0.01772, allocations: 17.14 MB / 0.4883 GB, free: 12.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0088/0.02652, allocations: 5.46 MB / 0.4936 GB, free: 9.133 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007997/0.02732, allocations: 38.56 kB / 0.4937 GB, free: 9.109 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000881/0.0282, allocations: 258 kB / 0.4939 GB, free: 8.973 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.03014, allocations: 0.6148 MB / 0.4945 GB, free: 8.574 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.03132, allocations: 377 kB / 0.4949 GB, free: 8.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.03274, allocations: 0.9222 MB / 0.4958 GB, free: 7.477 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.033, allocations: 94.8 kB / 0.4959 GB, free: 7.383 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009297/0.03393, allocations: 0.5006 MB / 0.4964 GB, free: 6.984 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.03432, allocations: 234 kB / 0.4966 GB, free: 6.801 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.0344, allocations: 44 kB / 0.4966 GB, free: 6.758 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009629/0.03536, allocations: 338.3 kB / 0.4969 GB, free: 6.453 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.03553, allocations: 115.9 kB / 0.4971 GB, free: 6.355 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.0358, allocations: 203.6 kB / 0.4972 GB, free: 6.172 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.03733, allocations: 0.8768 MB / 0.4981 GB, free: 5.477 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.03733, allocations: 0 / 0.4981 GB, free: 5.477 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.03733, allocations: 0 / 0.4981 GB, free: 5.477 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.03734, allocations: 0 / 0.4981 GB, free: 5.477 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001931/0.03927, allocations: 0.9453 MB / 0.499 GB, free: 4.574 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.03931, allocations: 12.03 kB / 0.499 GB, free: 4.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.03968, allocations: 130.8 kB / 0.4992 GB, free: 4.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.0407, allocations: 0.5211 MB / 0.4997 GB, free: 3.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.04074, allocations: 33.92 kB / 0.4997 GB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.167e-05/0.04082, allocations: 40.38 kB / 0.4997 GB, free: 3.891 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.0417, allocations: 473.5 kB / 0.5002 GB, free: 3.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.04172, allocations: 3.938 kB / 0.5002 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.535e-05/0.04177, allocations: 20.7 kB / 0.5002 GB, free: 3.457 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.04178, allocations: 8 kB / 0.5002 GB, free: 3.449 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007942/0.04258, allocations: 418.7 kB / 0.5006 GB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.04529, allocations: 1.508 MB / 0.5021 GB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007844/0.04608, allocations: 355 kB / 0.5024 GB, free: 1.238 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.04642, allocations: 170.9 kB / 0.5026 GB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.04791, allocations: 0.7137 MB / 0.5033 GB, free: 340 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.04795, allocations: 42.42 kB / 0.5033 GB, free: 288 kB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 1.784e-06/0.04795, allocations: 7.938 kB / 0.5033 GB, free: 280 kB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.002834/0.05078, allocations: 0.6701 MB / 0.504 GB, free: 15.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.05085, allocations: 81.11 kB / 0.5041 GB, free: 15.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006936/0.05155, allocations: 0.4952 MB / 0.5046 GB, free: 14.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.05158, allocations: 29.7 kB / 0.5046 GB, free: 14.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.05189, allocations: 324.4 kB / 0.5049 GB, free: 14.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.05203, allocations: 139 kB / 0.505 GB, free: 14.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.05217, allocations: 78.14 kB / 0.5051 GB, free: 14.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.05241, allocations: 370.8 kB / 0.5055 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.05265, allocations: 101 kB / 0.5056 GB, free: 13.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.05299, allocations: 198.3 kB / 0.5057 GB, free: 13.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/0.05361, allocations: 321.1 kB / 0.506 GB, free: 13.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.05362, allocations: 3.938 kB / 0.5061 GB, free: 13.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0012/0.05482, allocations: 0.5101 MB / 0.5065 GB, free: 12.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.05483, allocations: 8 kB / 0.5066 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.05484, allocations: 0 / 0.5066 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.05606, allocations: 185.7 kB / 0.5067 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.05638, allocations: 75.89 kB / 0.5068 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.05861, allocations: 2.008 MB / 0.5088 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.0589, allocations: 35.78 kB / 0.5088 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.05894, allocations: 16 kB / 0.5088 GB, free: 10.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.05921, allocations: 173.9 kB / 0.509 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.05936, allocations: 75.58 kB / 0.5091 GB, free: 10.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.06043, allocations: 499.3 kB / 0.5095 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.06044, allocations: 4 kB / 0.5095 GB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.06044, allocations: 0 / 0.5095 GB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.06045, allocations: 3.938 kB / 0.5095 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.06249, allocations: 0.8871 MB / 0.5104 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.06249, allocations: 4 kB / 0.5104 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.06272, allocations: 39.98 kB / 0.5104 GB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.06383, allocations: 185.5 kB / 0.5106 GB, free: 8.461 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.06386, allocations: 12.08 kB / 0.5106 GB, free: 8.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.06599, allocations: 2.008 MB / 0.5126 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.06599, allocations: 8.125 kB / 0.5126 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.06761, allocations: 0.7372 MB / 0.5133 GB, free: 5.535 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.0678, allocations: 87.5 kB / 0.5134 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.06786, allocations: 15.94 kB / 0.5134 GB, free: 5.434 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.06815, allocations: 12.06 kB / 0.5134 GB, free: 5.422 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.06823, allocations: 27.94 kB / 0.5135 GB, free: 5.395 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.06826, allocations: 16 kB / 0.5135 GB, free: 5.379 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004878/0.06875, allocations: 350.8 kB / 0.5138 GB, free: 5.039 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06875, allocations: 0 / 0.5138 GB, free: 5.039 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006996/0.06945, allocations: 195.6 kB / 0.514 GB, free: 4.848 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000486/0.06993, allocations: 289.9 kB / 0.5143 GB, free: 4.559 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.07094, allocations: 410.3 kB / 0.5147 GB, free: 4.145 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.07094, allocations: 3.938 kB / 0.5147 GB, free: 4.141 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.07154, allocations: 275.4 kB / 0.5149 GB, free: 3.859 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.07267, allocations: 192.2 kB / 0.5151 GB, free: 3.688 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.0748, allocations: 1.088 MB / 0.5162 GB, free: 2.555 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.07515, allocations: 276.1 kB / 0.5164 GB, free: 2.258 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002826/0.07543, allocations: 88.94 kB / 0.5165 GB, free: 2.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.07555, allocations: 48.48 kB / 0.5166 GB, free: 2.133 MB / 442.7 MB Notification: Performance of SimCode: time 4.5e-07/0.07555, allocations: 0 / 0.5166 GB, free: 2.133 MB / 442.7 MB Notification: Performance of Templates: time 0.02069/0.09624, allocations: 10.29 MB / 0.5266 GB, free: 8.039 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.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.185067762969993]