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.00102/0.00102, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002463, allocations: 435.8 kB / 10.33 MB, free: 368 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.001044/0.001044, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002375, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9815/0.9815, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0834/1.065, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.6561/0.6561, allocations: 118.7 MB / 362.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05902/0.7151, allocations: 35.84 MB / 398.5 MB, free: 13.36 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.522e-06/1.522e-06, allocations: 0 / 399.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.883e-05, allocations: 2.312 kB / 399.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3123/0.3124, allocations: 147.1 MB / 0.5341 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003124/0.3155, allocations: 2.277 MB / 0.5363 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.3159, allocations: 51.5 kB / 0.5364 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.3163, allocations: 202.2 kB / 0.5366 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.3181, allocations: 1.116 MB / 0.5376 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.3188, allocations: 398.9 kB / 0.538 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002596/0.3214, allocations: 2.762 MB / 0.5407 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.3216, allocations: 157.7 kB / 0.5409 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.3236, allocations: 1.865 MB / 0.5427 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.3242, allocations: 0.6039 MB / 0.5433 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.3243, allocations: 72 kB / 0.5434 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008989/0.3252, allocations: 0.6318 MB / 0.544 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.3254, allocations: 143.3 kB / 0.5441 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.3256, allocations: 299.4 kB / 0.5444 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.3268, allocations: 1.144 MB / 0.5455 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.808e-05/0.3268, allocations: 4 kB / 0.5455 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3268, allocations: 0 / 0.5455 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.151e-05/0.3268, allocations: 0 / 0.5455 GB, free: 5.391 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.00184/0.3287, allocations: 1.785 MB / 0.5473 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.3287, allocations: 16.03 kB / 0.5473 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007231/0.3294, allocations: 312.1 kB / 0.5476 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007198/0.3301, allocations: 0.6468 MB / 0.5482 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.519e-05/0.3302, allocations: 104.7 kB / 0.5483 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.3303, allocations: 67.95 kB / 0.5484 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/0.3309, allocations: 0.5924 MB / 0.5489 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3309, allocations: 3.984 kB / 0.5489 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/0.3309, allocations: 24 kB / 0.549 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.3309, allocations: 16 kB / 0.549 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.3313, allocations: 245.9 kB / 0.5492 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.3332, allocations: 1.954 MB / 0.5511 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.3337, allocations: 358.9 kB / 0.5515 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.3338, allocations: 122.4 kB / 0.5516 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/0.3341, allocations: 128.8 kB / 0.5517 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/0.3345, allocations: 322.8 kB / 0.552 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 1.774e-06/0.3345, allocations: 4 kB / 0.552 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.0008048/0.3353, allocations: 0.522 MB / 0.5525 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.3353, allocations: 93.05 kB / 0.5526 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.3356, allocations: 0.6013 MB / 0.5532 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.3357, allocations: 45.64 kB / 0.5533 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.3358, allocations: 306.7 kB / 0.5535 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.3359, allocations: 245.8 kB / 0.5538 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.3361, allocations: 150.5 kB / 0.5539 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.3362, allocations: 341.9 kB / 0.5542 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3363, allocations: 141.3 kB / 0.5544 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.3365, allocations: 250.7 kB / 0.5546 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.3368, allocations: 371.8 kB / 0.555 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3368, allocations: 4 kB / 0.555 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005404/0.3374, allocations: 0.5425 MB / 0.5555 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.3374, allocations: 63.41 kB / 0.5556 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.3374, allocations: 12.27 kB / 0.5556 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.3376, allocations: 77.62 kB / 0.5557 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.338, allocations: 203.7 kB / 0.5559 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.3391, allocations: 2.469 MB / 0.5583 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.3394, allocations: 75.59 kB / 0.5583 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.3394, allocations: 72.03 kB / 0.5584 GB, free: 7.551 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.0001645/0.3396, allocations: 156.4 kB / 0.5586 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.3397, allocations: 79.86 kB / 0.5586 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.341, allocations: 1.262 MB / 0.5599 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.341, allocations: 8 kB / 0.5599 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.341, allocations: 0 / 0.5599 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.341, allocations: 3.984 kB / 0.5599 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.342, allocations: 0.9765 MB / 0.5608 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.342, allocations: 11.98 kB / 0.5608 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.3424, allocations: 169 kB / 0.561 GB, free: 4.836 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.3425, allocations: 131.2 kB / 0.5611 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.3427, allocations: 89.66 kB / 0.5612 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.3427, allocations: 31.97 kB / 0.5612 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.3438, allocations: 2.473 MB / 0.5637 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3438, allocations: 0 / 0.5637 GB, free: 1.941 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.3444, allocations: 0.7037 MB / 0.5643 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.3445, allocations: 24.8 kB / 0.5644 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.3447, allocations: 40 kB / 0.5644 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.3449, allocations: 103.8 kB / 0.5645 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.345, allocations: 59.97 kB / 0.5646 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001839/0.3451, allocations: 296.5 kB / 0.5648 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-08/0.3451, allocations: 0 / 0.5648 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005365/0.3457, allocations: 319.5 kB / 0.5651 GB, free: 396 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.0003531/0.346, allocations: 256.8 kB / 0.5654 GB, free: 128 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006975/0.3467, allocations: 0.8516 MB / 0.5662 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.061e-05/0.3467, allocations: 12 kB / 0.5662 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.3471, allocations: 0.5749 MB / 0.5668 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008606/0.348, allocations: 478.9 kB / 0.5673 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009928/0.3579, allocations: 1.496 MB / 0.5687 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.358, allocations: 172.6 kB / 0.5689 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001153/0.3592, allocations: 0.9855 MB / 0.5698 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007544/0.3599, allocations: 437 kB / 0.5703 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of SimCode: time 1.543e-06/0.3599, allocations: 0 / 0.5703 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of Templates: time 0.02145/0.3814, allocations: 20.74 MB / 0.5905 GB, free: 6.621 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.037404797971249]