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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6011/0.6011, allocations: 90.3 MB / 394.8 MB, free: 3.824 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002291/0.002291, allocations: 75.88 kB / 0.5386 GB, free: 1.582 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3938, allocations: 70.83 MB / 0.6078 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02574/0.4195, allocations: 23.11 MB / 0.6304 GB, free: 7.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.4328, allocations: 9.503 MB / 0.6397 GB, free: 276 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000884/0.4337, allocations: 17.72 kB / 0.6397 GB, free: 268 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.4351, allocations: 396.7 kB / 0.6401 GB, free: 36 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.4378, allocations: 0.763 MB / 0.6408 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.4394, allocations: 472.1 kB / 0.6413 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.4414, allocations: 1.04 MB / 0.6423 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.4417, allocations: 154.9 kB / 0.6424 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.4428, allocations: 423.1 kB / 0.6428 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000843/0.4436, allocations: 422.2 kB / 0.6432 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.4438, allocations: 60.22 kB / 0.6433 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.4457, allocations: 0.5142 MB / 0.6438 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.4459, allocations: 155.5 kB / 0.6439 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006276/0.4465, allocations: 407.2 kB / 0.6443 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.4488, allocations: 1.098 MB / 0.6454 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4488, allocations: 0 / 0.6454 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4488, allocations: 3.938 kB / 0.6454 GB, free: 12.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.037e-05/0.4488, allocations: 0 / 0.6454 GB, free: 12.97 MB / 494.1 MB 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.002645/0.4515, allocations: 1.169 MB / 0.6465 GB, free: 12.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.4515, allocations: 8.969 kB / 0.6465 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.4519, allocations: 98.55 kB / 0.6466 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.4527, allocations: 486 kB / 0.6471 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.4528, allocations: 50.48 kB / 0.6471 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.996e-05/0.4529, allocations: 62.66 kB / 0.6472 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.454, allocations: 0.6743 MB / 0.6479 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.454, allocations: 5.328 kB / 0.6479 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.4541, allocations: 25.5 kB / 0.6479 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.4541, allocations: 15.12 kB / 0.6479 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.4552, allocations: 0.6205 MB / 0.6485 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004024/0.4592, allocations: 2.975 MB / 0.6514 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.4604, allocations: 0.6172 MB / 0.652 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.4608, allocations: 260.3 kB / 0.6523 GB, free: 7.594 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002518/0.4633, allocations: 1.904 MB / 0.6541 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.4634, allocations: 41.62 kB / 0.6542 GB, free: 5.645 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 1.994e-06/0.4634, allocations: 5.562 kB / 0.6542 GB, free: 5.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01034/0.4737, allocations: 2.4 MB / 0.6565 GB, free: 4.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.4738, allocations: 87.77 kB / 0.6566 GB, free: 4.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006661/0.4744, allocations: 481.3 kB / 0.6571 GB, free: 4.004 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.4745, allocations: 36.27 kB / 0.6571 GB, free: 3.965 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.4748, allocations: 336.6 kB / 0.6574 GB, free: 3.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.475, allocations: 240.8 kB / 0.6576 GB, free: 3.453 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.4752, allocations: 116.1 kB / 0.6578 GB, free: 3.379 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.4754, allocations: 373.1 kB / 0.6581 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.4758, allocations: 205.7 kB / 0.6583 GB, free: 2.918 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/0.4763, allocations: 303.7 kB / 0.6586 GB, free: 2.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009242/0.4772, allocations: 0.5302 MB / 0.6591 GB, free: 2.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4772, allocations: 1.344 kB / 0.6591 GB, free: 2.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005339/0.4826, allocations: 1.363 MB / 0.6605 GB, free: 1.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.4826, allocations: 6.625 kB / 0.6605 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4826, allocations: 2.125 kB / 0.6605 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005411/0.488, allocations: 0.9339 MB / 0.6614 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.4885, allocations: 104 kB / 0.6615 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.4917, allocations: 2.935 MB / 0.6643 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.4923, allocations: 61.64 kB / 0.6644 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/0.4923, allocations: 26.92 kB / 0.6644 GB, free: 14.53 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0003644/0.4927, allocations: 194 kB / 0.6646 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.4929, allocations: 69.36 kB / 0.6647 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005464/0.4983, allocations: 1.472 MB / 0.6661 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.4983, allocations: 7.125 kB / 0.6661 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4983, allocations: 1.312 kB / 0.6661 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.4983, allocations: 7.984 kB / 0.6661 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006522/0.5049, allocations: 2.089 MB / 0.6682 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5049, allocations: 5.453 kB / 0.6682 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.5052, allocations: 72.91 kB / 0.6682 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005298/0.5105, allocations: 0.9439 MB / 0.6692 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/0.5106, allocations: 20 kB / 0.6692 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.5134, allocations: 2.937 MB / 0.672 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5134, allocations: 0 / 0.672 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005736/0.5192, allocations: 1.741 MB / 0.6737 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.5195, allocations: 204.5 kB / 0.6739 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/0.5196, allocations: 15.94 kB / 0.674 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.5199, allocations: 20 kB / 0.674 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.5201, allocations: 52.42 kB / 0.674 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/0.5201, allocations: 16 kB / 0.674 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004717/0.5206, allocations: 342.9 kB / 0.6744 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5206, allocations: 0 / 0.6744 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009439/0.5215, allocations: 299.3 kB / 0.6747 GB, free: 5.414 MB / 0.4981 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 (41): * Single equations (assignments): 38 * 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.0006208/0.5221, allocations: 396.3 kB / 0.675 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.5236, allocations: 0.6747 MB / 0.6757 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5236, allocations: 3.938 kB / 0.6757 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000797/0.5244, allocations: 409.8 kB / 0.6761 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5255, allocations: 209.8 kB / 0.6763 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.528, allocations: 1.417 MB / 0.6777 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.5286, allocations: 0.9106 MB / 0.6786 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003267/0.529, allocations: 95.16 kB / 0.6787 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.5291, allocations: 47.44 kB / 0.6787 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/0.5291, allocations: 0 / 0.6787 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of Templates: time 0.02974/0.5588, allocations: 16.03 MB / 0.6943 GB, free: 1.324 MB / 0.5137 GB " [Timeout remaining time 659] 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 -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/jenkins/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.199005419388413]