Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001305/0.001305, 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.0009454/0.0009454, allocations: 169 kB / 23.02 MB, free: 1.551 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.9116/0.9116, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7053/0.7053, allocations: 118.7 MB / 378.6 MB, free: 1.512 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.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_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_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.317e-05/3.541e-05, allocations: 2.312 kB / 483.6 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.1391/0.1391, allocations: 147.8 MB / 0.6166 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003434/0.1426, allocations: 2.209 MB / 0.6188 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.1432, allocations: 51.5 kB / 0.6188 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.1438, allocations: 194.2 kB / 0.619 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.1462, allocations: 1.157 MB / 0.6202 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008025/0.147, allocations: 402.9 kB / 0.6205 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002819/0.1498, allocations: 2.865 MB / 0.6233 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.1501, allocations: 140 kB / 0.6235 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.152, allocations: 1.872 MB / 0.6253 GB, free: 3.5 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007173/0.1527, allocations: 0.6273 MB / 0.6259 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1528, allocations: 72 kB / 0.626 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009586/0.1538, allocations: 0.5927 MB / 0.6266 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.154, allocations: 207 kB / 0.6268 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.1542, allocations: 355.1 kB / 0.6271 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.1559, allocations: 1.273 MB / 0.6283 GB, free: 388 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1559, allocations: 0 / 0.6283 GB, free: 388 kB / 0.5417 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1559, allocations: 0 / 0.6283 GB, free: 388 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.1559, allocations: 4 kB / 0.6283 GB, free: 384 kB / 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.002158/0.1581, allocations: 1.583 MB / 0.6299 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1581, allocations: 16.03 kB / 0.6299 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.159, allocations: 335.5 kB / 0.6302 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008391/0.1598, allocations: 0.7349 MB / 0.6309 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.343e-05/0.1599, allocations: 104.7 kB / 0.631 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-05/0.16, allocations: 71.95 kB / 0.6311 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/0.1608, allocations: 0.6587 MB / 0.6317 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1608, allocations: 0 / 0.6317 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.1609, allocations: 28 kB / 0.6318 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.1609, allocations: 15.94 kB / 0.6318 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005354/0.1615, allocations: 340.7 kB / 0.6321 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.164, allocations: 2.773 MB / 0.6348 GB, free: 9.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/0.1648, allocations: 458.4 kB / 0.6353 GB, free: 9.031 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.165, allocations: 176.6 kB / 0.6354 GB, free: 8.852 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/0.1653, allocations: 96.22 kB / 0.6355 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004452/0.1658, allocations: 378.1 kB / 0.6359 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=69): time 2.174e-06/0.1658, allocations: 0 / 0.6359 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69): time 0.001353/0.1671, allocations: 0.794 MB / 0.6367 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1672, allocations: 89.11 kB / 0.6367 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.1677, allocations: 0.6751 MB / 0.6374 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.1677, allocations: 41.7 kB / 0.6374 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.168, allocations: 475.6 kB / 0.6379 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.1681, allocations: 241.9 kB / 0.6381 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.1683, allocations: 176.2 kB / 0.6383 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1684, allocations: 0.5004 MB / 0.6388 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1687, allocations: 181.3 kB / 0.639 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.169, allocations: 325.8 kB / 0.6393 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/0.1695, allocations: 466.8 kB / 0.6397 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1695, allocations: 0 / 0.6397 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009473/0.1705, allocations: 0.7962 MB / 0.6405 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.1705, allocations: 65.91 kB / 0.6406 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.1705, allocations: 15.92 kB / 0.6406 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.1708, allocations: 95.45 kB / 0.6407 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.1712, allocations: 175.8 kB / 0.6408 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2317/0.4029, allocations: 3.64 MB / 0.6444 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.4035, allocations: 78.3 kB / 0.6445 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.4036, allocations: 81.16 kB / 0.6445 GB, free: 37.45 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * 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.0002979/0.4039, allocations: 203.5 kB / 0.6447 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.4041, allocations: 115.4 kB / 0.6448 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.4065, allocations: 1.469 MB / 0.6463 GB, free: 37.19 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4066, allocations: 8.641 kB / 0.6463 GB, free: 37.19 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4066, allocations: 2.406 kB / 0.6463 GB, free: 37.19 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.4066, allocations: 4.016 kB / 0.6463 GB, free: 37.19 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.4086, allocations: 1.503 MB / 0.6478 GB, free: 36.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.4086, allocations: 12.14 kB / 0.6478 GB, free: 36.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.409, allocations: 146.1 kB / 0.6479 GB, free: 36.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/0.4093, allocations: 90.02 kB / 0.648 GB, free: 36.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/0.4094, allocations: 41.91 kB / 0.648 GB, free: 36.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.4107, allocations: 3.645 MB / 0.6516 GB, free: 33.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4107, allocations: 0.9688 kB / 0.6516 GB, free: 33.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.4121, allocations: 1.071 MB / 0.6526 GB, free: 32.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.4124, allocations: 167.1 kB / 0.6528 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.4125, allocations: 21.47 kB / 0.6528 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.4129, allocations: 35.59 kB / 0.6529 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.4131, allocations: 117.8 kB / 0.653 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.938e-05/0.4132, allocations: 76.56 kB / 0.653 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003511/0.4135, allocations: 441.9 kB / 0.6535 GB, free: 32.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4135, allocations: 1 kB / 0.6535 GB, free: 32.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008756/0.4144, allocations: 329 kB / 0.6538 GB, free: 32.67 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.000448/0.4148, allocations: 265.5 kB / 0.654 GB, free: 32.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.4159, allocations: 1.053 MB / 0.6551 GB, free: 31.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4159, allocations: 1 kB / 0.6551 GB, free: 31.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.4165, allocations: 0.7248 MB / 0.6558 GB, free: 31.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.4178, allocations: 399.9 kB / 0.6561 GB, free: 31.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.4203, allocations: 1.561 MB / 0.6577 GB, free: 30.63 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.4205, allocations: 173.7 kB / 0.6578 GB, free: 30.55 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001318/0.4218, allocations: 0.9788 MB / 0.6588 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004173/0.4222, allocations: 190.1 kB / 0.659 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/0.4222, allocations: 0 / 0.659 GB, free: 30.48 MB / 0.5573 GB Notification: Performance of Templates: time 0.02802/0.4502, allocations: 20.2 MB / 0.6787 GB, free: 28.21 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.569560513366014]