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.001022/0.001022, allocations: 93.06 kB / 19.65 MB, free: 280 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.001012/0.001012, allocations: 169 kB / 23.02 MB, free: 1.555 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.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7343/0.7343, allocations: 118.7 MB / 378.6 MB, free: 1.508 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.973e-06/1.973e-06, allocations: 0 / 483.6 MB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.325e-05, allocations: 4.984 kB / 483.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.1415/0.1415, allocations: 146.6 MB / 0.6155 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002875/0.1444, allocations: 1.951 MB / 0.6174 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.1448, allocations: 55.5 kB / 0.6174 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004524/0.1452, allocations: 170.4 kB / 0.6176 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.1473, allocations: 1.025 MB / 0.6186 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006551/0.148, allocations: 339.2 kB / 0.6189 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002509/0.1505, allocations: 2.554 MB / 0.6214 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.1507, allocations: 128.6 kB / 0.6215 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.153, allocations: 1.712 MB / 0.6232 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005024/0.1535, allocations: 0.5299 MB / 0.6237 GB, free: 5.074 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.436e-05/0.1535, allocations: 56 kB / 0.6238 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008035/0.1543, allocations: 0.5538 MB / 0.6243 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1545, allocations: 171.2 kB / 0.6245 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.1547, allocations: 291.1 kB / 0.6248 GB, free: 4.012 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1559, allocations: 1.129 MB / 0.6259 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1559, allocations: 0 / 0.6259 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1559, allocations: 0 / 0.6259 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.1559, allocations: 0 / 0.6259 GB, free: 2.879 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.001773/0.1577, allocations: 1.439 MB / 0.6273 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.1577, allocations: 8.031 kB / 0.6273 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007048/0.1584, allocations: 271.8 kB / 0.6275 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008109/0.1592, allocations: 0.7 MB / 0.6282 GB, free: 384 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.1593, allocations: 40.94 kB / 0.6283 GB, free: 344 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/0.1594, allocations: 55.98 kB / 0.6283 GB, free: 288 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/0.16, allocations: 0.4945 MB / 0.6288 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.16, allocations: 3.953 kB / 0.6288 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.1601, allocations: 19.98 kB / 0.6288 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.1601, allocations: 15.94 kB / 0.6288 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.1609, allocations: 241.8 kB / 0.6291 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.1632, allocations: 2.139 MB / 0.6312 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.1637, allocations: 362.5 kB / 0.6315 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.1638, allocations: 139.7 kB / 0.6316 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.164, allocations: 23.98 kB / 0.6317 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/0.1643, allocations: 311.7 kB / 0.632 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=54): time 1.462e-06/0.1643, allocations: 0 / 0.632 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54): time 0.001078/0.1654, allocations: 0.6543 MB / 0.6326 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1654, allocations: 89.03 kB / 0.6327 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.1659, allocations: 0.6596 MB / 0.6333 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.166, allocations: 37.7 kB / 0.6334 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.1662, allocations: 431.9 kB / 0.6338 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.1663, allocations: 194.3 kB / 0.634 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.1664, allocations: 147.9 kB / 0.6341 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1665, allocations: 0.4926 MB / 0.6346 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.1667, allocations: 156.6 kB / 0.6347 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.167, allocations: 259.4 kB / 0.635 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.1674, allocations: 365.5 kB / 0.6353 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1674, allocations: 4 kB / 0.6353 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001005/0.1684, allocations: 0.6746 MB / 0.636 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.1684, allocations: 67.39 kB / 0.6361 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.1684, allocations: 11.98 kB / 0.6361 GB, free: 7.961 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/0.1687, allocations: 103.4 kB / 0.6362 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.169, allocations: 127.8 kB / 0.6363 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.1705, allocations: 3.633 MB / 0.6398 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.1708, allocations: 63.59 kB / 0.6399 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.1708, allocations: 67.98 kB / 0.64 GB, free: 3.715 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.0001624/0.171, allocations: 180.5 kB / 0.6401 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1711, allocations: 111.4 kB / 0.6402 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.1724, allocations: 1.115 MB / 0.6413 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1724, allocations: 8 kB / 0.6413 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1724, allocations: 4 kB / 0.6413 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1724, allocations: 7.922 kB / 0.6413 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.1737, allocations: 1.296 MB / 0.6426 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.1737, allocations: 15.98 kB / 0.6426 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.1739, allocations: 107.9 kB / 0.6427 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/0.1741, allocations: 103.3 kB / 0.6428 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/0.1745, allocations: 31.98 kB / 0.6429 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2564/0.4309, allocations: 3.636 MB / 0.6464 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4309, allocations: 2.156 kB / 0.6464 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.4322, allocations: 0.9292 MB / 0.6473 GB, free: 35.49 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.4325, allocations: 154.5 kB / 0.6475 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.459e-05/0.4326, allocations: 13.02 kB / 0.6475 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.4329, allocations: 26.66 kB / 0.6475 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.4331, allocations: 89.56 kB / 0.6476 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.4332, allocations: 61.17 kB / 0.6476 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004526/0.4336, allocations: 439.2 kB / 0.6481 GB, free: 35.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4336, allocations: 1.156 kB / 0.6481 GB, free: 35.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008694/0.4345, allocations: 274.1 kB / 0.6483 GB, free: 35.34 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.0004782/0.435, allocations: 254.9 kB / 0.6486 GB, free: 35.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.436, allocations: 0.9526 MB / 0.6495 GB, free: 34.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.436, allocations: 0.7812 kB / 0.6495 GB, free: 34.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.4365, allocations: 0.6634 MB / 0.6502 GB, free: 34.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009758/0.4375, allocations: 347.3 kB / 0.6505 GB, free: 34.11 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.4397, allocations: 1.413 MB / 0.6519 GB, free: 33.44 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.4398, allocations: 159.5 kB / 0.652 GB, free: 33.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008332/0.4407, allocations: 0.6817 MB / 0.6527 GB, free: 33.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.4409, allocations: 146.8 kB / 0.6528 GB, free: 33.31 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/0.4409, allocations: 0.875 kB / 0.6528 GB, free: 33.31 MB / 0.5573 GB Notification: Performance of Templates: time 0.02025/0.4612, allocations: 16.02 MB / 0.6685 GB, free: 31.84 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 -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.7216690252535045]