Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.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.00115/0.00115, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001661/0.002812, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008308/0.0008308, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001845, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.9625/0.9625, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09248/1.055, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.7171/0.7171, allocations: 118.7 MB / 362.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07017/0.7872, allocations: 35.85 MB / 398.7 MB, free: 13.08 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 400 MB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.202e-05, allocations: 6.25 kB / 400 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.3653/0.3654, allocations: 146 MB / 0.5332 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003682/0.3691, allocations: 2.009 MB / 0.5352 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007732/0.3698, allocations: 51.5 kB / 0.5352 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.3703, allocations: 166.5 kB / 0.5354 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.3726, allocations: 0.996 MB / 0.5363 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007959/0.3734, allocations: 343 kB / 0.5367 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002734/0.3761, allocations: 2.438 MB / 0.5391 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.3764, allocations: 137.8 kB / 0.5392 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.3787, allocations: 1.721 MB / 0.5409 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006113/0.3793, allocations: 0.5026 MB / 0.5414 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.615e-05/0.3794, allocations: 56 kB / 0.5414 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.3804, allocations: 0.6044 MB / 0.542 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3805, allocations: 119.4 kB / 0.5421 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.3807, allocations: 243.4 kB / 0.5423 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.382, allocations: 1.012 MB / 0.5433 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.594e-05/0.382, allocations: 0 / 0.5433 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.543e-06/0.382, allocations: 0 / 0.5433 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.382, allocations: 4 kB / 0.5433 GB, free: 7.41 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001942/0.3839, allocations: 1.59 MB / 0.5449 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.384, allocations: 15.97 kB / 0.5449 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007138/0.3847, allocations: 256.3 kB / 0.5452 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009077/0.3856, allocations: 0.6274 MB / 0.5458 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.3856, allocations: 40.94 kB / 0.5458 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.41e-05/0.3857, allocations: 51.98 kB / 0.5459 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.3863, allocations: 464 kB / 0.5463 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.3863, allocations: 0 / 0.5463 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.3863, allocations: 24 kB / 0.5463 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.3863, allocations: 13.38 kB / 0.5463 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.3866, allocations: 180.4 kB / 0.5465 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.3885, allocations: 1.485 MB / 0.548 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.3889, allocations: 285.9 kB / 0.5482 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.389, allocations: 97.66 kB / 0.5483 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.3892, allocations: 60.61 kB / 0.5484 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.3895, allocations: 272.3 kB / 0.5486 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=54): time 1.963e-06/0.3895, allocations: 4 kB / 0.5486 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54): time 0.0007435/0.3902, allocations: 453.2 kB / 0.5491 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3903, allocations: 89.05 kB / 0.5492 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.3906, allocations: 0.5819 MB / 0.5497 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.3907, allocations: 37.7 kB / 0.5498 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3908, allocations: 267 kB / 0.55 GB, free: 324 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3909, allocations: 206.2 kB / 0.5502 GB, free: 116 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.391, allocations: 118.3 kB / 0.5503 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.3911, allocations: 333.8 kB / 0.5506 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.3912, allocations: 120.7 kB / 0.5508 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.3914, allocations: 196.7 kB / 0.5509 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.3916, allocations: 310.7 kB / 0.5512 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3916, allocations: 0 / 0.5512 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004953/0.3921, allocations: 490 kB / 0.5517 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/0.3922, allocations: 59.41 kB / 0.5518 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/0.3922, allocations: 11.97 kB / 0.5518 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/0.3925, allocations: 85.56 kB / 0.5519 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.3928, allocations: 148.9 kB / 0.552 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.3944, allocations: 2.461 MB / 0.5544 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.3946, allocations: 59.72 kB / 0.5545 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.3947, allocations: 55.97 kB / 0.5545 GB, free: 11.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1,sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.3949, allocations: 144.5 kB / 0.5547 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/0.3949, allocations: 71.92 kB / 0.5547 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.396, allocations: 0.9468 MB / 0.5556 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.396, allocations: 4 kB / 0.5556 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.396, allocations: 4 kB / 0.5557 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.396, allocations: 0 / 0.5557 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009278/0.3969, allocations: 0.8598 MB / 0.5565 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.3969, allocations: 11.98 kB / 0.5565 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.3972, allocations: 127.8 kB / 0.5566 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.3974, allocations: 111.3 kB / 0.5567 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/0.3976, allocations: 98.14 kB / 0.5568 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.3976, allocations: 27.97 kB / 0.5569 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.3988, allocations: 2.467 MB / 0.5593 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3988, allocations: 7.922 kB / 0.5593 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.3994, allocations: 0.6086 MB / 0.5599 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.178e-05/0.3994, allocations: 12 kB / 0.5599 GB, free: 5.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.3996, allocations: 35.91 kB / 0.5599 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.3998, allocations: 83.83 kB / 0.56 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.3998, allocations: 55.97 kB / 0.56 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002014/0.4, allocations: 288.5 kB / 0.5603 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.4, allocations: 3.938 kB / 0.5603 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008301/0.4008, allocations: 267.6 kB / 0.5606 GB, free: 4.914 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000425/0.4013, allocations: 237.4 kB / 0.5608 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007034/0.402, allocations: 0.7919 MB / 0.5616 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-05/0.402, allocations: 12 kB / 0.5616 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004143/0.4024, allocations: 0.5573 MB / 0.5621 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.404, allocations: 2.178 MB / 0.5643 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008917/0.4129, allocations: 1.34 MB / 0.5656 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.413, allocations: 167.4 kB / 0.5657 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001018/0.414, allocations: 0.6851 MB / 0.5664 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007306/0.4148, allocations: 385 kB / 0.5668 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of SimCode: time 2.574e-06/0.4148, allocations: 0 / 0.5668 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of Templates: time 0.02458/0.4394, allocations: 18.25 MB / 0.5846 GB, free: 12.12 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.12775706127286]