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.000743/0.000743, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001758, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.0006768/0.0006768, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008938/0.001571, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.9787/0.9787, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08074/1.059, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.6946/0.6946, allocations: 118.8 MB / 362.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06272/0.7574, allocations: 35.85 MB / 398.8 MB, free: 13.2 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-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="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="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.593e-06/1.593e-06, allocations: 0 / 400.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.545e-05, allocations: 2.312 kB / 400.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3354/0.3354, allocations: 147.1 MB / 0.5344 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003599/0.339, allocations: 2.272 MB / 0.5366 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005895/0.3396, allocations: 55.5 kB / 0.5366 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.34, allocations: 209.3 kB / 0.5368 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.342, allocations: 1.104 MB / 0.5379 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.3427, allocations: 398.9 kB / 0.5383 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002971/0.3457, allocations: 2.77 MB / 0.541 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.346, allocations: 157.8 kB / 0.5411 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.348, allocations: 1.854 MB / 0.543 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006941/0.3487, allocations: 0.6 MB / 0.5435 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.3489, allocations: 72 kB / 0.5436 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009891/0.3499, allocations: 0.6434 MB / 0.5442 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.35, allocations: 143.3 kB / 0.5444 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.3502, allocations: 299.4 kB / 0.5447 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.3516, allocations: 1.137 MB / 0.5458 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.3516, allocations: 0 / 0.5458 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3516, allocations: 0 / 0.5458 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.016e-05/0.3516, allocations: 4 kB / 0.5458 GB, free: 5.148 MB / 0.5105 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.002113/0.3538, allocations: 1.785 MB / 0.5475 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.3538, allocations: 8.031 kB / 0.5475 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007911/0.3546, allocations: 312.1 kB / 0.5478 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008216/0.3554, allocations: 0.6507 MB / 0.5485 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.986e-05/0.3555, allocations: 104.7 kB / 0.5486 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/0.3556, allocations: 67.94 kB / 0.5486 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.3562, allocations: 0.5924 MB / 0.5492 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3562, allocations: 0 / 0.5492 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.3563, allocations: 32 kB / 0.5492 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3563, allocations: 12 kB / 0.5492 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.3566, allocations: 253.9 kB / 0.5495 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.3588, allocations: 1.951 MB / 0.5514 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/0.3593, allocations: 363.7 kB / 0.5517 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.3595, allocations: 137.1 kB / 0.5519 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/0.3598, allocations: 116.8 kB / 0.552 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.3602, allocations: 326.8 kB / 0.5523 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 2.214e-06/0.3602, allocations: 0 / 0.5523 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.0009216/0.3611, allocations: 0.5246 MB / 0.5528 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.3612, allocations: 89.05 kB / 0.5529 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.3616, allocations: 0.6053 MB / 0.5535 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.3616, allocations: 41.64 kB / 0.5535 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.3618, allocations: 306.7 kB / 0.5538 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.362, allocations: 253.8 kB / 0.5541 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.3621, allocations: 150.5 kB / 0.5542 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.3622, allocations: 333.9 kB / 0.5545 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3624, allocations: 141.3 kB / 0.5547 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.3626, allocations: 250.7 kB / 0.5549 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.363, allocations: 375.8 kB / 0.5553 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.363, allocations: 4 kB / 0.5553 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005874/0.3636, allocations: 0.5549 MB / 0.5558 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.3636, allocations: 59.39 kB / 0.5559 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.3636, allocations: 11.98 kB / 0.5559 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.3639, allocations: 81.64 kB / 0.5559 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.3643, allocations: 203.8 kB / 0.5561 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.3656, allocations: 2.467 MB / 0.5585 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.3659, allocations: 79.59 kB / 0.5586 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.366, allocations: 67.97 kB / 0.5587 GB, free: 7.297 MB / 0.5261 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.0002065/0.3662, allocations: 156.7 kB / 0.5588 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.3663, allocations: 80.47 kB / 0.5589 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3677, allocations: 1.266 MB / 0.5602 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3677, allocations: 8 kB / 0.5602 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3677, allocations: 0 / 0.5602 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3677, allocations: 3.984 kB / 0.5602 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.3688, allocations: 0.976 MB / 0.5611 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.3689, allocations: 4 kB / 0.5611 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.3692, allocations: 172.6 kB / 0.5613 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.3694, allocations: 131.1 kB / 0.5614 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/0.3696, allocations: 85.56 kB / 0.5615 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.3696, allocations: 35.91 kB / 0.5615 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.3707, allocations: 2.47 MB / 0.5639 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.3707, allocations: 11.92 kB / 0.5639 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.3715, allocations: 0.7011 MB / 0.5646 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.3715, allocations: 15.94 kB / 0.5646 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.3718, allocations: 43.95 kB / 0.5647 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.3719, allocations: 107.8 kB / 0.5648 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.208e-05/0.372, allocations: 51.98 kB / 0.5648 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002063/0.3722, allocations: 300.5 kB / 0.5651 GB, free: 452 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3722, allocations: 4 kB / 0.5651 GB, free: 448 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007102/0.3729, allocations: 323.5 kB / 0.5654 GB, free: 124 kB / 0.5261 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.000414/0.3733, allocations: 244.2 kB / 0.5657 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007894/0.3741, allocations: 0.8713 MB / 0.5665 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.842e-05/0.3741, allocations: 12 kB / 0.5665 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.3746, allocations: 0.6108 MB / 0.5671 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.376, allocations: 2.294 MB / 0.5694 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009859/0.3859, allocations: 1.483 MB / 0.5708 GB, free: 10 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.386, allocations: 172.6 kB / 0.571 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001239/0.3873, allocations: 0.9866 MB / 0.572 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007783/0.388, allocations: 437 kB / 0.5724 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of SimCode: time 1.582e-06/0.388, allocations: 4 kB / 0.5724 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of Templates: time 0.02394/0.412, allocations: 20.79 MB / 0.5927 GB, free: 4.008 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.099140007980168]