Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001054/0.001054, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009879/0.0009879, allocations: 173 kB / 23.02 MB, free: 1.547 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.068/1.068, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6634/0.6634, allocations: 118.6 MB / 378.6 MB, free: 1.477 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 483.6 MB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.038e-05, allocations: 4.922 kB / 483.6 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.1611/0.1611, allocations: 146.7 MB / 0.6155 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003173/0.1642, allocations: 1.951 MB / 0.6174 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.1647, allocations: 55.5 kB / 0.6174 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.1652, allocations: 158.4 kB / 0.6176 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.1675, allocations: 1.041 MB / 0.6186 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.1681, allocations: 335.1 kB / 0.6189 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002365/0.1705, allocations: 2.554 MB / 0.6214 GB, free: 7.453 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.1707, allocations: 128.6 kB / 0.6215 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.1728, allocations: 1.727 MB / 0.6232 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005328/0.1733, allocations: 0.5338 MB / 0.6238 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.323e-05/0.1734, allocations: 56 kB / 0.6238 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000916/0.1743, allocations: 0.5654 MB / 0.6244 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.1745, allocations: 167.2 kB / 0.6245 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.1747, allocations: 295.2 kB / 0.6248 GB, free: 3.977 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.1759, allocations: 1.121 MB / 0.6259 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1759, allocations: 0 / 0.6259 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1759, allocations: 0 / 0.6259 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.1759, allocations: 3.938 kB / 0.6259 GB, free: 2.848 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.001802/0.1777, allocations: 1.443 MB / 0.6273 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1778, allocations: 8.031 kB / 0.6273 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006839/0.1784, allocations: 275.8 kB / 0.6276 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007825/0.1792, allocations: 0.6999 MB / 0.6283 GB, free: 344 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.1792, allocations: 37 kB / 0.6283 GB, free: 308 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.1793, allocations: 52 kB / 0.6283 GB, free: 256 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006649/0.18, allocations: 0.5022 MB / 0.6288 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.18, allocations: 3.953 kB / 0.6288 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.18, allocations: 20 kB / 0.6289 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.1801, allocations: 16 kB / 0.6289 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.1805, allocations: 241.7 kB / 0.6291 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.1829, allocations: 2.139 MB / 0.6312 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005458/0.1834, allocations: 359.5 kB / 0.6315 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.1836, allocations: 135.3 kB / 0.6317 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.1837, allocations: 27.98 kB / 0.6317 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003646/0.1841, allocations: 311.7 kB / 0.632 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=54): time 2.364e-06/0.1841, allocations: 0 / 0.632 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54): time 0.001135/0.1852, allocations: 0.6584 MB / 0.6326 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.1853, allocations: 89.09 kB / 0.6327 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.1858, allocations: 0.6557 MB / 0.6334 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.1858, allocations: 41.7 kB / 0.6334 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.1861, allocations: 439.8 kB / 0.6338 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.1862, allocations: 190.3 kB / 0.634 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.1864, allocations: 143.9 kB / 0.6341 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1865, allocations: 0.4926 MB / 0.6346 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.1867, allocations: 152.7 kB / 0.6348 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.1869, allocations: 259.3 kB / 0.635 GB, free: 9.141 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.1873, allocations: 369.5 kB / 0.6354 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1873, allocations: 4 kB / 0.6354 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007669/0.1881, allocations: 0.6707 MB / 0.636 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.1881, allocations: 67.39 kB / 0.6361 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.1882, allocations: 16.17 kB / 0.6361 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/0.1885, allocations: 103.1 kB / 0.6362 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.1888, allocations: 119.9 kB / 0.6363 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.1909, allocations: 3.629 MB / 0.6399 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.1911, allocations: 63.59 kB / 0.6399 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.1912, allocations: 67.98 kB / 0.64 GB, free: 3.691 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 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * 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.0001952/0.1914, allocations: 188.5 kB / 0.6402 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.1915, allocations: 107.4 kB / 0.6403 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.1929, allocations: 1.116 MB / 0.6414 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1929, allocations: 4 kB / 0.6414 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1929, allocations: 4 kB / 0.6414 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.1929, allocations: 7.922 kB / 0.6414 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.1942, allocations: 1.303 MB / 0.6426 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.1942, allocations: 24.05 kB / 0.6427 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.1945, allocations: 99.89 kB / 0.6428 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/0.1947, allocations: 95.25 kB / 0.6428 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.1947, allocations: 31.98 kB / 0.6429 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2955/0.4902, allocations: 3.645 MB / 0.6464 GB, free: 35.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.4902, allocations: 0.8438 kB / 0.6464 GB, free: 35.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.4917, allocations: 0.927 MB / 0.6473 GB, free: 35.62 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.4919, allocations: 154 kB / 0.6475 GB, free: 35.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/0.492, allocations: 16.73 kB / 0.6475 GB, free: 35.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.4923, allocations: 28.52 kB / 0.6475 GB, free: 35.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/0.4925, allocations: 86.38 kB / 0.6476 GB, free: 35.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.193e-05/0.4926, allocations: 64.08 kB / 0.6477 GB, free: 35.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000472/0.4931, allocations: 435.6 kB / 0.6481 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4931, allocations: 2.406 kB / 0.6481 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008058/0.4939, allocations: 270.8 kB / 0.6484 GB, free: 35.48 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.0004964/0.4944, allocations: 258.3 kB / 0.6486 GB, free: 35.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.4954, allocations: 0.9525 MB / 0.6495 GB, free: 34.73 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4954, allocations: 0 / 0.6495 GB, free: 34.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.4959, allocations: 0.6633 MB / 0.6502 GB, free: 34.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009706/0.4969, allocations: 349.5 kB / 0.6505 GB, free: 34.24 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.4992, allocations: 1.414 MB / 0.6519 GB, free: 33.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.4993, allocations: 160.2 kB / 0.652 GB, free: 33.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008933/0.5002, allocations: 0.6812 MB / 0.6527 GB, free: 33.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.5005, allocations: 143.6 kB / 0.6528 GB, free: 33.45 MB / 0.5573 GB Notification: Performance of SimCode: time 1.423e-06/0.5005, allocations: 0 / 0.6528 GB, free: 33.45 MB / 0.5573 GB Notification: Performance of Templates: time 0.02371/0.5242, allocations: 17.69 MB / 0.6701 GB, free: 31.64 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.579527801834047]