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.0009879/0.0009879, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001178/0.001178, allocations: 181 kB / 23.36 MB, free: 1.133 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7371/0.7371, allocations: 118.7 MB / 378.9 MB, free: 1.359 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.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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="Time|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.954e-06/1.954e-06, allocations: 0 / 430.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.487e-05, allocations: 10.25 kB / 430.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.376/0.376, allocations: 145.6 MB / 0.5629 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.3801, allocations: 2.009 MB / 0.5649 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007784/0.3809, allocations: 51.5 kB / 0.5649 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.3814, allocations: 170.4 kB / 0.5651 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.3838, allocations: 1.002 MB / 0.5661 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007613/0.3845, allocations: 339.1 kB / 0.5664 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002914/0.3874, allocations: 2.477 MB / 0.5688 GB, free: 3.633 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.3877, allocations: 142.5 kB / 0.569 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.3898, allocations: 1.638 MB / 0.5705 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006359/0.3904, allocations: 0.5104 MB / 0.571 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.418e-05/0.3905, allocations: 56 kB / 0.5711 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009565/0.3915, allocations: 0.5889 MB / 0.5717 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3916, allocations: 167.1 kB / 0.5718 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.3919, allocations: 299.2 kB / 0.5721 GB, free: 228 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.3935, allocations: 1.125 MB / 0.5732 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.3935, allocations: 4 kB / 0.5732 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3935, allocations: 0 / 0.5732 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.3935, allocations: 0 / 0.5732 GB, free: 15.09 MB / 0.5261 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.001858/0.3954, allocations: 1.31 MB / 0.5745 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.731e-05/0.3955, allocations: 12.03 kB / 0.5745 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007697/0.3962, allocations: 252.3 kB / 0.5748 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008675/0.3971, allocations: 0.6272 MB / 0.5754 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.3973, allocations: 44.92 kB / 0.5754 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.3973, allocations: 55.94 kB / 0.5755 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.3979, allocations: 464 kB / 0.5759 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.398, allocations: 0 / 0.5759 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.398, allocations: 19.98 kB / 0.5759 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.398, allocations: 12 kB / 0.5759 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.3983, allocations: 184.5 kB / 0.5761 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.4002, allocations: 1.478 MB / 0.5776 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.4006, allocations: 284.5 kB / 0.5778 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.4007, allocations: 102.6 kB / 0.5779 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.4009, allocations: 52.61 kB / 0.578 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.4012, allocations: 272.3 kB / 0.5782 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=54): time 2.775e-06/0.4012, allocations: 0 / 0.5782 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54): time 0.0008385/0.4021, allocations: 452.5 kB / 0.5787 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.4021, allocations: 92.98 kB / 0.5788 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/0.4028, allocations: 0.5818 MB / 0.5793 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.4029, allocations: 45.7 kB / 0.5794 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.403, allocations: 267.1 kB / 0.5796 GB, free: 8.316 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.4031, allocations: 194.3 kB / 0.5798 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.4033, allocations: 130.2 kB / 0.5799 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.4034, allocations: 329.9 kB / 0.5802 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.4035, allocations: 112.7 kB / 0.5804 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.4037, allocations: 207.4 kB / 0.5806 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.404, allocations: 302.7 kB / 0.5808 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.404, allocations: 0 / 0.5808 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000516/0.4045, allocations: 477.6 kB / 0.5813 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.4045, allocations: 63.39 kB / 0.5814 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.4045, allocations: 8.172 kB / 0.5814 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.4048, allocations: 81.64 kB / 0.5814 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.4051, allocations: 135.8 kB / 0.5816 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.4065, allocations: 2.472 MB / 0.584 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.4067, allocations: 59.61 kB / 0.584 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/0.4068, allocations: 61.59 kB / 0.5841 GB, free: 3.406 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.000182/0.407, allocations: 144.6 kB / 0.5842 GB, free: 3.254 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.149e-05/0.4071, allocations: 59.94 kB / 0.5843 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.4082, allocations: 0.9471 MB / 0.5852 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4082, allocations: 11.98 kB / 0.5852 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4082, allocations: 0 / 0.5852 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4082, allocations: 7.922 kB / 0.5852 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.4095, allocations: 0.8656 MB / 0.5861 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.4095, allocations: 7.984 kB / 0.5861 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.4097, allocations: 107.9 kB / 0.5862 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/0.41, allocations: 89.59 kB / 0.5863 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.41, allocations: 28.05 kB / 0.5863 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.4113, allocations: 2.465 MB / 0.5887 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4113, allocations: 0 / 0.5887 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.4119, allocations: 0.6164 MB / 0.5893 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.4121, allocations: 115.3 kB / 0.5894 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.4122, allocations: 12 kB / 0.5894 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.4124, allocations: 35.91 kB / 0.5895 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.4126, allocations: 76.67 kB / 0.5895 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/0.4126, allocations: 55.97 kB / 0.5896 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000225/0.4128, allocations: 288.5 kB / 0.5899 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4128, allocations: 4 kB / 0.5899 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006751/0.4135, allocations: 267.6 kB / 0.5901 GB, free: 12.96 MB / 0.5417 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.0004251/0.4139, allocations: 240.8 kB / 0.5904 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007655/0.4147, allocations: 0.7775 MB / 0.5911 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.4147, allocations: 11.94 kB / 0.5911 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004048/0.4151, allocations: 0.5172 MB / 0.5916 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008796/0.416, allocations: 341.7 kB / 0.592 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.4183, allocations: 1.335 MB / 0.5933 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.4184, allocations: 159.4 kB / 0.5934 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008775/0.4193, allocations: 0.6738 MB / 0.5941 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007077/0.42, allocations: 385 kB / 0.5944 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of SimCode: time 1.493e-06/0.42, allocations: 0 / 0.5944 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of Templates: time 0.0234/0.4434, allocations: 17.59 MB / 0.6116 GB, free: 7.172 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.38398709660396]