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.0007892/0.0007892, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.001885, allocations: 435.8 kB / 10.33 MB, free: 364 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.0007284/0.0007284, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000937/0.001665, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.9029/0.9029, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08589/0.9888, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6765/0.6765, allocations: 118.7 MB / 362.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05926/0.7358, allocations: 35.83 MB / 398.4 MB, free: 13.26 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/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_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_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 399.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.151e-05, allocations: 5.969 kB / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3447/0.3448, allocations: 147.1 MB / 0.534 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003314/0.3481, allocations: 2.273 MB / 0.5362 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.3486, allocations: 55.5 kB / 0.5363 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.349, allocations: 206.1 kB / 0.5365 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.3509, allocations: 1.108 MB / 0.5376 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.3516, allocations: 398.9 kB / 0.538 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002653/0.3542, allocations: 2.771 MB / 0.5407 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.3545, allocations: 157.8 kB / 0.5408 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.3566, allocations: 1.868 MB / 0.5426 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007555/0.3573, allocations: 0.5961 MB / 0.5432 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.3575, allocations: 72 kB / 0.5433 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009286/0.3584, allocations: 0.6317 MB / 0.5439 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.3585, allocations: 147.3 kB / 0.544 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.3588, allocations: 295.4 kB / 0.5443 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.3602, allocations: 1.148 MB / 0.5455 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.738e-05/0.3602, allocations: 0 / 0.5455 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3602, allocations: 0 / 0.5455 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.471e-05/0.3602, allocations: 0 / 0.5455 GB, free: 5.23 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.00205/0.3623, allocations: 1.785 MB / 0.5472 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.3623, allocations: 8.031 kB / 0.5472 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007622/0.363, allocations: 320.1 kB / 0.5475 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008042/0.3638, allocations: 0.6429 MB / 0.5481 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.3639, allocations: 104.7 kB / 0.5482 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.364, allocations: 71.94 kB / 0.5483 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.3646, allocations: 0.5885 MB / 0.5489 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3647, allocations: 0 / 0.5489 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.3647, allocations: 28 kB / 0.5489 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3647, allocations: 16 kB / 0.5489 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.3651, allocations: 253.8 kB / 0.5492 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.3671, allocations: 1.955 MB / 0.5511 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.3676, allocations: 358.3 kB / 0.5514 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.3678, allocations: 122.4 kB / 0.5515 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.3681, allocations: 124.7 kB / 0.5517 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/0.3684, allocations: 330.8 kB / 0.552 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 1.643e-06/0.3684, allocations: 0 / 0.552 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.0008184/0.3692, allocations: 0.5282 MB / 0.5525 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.3693, allocations: 89.05 kB / 0.5526 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.3696, allocations: 0.6019 MB / 0.5532 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.3697, allocations: 37.7 kB / 0.5532 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3698, allocations: 306.7 kB / 0.5535 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.3699, allocations: 249.8 kB / 0.5537 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.3701, allocations: 150.5 kB / 0.5539 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.3702, allocations: 341.9 kB / 0.5542 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3703, allocations: 133.4 kB / 0.5543 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.3705, allocations: 252.8 kB / 0.5546 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.3708, allocations: 375.8 kB / 0.5549 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3708, allocations: 0 / 0.5549 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005444/0.3714, allocations: 0.5503 MB / 0.5555 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.3714, allocations: 63.39 kB / 0.5555 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.3714, allocations: 8 kB / 0.5555 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.3716, allocations: 77.91 kB / 0.5556 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.372, allocations: 207.7 kB / 0.5558 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.3732, allocations: 2.471 MB / 0.5582 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.3735, allocations: 83.52 kB / 0.5583 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.3736, allocations: 67.98 kB / 0.5584 GB, free: 7.383 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.0001731/0.3737, allocations: 156.5 kB / 0.5585 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.3738, allocations: 79.91 kB / 0.5586 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.3751, allocations: 1.252 MB / 0.5598 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3752, allocations: 8.75 kB / 0.5598 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3752, allocations: 4 kB / 0.5598 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3752, allocations: 3.984 kB / 0.5598 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.3762, allocations: 0.9876 MB / 0.5608 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.3762, allocations: 11.98 kB / 0.5608 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.3766, allocations: 160.9 kB / 0.5609 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.3767, allocations: 131.2 kB / 0.5611 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/0.3769, allocations: 89.61 kB / 0.5612 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.377, allocations: 31.98 kB / 0.5612 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.3781, allocations: 2.465 MB / 0.5636 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3781, allocations: 8.031 kB / 0.5636 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007283/0.3788, allocations: 0.7037 MB / 0.5643 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.3789, allocations: 21.62 kB / 0.5643 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.3791, allocations: 35.97 kB / 0.5643 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.3793, allocations: 99.83 kB / 0.5644 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/0.3793, allocations: 67.97 kB / 0.5645 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001987/0.3795, allocations: 300.4 kB / 0.5648 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-08/0.3795, allocations: 0 / 0.5648 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006679/0.3802, allocations: 323.5 kB / 0.5651 GB, free: 220 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.0003817/0.3806, allocations: 241.5 kB / 0.5653 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007503/0.3813, allocations: 0.8554 MB / 0.5662 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-05/0.3814, allocations: 16 kB / 0.5662 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.3818, allocations: 0.5721 MB / 0.5667 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000864/0.3826, allocations: 474.9 kB / 0.5672 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.3927, allocations: 1.5 MB / 0.5687 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.3928, allocations: 176.6 kB / 0.5688 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001246/0.394, allocations: 0.984 MB / 0.5698 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007661/0.3948, allocations: 433 kB / 0.5702 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of SimCode: time 1.653e-06/0.3948, allocations: 0 / 0.5702 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of Templates: time 0.02127/0.4161, allocations: 20.73 MB / 0.5904 GB, free: 6.512 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 -ignoreHideResult -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.02131553273648]