Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.001198/0.001198, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.001439/0.001439, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.8984/0.8984, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.7193/0.7193, allocations: 118.6 MB / 379.7 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 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.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 484.8 MB, free: 8.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.448e-05, allocations: 2.312 kB / 484.8 MB, free: 8.094 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.1347/0.1348, allocations: 144.6 MB / 0.6147 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.137, allocations: 2.197 MB / 0.6168 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/0.1374, allocations: 51.5 kB / 0.6169 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.1377, allocations: 198.2 kB / 0.617 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.1397, allocations: 1.149 MB / 0.6182 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.1402, allocations: 402.9 kB / 0.6186 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.1424, allocations: 2.865 MB / 0.6214 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.1426, allocations: 140 kB / 0.6215 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.1441, allocations: 1.872 MB / 0.6233 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.1446, allocations: 0.6312 MB / 0.6239 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.1447, allocations: 72 kB / 0.624 GB, free: 5.734 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007023/0.1454, allocations: 0.6044 MB / 0.6246 GB, free: 5.129 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0004785/0.1459, allocations: 199 kB / 0.6248 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.1461, allocations: 355.1 kB / 0.6251 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.1485, allocations: 1.273 MB / 0.6264 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1485, allocations: 0 / 0.6264 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1485, allocations: 0 / 0.6264 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.1485, allocations: 0 / 0.6264 GB, free: 3.309 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.001935/0.1504, allocations: 1.598 MB / 0.6279 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1505, allocations: 8.031 kB / 0.6279 GB, free: 1.648 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/0.1513, allocations: 335.5 kB / 0.6283 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008429/0.1522, allocations: 0.7349 MB / 0.629 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/0.1522, allocations: 100.7 kB / 0.6291 GB, free: 452 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.1523, allocations: 67.95 kB / 0.6291 GB, free: 384 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.1531, allocations: 0.6196 MB / 0.6297 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.1531, allocations: 4 kB / 0.6297 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.626e-05/0.1531, allocations: 32 kB / 0.6298 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1531, allocations: 12 kB / 0.6298 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.1535, allocations: 288.1 kB / 0.6301 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.1559, allocations: 2.668 MB / 0.6327 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/0.1565, allocations: 424.3 kB / 0.6331 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.1567, allocations: 152 kB / 0.6332 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.157, allocations: 96.16 kB / 0.6333 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003564/0.1574, allocations: 354.2 kB / 0.6336 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=69): time 2.044e-06/0.1574, allocations: 0 / 0.6336 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69): time 0.001119/0.1585, allocations: 0.7356 MB / 0.6344 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1585, allocations: 89.11 kB / 0.6344 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.1589, allocations: 0.6591 MB / 0.6351 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.159, allocations: 41.7 kB / 0.6351 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.1592, allocations: 471.5 kB / 0.6356 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.1594, allocations: 253.8 kB / 0.6358 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1596, allocations: 176.2 kB / 0.636 GB, free: 9.113 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1597, allocations: 0.512 MB / 0.6365 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.1599, allocations: 149.3 kB / 0.6366 GB, free: 8.434 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.1601, allocations: 297.8 kB / 0.6369 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.1605, allocations: 430.7 kB / 0.6373 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1605, allocations: 4 kB / 0.6373 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008174/0.1613, allocations: 0.7339 MB / 0.638 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.1614, allocations: 67.39 kB / 0.6381 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.1614, allocations: 12 kB / 0.6381 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.1617, allocations: 103.2 kB / 0.6382 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.162, allocations: 175.7 kB / 0.6384 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.1636, allocations: 3.587 MB / 0.6419 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.1639, allocations: 79.59 kB / 0.642 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.372e-05/0.164, allocations: 75.97 kB / 0.642 GB, free: 2.488 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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.0002143/0.1642, allocations: 202.1 kB / 0.6422 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.1643, allocations: 115.4 kB / 0.6423 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.1659, allocations: 1.436 MB / 0.6437 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1659, allocations: 12 kB / 0.6438 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1659, allocations: 0 / 0.6438 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.1659, allocations: 7.984 kB / 0.6438 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.234/0.3999, allocations: 1.339 MB / 0.6451 GB, free: 34.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/0.3999, allocations: 12.44 kB / 0.6451 GB, free: 34.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.4002, allocations: 143.5 kB / 0.6452 GB, free: 34.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002541/0.4005, allocations: 97.09 kB / 0.6453 GB, free: 34.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/0.4006, allocations: 40.36 kB / 0.6453 GB, free: 34.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.4017, allocations: 3.595 MB / 0.6489 GB, free: 31.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4017, allocations: 1.438 kB / 0.6489 GB, free: 31.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.4028, allocations: 0.9961 MB / 0.6498 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.4031, allocations: 168.5 kB / 0.65 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.332e-05/0.4032, allocations: 18.3 kB / 0.65 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.4035, allocations: 39.84 kB / 0.65 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.4037, allocations: 117.2 kB / 0.6502 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.406e-05/0.4038, allocations: 66.61 kB / 0.6502 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003061/0.4041, allocations: 418.8 kB / 0.6506 GB, free: 30.81 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.4041, allocations: 0.8125 kB / 0.6506 GB, free: 30.81 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007899/0.4049, allocations: 326.2 kB / 0.6509 GB, free: 30.81 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * 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.000376/0.4052, allocations: 261.6 kB / 0.6512 GB, free: 30.72 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008217/0.4061, allocations: 1.014 MB / 0.6522 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4061, allocations: 1.969 kB / 0.6522 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.4065, allocations: 0.7019 MB / 0.6529 GB, free: 29.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/0.4075, allocations: 402.7 kB / 0.6532 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.4093, allocations: 1.551 MB / 0.6548 GB, free: 28.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.155e-05/0.4094, allocations: 175.8 kB / 0.6549 GB, free: 28.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000995/0.4104, allocations: 0.9857 MB / 0.6559 GB, free: 28.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007382/0.4111, allocations: 499.1 kB / 0.6564 GB, free: 28.59 MB / 0.5573 GB Notification: Performance of SimCode: time 7.12e-07/0.4111, allocations: 0 / 0.6564 GB, free: 28.59 MB / 0.5573 GB Notification: Performance of Templates: time 0.02309/0.4342, allocations: 20.85 MB / 0.6767 GB, free: 26.43 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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.537356900051236]