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.0009615/0.0009615, allocations: 77.09 kB / 20.66 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.0009596/0.0009596, allocations: 169 kB / 24.06 MB, free: 456 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.9253/0.9253, allocations: 177.1 MB / 204.5 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.6732/0.6732, allocations: 118.7 MB / 379.7 MB, free: 1.383 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 1.513e-06/1.513e-06, allocations: 0 / 484.8 MB, free: 8.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.519e-05, allocations: 6.25 kB / 484.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.1269/0.1269, allocations: 144.6 MB / 0.6147 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002722/0.1296, allocations: 2.19 MB / 0.6168 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004385/0.13, allocations: 55.5 kB / 0.6169 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.1305, allocations: 202.2 kB / 0.6171 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.1328, allocations: 1.149 MB / 0.6182 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.1333, allocations: 402.9 kB / 0.6186 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002433/0.1358, allocations: 2.877 MB / 0.6214 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.136, allocations: 140 kB / 0.6215 GB, free: 8.348 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.1377, allocations: 1.864 MB / 0.6233 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005655/0.1382, allocations: 0.6311 MB / 0.6239 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.341e-05/0.1383, allocations: 72 kB / 0.624 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000758/0.1391, allocations: 0.5966 MB / 0.6246 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.1395, allocations: 195.1 kB / 0.6248 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.1397, allocations: 367 kB / 0.6251 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.141, allocations: 1.273 MB / 0.6264 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.141, allocations: 0 / 0.6264 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.82e-07/0.141, allocations: 0 / 0.6264 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.141, allocations: 0 / 0.6264 GB, free: 3.352 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.001766/0.1428, allocations: 1.594 MB / 0.6279 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1428, allocations: 11.97 kB / 0.6279 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000771/0.1436, allocations: 335.5 kB / 0.6283 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.1443, allocations: 0.731 MB / 0.629 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.1444, allocations: 100.7 kB / 0.6291 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.1445, allocations: 71.94 kB / 0.6291 GB, free: 432 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006929/0.1452, allocations: 0.6196 MB / 0.6297 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1452, allocations: 0 / 0.6297 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.1453, allocations: 27.98 kB / 0.6298 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1453, allocations: 20 kB / 0.6298 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.1457, allocations: 284.1 kB / 0.6301 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.1481, allocations: 2.672 MB / 0.6327 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.1487, allocations: 415.5 kB / 0.6331 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1489, allocations: 156 kB / 0.6332 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/0.1492, allocations: 104.2 kB / 0.6333 GB, free: 12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003618/0.1495, allocations: 354.1 kB / 0.6337 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=69): time 1.653e-06/0.1495, allocations: 0 / 0.6337 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69): time 0.0011/0.1506, allocations: 0.7314 MB / 0.6344 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1507, allocations: 93.09 kB / 0.6345 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.1511, allocations: 0.6591 MB / 0.6351 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.1511, allocations: 41.7 kB / 0.6351 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.1514, allocations: 479.4 kB / 0.6356 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.1515, allocations: 253.8 kB / 0.6358 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.1517, allocations: 172.2 kB / 0.636 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1518, allocations: 0.5042 MB / 0.6365 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.152, allocations: 157.3 kB / 0.6366 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.1522, allocations: 297.8 kB / 0.6369 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.1526, allocations: 430.7 kB / 0.6373 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1526, allocations: 0 / 0.6373 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007922/0.1534, allocations: 0.7418 MB / 0.6381 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.1534, allocations: 63.41 kB / 0.6381 GB, free: 6.793 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.1534, allocations: 11.98 kB / 0.6381 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.1537, allocations: 91.17 kB / 0.6382 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.154, allocations: 179.8 kB / 0.6384 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.1557, allocations: 3.582 MB / 0.6419 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.1559, allocations: 79.66 kB / 0.642 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.067e-05/0.156, allocations: 75.98 kB / 0.642 GB, free: 2.543 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.000195/0.1562, allocations: 200.3 kB / 0.6422 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.1564, allocations: 119.4 kB / 0.6423 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.1579, allocations: 1.425 MB / 0.6437 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1579, allocations: 8 kB / 0.6437 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.1579, allocations: 0 / 0.6437 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1579, allocations: 7.984 kB / 0.6438 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2237/0.3817, allocations: 1.348 MB / 0.6451 GB, free: 41.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/0.3817, allocations: 14.59 kB / 0.6451 GB, free: 41.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.382, allocations: 140.7 kB / 0.6452 GB, free: 41.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/0.3823, allocations: 91.34 kB / 0.6453 GB, free: 41.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.3824, allocations: 48.48 kB / 0.6454 GB, free: 41.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.3836, allocations: 3.59 MB / 0.6489 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3836, allocations: 1.594 kB / 0.6489 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.3848, allocations: 1.006 MB / 0.6498 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.3851, allocations: 169.2 kB / 0.65 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-05/0.3852, allocations: 18.55 kB / 0.65 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.3855, allocations: 38.69 kB / 0.6501 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.3857, allocations: 119.4 kB / 0.6502 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.914e-05/0.3858, allocations: 70.02 kB / 0.6502 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003184/0.3861, allocations: 416.2 kB / 0.6506 GB, free: 37.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.3861, allocations: 0 / 0.6506 GB, free: 37.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008892/0.387, allocations: 323.9 kB / 0.6509 GB, free: 37.31 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.0004082/0.3874, allocations: 265.3 kB / 0.6512 GB, free: 37.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008926/0.3883, allocations: 1.009 MB / 0.6522 GB, free: 36.56 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3883, allocations: 0 / 0.6522 GB, free: 36.56 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004816/0.3888, allocations: 0.7101 MB / 0.6529 GB, free: 36.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3898, allocations: 392.6 kB / 0.6533 GB, free: 36.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.3917, allocations: 1.557 MB / 0.6548 GB, free: 35.31 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.3918, allocations: 169.1 kB / 0.6549 GB, free: 35.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001073/0.3929, allocations: 0.9907 MB / 0.6559 GB, free: 35.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007437/0.3937, allocations: 496.6 kB / 0.6564 GB, free: 35.1 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.3937, allocations: 0 / 0.6564 GB, free: 35.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.02343/0.4171, allocations: 20.84 MB / 0.6767 GB, free: 32.93 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.438394021242857]