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.001451/0.001451, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001607/0.001607, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 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 1.479/1.479, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.027/1.027, allocations: 118.6 MB / 378.2 MB, free: 1.488 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.462e-06/1.462e-06, allocations: 0 / 482.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.001e-05, allocations: 7.688 kB / 482.9 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.2464/0.2465, allocations: 169.8 MB / 0.6374 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007118/0.2536, allocations: 3.338 MB / 0.6406 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007138/0.2543, allocations: 51.5 kB / 0.6407 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.2555, allocations: 393 kB / 0.6411 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004496/0.26, allocations: 1.608 MB / 0.6426 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.2624, allocations: 0.8639 MB / 0.6435 GB, free: 432 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.3112/0.5736, allocations: 3.047 MB / 0.6465 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.5741, allocations: 145.1 kB / 0.6466 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005079/0.5792, allocations: 2.311 MB / 0.6488 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.5803, allocations: 0.6321 MB / 0.6495 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.5805, allocations: 72.95 kB / 0.6495 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.5829, allocations: 1.066 MB / 0.6506 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.5831, allocations: 201.5 kB / 0.6508 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.5835, allocations: 357.4 kB / 0.6511 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.5862, allocations: 1.881 MB / 0.6529 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5862, allocations: 0.9375 kB / 0.6529 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5862, allocations: 0 / 0.6529 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.5862, allocations: 4.656 kB / 0.6529 GB, free: 12.32 MB / 0.5573 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.003783/0.59, allocations: 1.582 MB / 0.6545 GB, free: 27.52 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.5901, allocations: 7.906 kB / 0.6545 GB, free: 27.52 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.5915, allocations: 341.7 kB / 0.6548 GB, free: 27.41 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.5928, allocations: 0.7165 MB / 0.6555 GB, free: 27.15 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5929, allocations: 102.4 kB / 0.6556 GB, free: 27.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.593, allocations: 63.69 kB / 0.6557 GB, free: 27.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.5945, allocations: 0.8103 MB / 0.6565 GB, free: 26.99 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.5946, allocations: 7.172 kB / 0.6565 GB, free: 26.99 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/0.5946, allocations: 26.25 kB / 0.6565 GB, free: 26.99 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.5947, allocations: 18.47 kB / 0.6565 GB, free: 26.99 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.5963, allocations: 0.6846 MB / 0.6572 GB, free: 26.98 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004454/0.6008, allocations: 2.506 MB / 0.6596 GB, free: 25.99 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001976/0.6028, allocations: 0.6736 MB / 0.6603 GB, free: 25.95 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008781/0.6036, allocations: 308.1 kB / 0.6606 GB, free: 25.93 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008092/0.6045, allocations: 123.2 kB / 0.6607 GB, free: 25.93 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.6057, allocations: 0.5021 MB / 0.6612 GB, free: 25.86 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 3.036e-06/0.6057, allocations: 0.9062 kB / 0.6612 GB, free: 25.86 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.003889/0.6096, allocations: 1.211 MB / 0.6624 GB, free: 25.74 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.6097, allocations: 86.62 kB / 0.6625 GB, free: 25.65 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009466/0.6106, allocations: 0.6709 MB / 0.6631 GB, free: 25.51 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.944e-05/0.6107, allocations: 39.83 kB / 0.6632 GB, free: 25.48 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/0.6111, allocations: 421.2 kB / 0.6636 GB, free: 25.31 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.6113, allocations: 246.1 kB / 0.6638 GB, free: 25.15 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.6116, allocations: 173.2 kB / 0.664 GB, free: 25.13 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.6118, allocations: 339.4 kB / 0.6643 GB, free: 24.82 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000914/0.6128, allocations: 339.7 kB / 0.6646 GB, free: 24.76 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009457/0.6137, allocations: 453.8 kB / 0.665 GB, free: 24.61 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.6156, allocations: 0.7221 MB / 0.6657 GB, free: 24.45 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6156, allocations: 1.125 kB / 0.6657 GB, free: 24.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00287/0.6185, allocations: 1.105 MB / 0.6668 GB, free: 24.21 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.739e-05/0.6185, allocations: 62.06 kB / 0.6669 GB, free: 24.14 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/0.6186, allocations: 14.98 kB / 0.6669 GB, free: 24.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005237/0.6191, allocations: 95.31 kB / 0.667 GB, free: 24.13 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007754/0.6199, allocations: 191.1 kB / 0.6672 GB, free: 24.13 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.6229, allocations: 2.8 MB / 0.6699 GB, free: 21.75 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.6237, allocations: 97.86 kB / 0.67 GB, free: 21.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.6238, allocations: 83.84 kB / 0.6701 GB, free: 21.72 MB / 0.573 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * 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.0004822/0.6243, allocations: 206.3 kB / 0.6703 GB, free: 21.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.6246, allocations: 126.8 kB / 0.6704 GB, free: 21.55 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003999/0.6286, allocations: 1.743 MB / 0.6721 GB, free: 21.43 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.6286, allocations: 12.02 kB / 0.6721 GB, free: 21.43 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6286, allocations: 1.406 kB / 0.6721 GB, free: 21.43 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.6286, allocations: 4.031 kB / 0.6721 GB, free: 21.43 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.6323, allocations: 1.686 MB / 0.6738 GB, free: 21.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/0.6323, allocations: 14.78 kB / 0.6738 GB, free: 21.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000685/0.633, allocations: 159.6 kB / 0.6739 GB, free: 21.04 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.6334, allocations: 97.47 kB / 0.674 GB, free: 21.03 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.161e-05/0.6334, allocations: 44.31 kB / 0.6741 GB, free: 21.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.636, allocations: 2.808 MB / 0.6768 GB, free: 18.64 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.636, allocations: 1.062 kB / 0.6768 GB, free: 18.64 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00317/0.6392, allocations: 1.451 MB / 0.6782 GB, free: 18.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.6395, allocations: 170.2 kB / 0.6784 GB, free: 18.24 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.6397, allocations: 20.56 kB / 0.6784 GB, free: 18.24 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.6404, allocations: 56.94 kB / 0.6785 GB, free: 18.24 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.6406, allocations: 112.7 kB / 0.6786 GB, free: 18.24 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6407, allocations: 70.84 kB / 0.6786 GB, free: 18.24 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005383/0.6412, allocations: 470.5 kB / 0.6791 GB, free: 18.14 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.6412, allocations: 0.7812 kB / 0.6791 GB, free: 18.14 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001092/0.6423, allocations: 351 kB / 0.6794 GB, free: 18.11 MB / 0.573 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.000746/0.6431, allocations: 405.5 kB / 0.6798 GB, free: 17.99 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002665/0.6457, allocations: 1.216 MB / 0.681 GB, free: 17.44 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6458, allocations: 1.062 kB / 0.681 GB, free: 17.44 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.6472, allocations: 0.7526 MB / 0.6817 GB, free: 17.09 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.6489, allocations: 392.7 kB / 0.6821 GB, free: 17.04 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.6517, allocations: 1.624 MB / 0.6837 GB, free: 16.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.6521, allocations: 398.9 kB / 0.6841 GB, free: 16.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001503/0.6536, allocations: 0.9875 MB / 0.685 GB, free: 16.06 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/0.6541, allocations: 188.8 kB / 0.6852 GB, free: 16.04 MB / 0.573 GB Notification: Performance of SimCode: time 8.72e-07/0.6541, allocations: 0 / 0.6852 GB, free: 16.04 MB / 0.573 GB Notification: Performance of Templates: time 0.02927/0.6834, allocations: 20.23 MB / 0.705 GB, free: 11.48 MB / 0.573 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.092036840040237]