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.001331/0.001331, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001346/0.001346, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9565/0.9565, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.7274/0.7274, allocations: 118.7 MB / 378.9 MB, free: 1.379 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 2.995e-06/2.995e-06, allocations: 0 / 484.1 MB, free: 8.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.685e-05, allocations: 2.312 kB / 484.1 MB, free: 8.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.1512/0.1513, allocations: 143.4 MB / 0.6128 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00393/0.1552, allocations: 1.939 MB / 0.6147 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008512/0.1561, allocations: 59.44 kB / 0.6147 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.1566, allocations: 166.4 kB / 0.6149 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003297/0.1599, allocations: 1.033 MB / 0.6159 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009012/0.1608, allocations: 339.1 kB / 0.6162 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003295/0.1641, allocations: 2.558 MB / 0.6187 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.1644, allocations: 128.6 kB / 0.6188 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.1668, allocations: 1.735 MB / 0.6205 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007828/0.1676, allocations: 0.5337 MB / 0.6211 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.1678, allocations: 56 kB / 0.6211 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.169, allocations: 0.5577 MB / 0.6217 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.1691, allocations: 159.2 kB / 0.6218 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.1695, allocations: 295.2 kB / 0.6221 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.1713, allocations: 1.125 MB / 0.6232 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1713, allocations: 4 kB / 0.6232 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1713, allocations: 0 / 0.6232 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.1713, allocations: 0 / 0.6232 GB, free: 5.805 MB / 0.5417 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.001742/0.173, allocations: 1.45 MB / 0.6246 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1731, allocations: 12.03 kB / 0.6246 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006958/0.1738, allocations: 275.8 kB / 0.6249 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.1745, allocations: 0.6921 MB / 0.6256 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.1745, allocations: 37 kB / 0.6256 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.1746, allocations: 51.98 kB / 0.6256 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.1751, allocations: 482.2 kB / 0.6261 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1752, allocations: 3.953 kB / 0.6261 GB, free: 2.699 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.1752, allocations: 27.98 kB / 0.6261 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1752, allocations: 16 kB / 0.6262 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.1755, allocations: 198.8 kB / 0.6263 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.1775, allocations: 2.038 MB / 0.6283 GB, free: 364 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.1779, allocations: 336.2 kB / 0.6287 GB, free: 8 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.178, allocations: 119.7 kB / 0.6288 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.1781, allocations: 57 kB / 0.6288 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.1784, allocations: 291.7 kB / 0.6291 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=54): time 1.824e-06/0.1784, allocations: 0 / 0.6291 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54): time 0.0009438/0.1794, allocations: 0.6113 MB / 0.6297 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1794, allocations: 89.09 kB / 0.6298 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006977/0.1801, allocations: 0.6436 MB / 0.6304 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.1802, allocations: 37.7 kB / 0.6304 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.1804, allocations: 439.8 kB / 0.6309 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.1805, allocations: 198.3 kB / 0.6311 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.1806, allocations: 143.9 kB / 0.6312 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1808, allocations: 0.5004 MB / 0.6317 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1809, allocations: 128.6 kB / 0.6318 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.1811, allocations: 239.3 kB / 0.632 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.1814, allocations: 349.4 kB / 0.6324 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1814, allocations: 0 / 0.6324 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006147/0.182, allocations: 0.6279 MB / 0.633 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.182, allocations: 67.33 kB / 0.633 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.1821, allocations: 11.98 kB / 0.6331 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.1823, allocations: 91.28 kB / 0.6331 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.1825, allocations: 127.8 kB / 0.6333 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.1846, allocations: 3.572 MB / 0.6368 GB, free: 7.234 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1848, allocations: 63.67 kB / 0.6368 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.1849, allocations: 63.98 kB / 0.6369 GB, free: 7.109 MB / 0.5573 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.0001746/0.1851, allocations: 192.4 kB / 0.6371 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/0.1852, allocations: 103.6 kB / 0.6372 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.1863, allocations: 1.085 MB / 0.6382 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1863, allocations: 8 kB / 0.6382 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1863, allocations: 0 / 0.6382 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1863, allocations: 7.984 kB / 0.6382 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.1874, allocations: 1.179 MB / 0.6394 GB, free: 4.461 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.1874, allocations: 11.98 kB / 0.6394 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.1876, allocations: 103.9 kB / 0.6395 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.1878, allocations: 107.2 kB / 0.6396 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.1879, allocations: 35.97 kB / 0.6396 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.1893, allocations: 3.587 MB / 0.6431 GB, free: 388 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1893, allocations: 4.031 kB / 0.6431 GB, free: 384 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2867/0.476, allocations: 0.8751 MB / 0.644 GB, free: 35.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.4763, allocations: 143 kB / 0.6441 GB, free: 35.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.4764, allocations: 14.55 kB / 0.6441 GB, free: 35.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.4767, allocations: 34.69 kB / 0.6442 GB, free: 35.29 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.4769, allocations: 89.94 kB / 0.6443 GB, free: 35.29 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.309e-05/0.477, allocations: 61.58 kB / 0.6443 GB, free: 35.29 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003963/0.4774, allocations: 407.5 kB / 0.6447 GB, free: 35.15 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.4774, allocations: 0 / 0.6447 GB, free: 35.15 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008893/0.4782, allocations: 271.9 kB / 0.645 GB, free: 35.15 MB / 0.5573 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.0005136/0.4788, allocations: 254 kB / 0.6452 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.4798, allocations: 0.924 MB / 0.6461 GB, free: 34.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4798, allocations: 1.094 kB / 0.6461 GB, free: 34.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006381/0.4805, allocations: 0.6482 MB / 0.6467 GB, free: 33.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.4817, allocations: 341.6 kB / 0.6471 GB, free: 33.92 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.4846, allocations: 1.412 MB / 0.6484 GB, free: 33.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.4847, allocations: 159.3 kB / 0.6486 GB, free: 33.19 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001518/0.4862, allocations: 0.6765 MB / 0.6493 GB, free: 33.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009253/0.4872, allocations: 441 kB / 0.6497 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of SimCode: time 3.527e-06/0.4872, allocations: 0 / 0.6497 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of Templates: time 0.02746/0.5146, allocations: 17.86 MB / 0.6671 GB, free: 31.36 MB / 0.5573 GB " [Timeout remaining time 659] 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 -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.603718714788556]