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.001108/0.001108, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001648/0.002756, allocations: 440 kB / 10.41 MB, free: 284 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.001163/0.001163, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001658/0.002821, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9913/0.9913, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1347/1.126, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7557/0.7557, allocations: 118.7 MB / 362.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07709/0.8328, allocations: 35.84 MB / 398.7 MB, free: 13.09 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.964e-06/1.964e-06, allocations: 0 / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.348e-05, allocations: 2.312 kB / 400 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3407/0.3407, allocations: 147.1 MB / 0.5343 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004138/0.3448, allocations: 2.274 MB / 0.5365 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006465/0.3455, allocations: 51.5 kB / 0.5366 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.346, allocations: 206.2 kB / 0.5368 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.3483, allocations: 1.104 MB / 0.5379 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008072/0.3491, allocations: 406.9 kB / 0.5383 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003137/0.3522, allocations: 2.762 MB / 0.541 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.3525, allocations: 153.8 kB / 0.5411 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.3552, allocations: 1.865 MB / 0.5429 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008873/0.356, allocations: 0.6 MB / 0.5435 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.3562, allocations: 72 kB / 0.5436 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.3574, allocations: 0.6279 MB / 0.5442 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.3575, allocations: 155.3 kB / 0.5443 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.3579, allocations: 299.3 kB / 0.5446 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.3592, allocations: 1.137 MB / 0.5457 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.3592, allocations: 3.938 kB / 0.5457 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3592, allocations: 0 / 0.5457 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.283e-05/0.3593, allocations: 3.938 kB / 0.5457 GB, free: 4.957 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.003117/0.3624, allocations: 1.777 MB / 0.5475 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3624, allocations: 12.03 kB / 0.5475 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.3639, allocations: 316.1 kB / 0.5478 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.3652, allocations: 0.6468 MB / 0.5484 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.3654, allocations: 100.7 kB / 0.5485 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.3656, allocations: 71.94 kB / 0.5486 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.3666, allocations: 0.5885 MB / 0.5492 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.3666, allocations: 7.938 kB / 0.5492 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.3667, allocations: 31.92 kB / 0.5492 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.3667, allocations: 16 kB / 0.5492 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.3672, allocations: 245.9 kB / 0.5494 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.3704, allocations: 1.956 MB / 0.5514 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.3712, allocations: 353.8 kB / 0.5517 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.3714, allocations: 130.4 kB / 0.5518 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004781/0.3719, allocations: 116.8 kB / 0.5519 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005178/0.3724, allocations: 334.8 kB / 0.5522 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 3.296e-06/0.3724, allocations: 0 / 0.5522 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.00132/0.3738, allocations: 0.5205 MB / 0.5528 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3738, allocations: 96.98 kB / 0.5528 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.3744, allocations: 0.598 MB / 0.5534 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.3745, allocations: 41.7 kB / 0.5535 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.3747, allocations: 310.7 kB / 0.5538 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.3749, allocations: 245.8 kB / 0.554 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.3751, allocations: 154.5 kB / 0.5542 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3752, allocations: 337.9 kB / 0.5545 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.3755, allocations: 137.3 kB / 0.5546 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.3758, allocations: 252.9 kB / 0.5548 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.3764, allocations: 383.8 kB / 0.5552 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3764, allocations: 0 / 0.5552 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001086/0.3775, allocations: 0.551 MB / 0.5557 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.3776, allocations: 67.39 kB / 0.5558 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.088e-05/0.3776, allocations: 11.98 kB / 0.5558 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.3779, allocations: 77.67 kB / 0.5559 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.3786, allocations: 199.7 kB / 0.5561 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.3804, allocations: 2.475 MB / 0.5585 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.3809, allocations: 79.59 kB / 0.5586 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.3811, allocations: 63.97 kB / 0.5586 GB, free: 7.109 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.0002758/0.3813, allocations: 164.6 kB / 0.5588 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.3815, allocations: 71.92 kB / 0.5589 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.3837, allocations: 1.255 MB / 0.5601 GB, free: 5.602 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.3837, allocations: 13.17 kB / 0.5601 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3837, allocations: 8 kB / 0.5601 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.3837, allocations: 0 / 0.5601 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.3855, allocations: 0.979 MB / 0.5611 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/0.3855, allocations: 4 kB / 0.5611 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.3861, allocations: 167.8 kB / 0.5612 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.3863, allocations: 131.2 kB / 0.5614 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002948/0.3866, allocations: 85.56 kB / 0.5614 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/0.3867, allocations: 35.97 kB / 0.5615 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.3885, allocations: 2.469 MB / 0.5639 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3885, allocations: 0 / 0.5639 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.3896, allocations: 0.7142 MB / 0.5646 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.3898, allocations: 19.94 kB / 0.5646 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.3902, allocations: 39.95 kB / 0.5646 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/0.3905, allocations: 99.83 kB / 0.5647 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.3906, allocations: 59.98 kB / 0.5648 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003421/0.3909, allocations: 296.5 kB / 0.5651 GB, free: 264 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3909, allocations: 0 / 0.5651 GB, free: 264 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001058/0.392, allocations: 319.7 kB / 0.5654 GB, free: 15.94 MB / 0.5417 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.0005701/0.3925, allocations: 260.1 kB / 0.5656 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.3937, allocations: 0.864 MB / 0.5665 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.539e-05/0.3938, allocations: 16.09 kB / 0.5665 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007857/0.3945, allocations: 0.6147 MB / 0.5671 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.3969, allocations: 2.283 MB / 0.5693 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/0.4128, allocations: 1.497 MB / 0.5708 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.4129, allocations: 168.6 kB / 0.5709 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001247/0.4142, allocations: 0.9869 MB / 0.5719 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007902/0.415, allocations: 441 kB / 0.5723 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of SimCode: time 1.743e-06/0.415, allocations: 0 / 0.5723 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of Templates: time 0.02124/0.4362, allocations: 20.78 MB / 0.5926 GB, free: 3.879 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.262493370100856]