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.001348/0.001348, allocations: 93.06 kB / 19.65 MB, free: 280 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.00117/0.00117, allocations: 173.3 kB / 23.02 MB, free: 1.551 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 0.9212/0.9212, allocations: 177.2 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7212/0.7212, allocations: 118.6 MB / 378.6 MB, free: 1.516 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_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: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 3.938 kB / 483.6 MB, free: 8.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.408e-05/3.618e-05, allocations: 2.312 kB / 483.6 MB, free: 8.219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.01115/0.01119, allocations: 8.315 MB / 491.9 MB, free: 2.617 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004397/0.01558, allocations: 2.401 MB / 494.3 MB, free: 0.957 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.01671, allocations: 48.62 kB / 494.4 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006486/0.01736, allocations: 181 kB / 494.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.01978, allocations: 0.6527 MB / 495.2 MB, free: 388 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.02082, allocations: 301.2 kB / 495.5 MB, free: 224 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.02266, allocations: 1.301 MB / 496.8 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003984/0.02306, allocations: 145.2 kB / 496.9 MB, free: 15.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.02484, allocations: 0.7164 MB / 497.7 MB, free: 15.16 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006895/0.02553, allocations: 348.1 kB / 498 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.02568, allocations: 58.75 kB / 498.1 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006229/0.0263, allocations: 180.4 kB / 498.2 MB, free: 15.01 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.02647, allocations: 170.2 kB / 498.4 MB, free: 14.89 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.0269, allocations: 293.7 kB / 498.7 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.02858, allocations: 0.8256 MB / 499.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.02858, allocations: 1.031 kB / 499.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02859, allocations: 0 / 499.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.628e-05/0.02861, allocations: 4 kB / 499.5 MB, free: 14.4 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.002339/0.03095, allocations: 1.316 MB / 0.4891 GB, free: 13.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.031, allocations: 14.17 kB / 0.4891 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.03138, allocations: 185.5 kB / 0.4893 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.03252, allocations: 0.67 MB / 0.4899 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.03257, allocations: 48 kB / 0.49 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.03267, allocations: 65.42 kB / 0.4901 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/0.03351, allocations: 0.5181 MB / 0.4906 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.03353, allocations: 2.344 kB / 0.4906 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.03357, allocations: 29.38 kB / 0.4906 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.03359, allocations: 16.06 kB / 0.4906 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005692/0.03416, allocations: 333.1 kB / 0.4909 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/0.0369, allocations: 2.306 MB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/0.03766, allocations: 0.5524 MB / 0.4937 GB, free: 9.766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.0379, allocations: 175.7 kB / 0.4939 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.03922, allocations: 0.9824 MB / 0.4948 GB, free: 8.715 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.03925, allocations: 38.59 kB / 0.4949 GB, free: 8.668 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 2.905e-06/0.03925, allocations: 0 / 0.4949 GB, free: 8.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.002112/0.04136, allocations: 0.878 MB / 0.4957 GB, free: 7.926 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.04141, allocations: 82.12 kB / 0.4958 GB, free: 7.828 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.04206, allocations: 0.6631 MB / 0.4965 GB, free: 7.254 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.04209, allocations: 29.7 kB / 0.4965 GB, free: 7.219 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.04236, allocations: 494.1 kB / 0.497 GB, free: 6.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.04248, allocations: 205 kB / 0.4972 GB, free: 6.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.04262, allocations: 118.4 kB / 0.4973 GB, free: 6.469 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.04275, allocations: 0.5009 MB / 0.4978 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.04291, allocations: 89.95 kB / 0.4978 GB, free: 5.895 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.04318, allocations: 275.1 kB / 0.4981 GB, free: 5.582 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.04362, allocations: 434.8 kB / 0.4985 GB, free: 5.105 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.04362, allocations: 4 kB / 0.4985 GB, free: 5.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009424/0.04457, allocations: 0.6401 MB / 0.4991 GB, free: 4.508 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.04459, allocations: 8 kB / 0.4992 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.04461, allocations: 4.75 kB / 0.4992 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.04566, allocations: 297.6 kB / 0.4994 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.04592, allocations: 117.4 kB / 0.4996 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.04785, allocations: 3.537 MB / 0.503 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.04819, allocations: 60.83 kB / 0.5031 GB, free: 448 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.04823, allocations: 37.48 kB / 0.5031 GB, free: 412 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (64): * Single equations (assignments): 61 * 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,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.04846, allocations: 192.4 kB / 0.5033 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.04857, allocations: 100.4 kB / 0.5034 GB, free: 108 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.0498, allocations: 0.7372 MB / 0.5041 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.04981, allocations: 4 kB / 0.5041 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.04981, allocations: 4 kB / 0.5041 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.04982, allocations: 3.984 kB / 0.5041 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.05128, allocations: 1.136 MB / 0.5052 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.05129, allocations: 0 / 0.5052 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.05146, allocations: 71.91 kB / 0.5053 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008352/0.05229, allocations: 295 kB / 0.5056 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.05233, allocations: 16 kB / 0.5056 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.05399, allocations: 3.543 MB / 0.509 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.05399, allocations: 0 / 0.509 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.05501, allocations: 0.9131 MB / 0.5099 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.0552, allocations: 119.2 kB / 0.5101 GB, free: 8.992 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.05525, allocations: 12 kB / 0.5101 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.05541, allocations: 16 kB / 0.5101 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.05551, allocations: 44.36 kB / 0.5101 GB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.05553, allocations: 23.98 kB / 0.5101 GB, free: 8.898 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003493/0.05588, allocations: 426.9 kB / 0.5106 GB, free: 8.488 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05588, allocations: 0 / 0.5106 GB, free: 8.488 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006383/0.05652, allocations: 235.5 kB / 0.5108 GB, free: 8.258 MB / 442.7 MB 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 (39): * Single equations (assignments): 36 * 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,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002695/0.05679, allocations: 171 kB / 0.5109 GB, free: 8.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008697/0.05766, allocations: 0.5526 MB / 0.5115 GB, free: 7.504 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.05766, allocations: 0 / 0.5115 GB, free: 7.504 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.0581, allocations: 393.7 kB / 0.5119 GB, free: 7.098 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008611/0.05896, allocations: 284.2 kB / 0.5121 GB, free: 6.836 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.06125, allocations: 1.41 MB / 0.5135 GB, free: 5.375 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.06137, allocations: 159.2 kB / 0.5137 GB, free: 5.195 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000318/0.06169, allocations: 103.6 kB / 0.5138 GB, free: 5.102 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.904e-05/0.06179, allocations: 64.48 kB / 0.5138 GB, free: 5.039 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/0.06179, allocations: 0 / 0.5138 GB, free: 5.039 MB / 442.7 MB Notification: Performance of Templates: time 0.0161/0.07789, allocations: 12.9 MB / 0.5264 GB, free: 8.43 MB / 458.7 MB " [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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9975487189367414]