Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.001439/0.001439, allocations: 95.06 kB / 19.44 MB, free: 464 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.001614/0.001614, allocations: 169.2 kB / 22.75 MB, free: 1.789 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.477/1.477, allocations: 177.2 MB / 203.1 MB, free: 5.609 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.082/1.082, allocations: 118.6 MB / 378.2 MB, free: 1.484 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.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 482.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.568e-05, allocations: 6.312 kB / 482.9 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.2446/0.2447, allocations: 168.8 MB / 0.6364 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006581/0.2512, allocations: 2.987 MB / 0.6393 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008886/0.2521, allocations: 51.5 kB / 0.6393 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.2533, allocations: 357.2 kB / 0.6397 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.2578, allocations: 1.452 MB / 0.6411 GB, free: 2.852 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.26, allocations: 0.712 MB / 0.6418 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.2997/0.5598, allocations: 2.73 MB / 0.6445 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.5603, allocations: 129.5 kB / 0.6446 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004726/0.5651, allocations: 2.015 MB / 0.6466 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.5661, allocations: 0.5254 MB / 0.6471 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.5663, allocations: 58.62 kB / 0.6471 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002833/0.5691, allocations: 0.9988 MB / 0.6481 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.5693, allocations: 165 kB / 0.6483 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005181/0.5698, allocations: 293.6 kB / 0.6485 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002907/0.5727, allocations: 1.644 MB / 0.6501 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5727, allocations: 0 / 0.6501 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5727, allocations: 0.9062 kB / 0.6501 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.5727, allocations: 3 kB / 0.6502 GB, free: 12.95 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002748/0.5755, allocations: 1.401 MB / 0.6515 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.5755, allocations: 8.656 kB / 0.6515 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.5767, allocations: 277.2 kB / 0.6518 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.5779, allocations: 0.6923 MB / 0.6525 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.5779, allocations: 35.25 kB / 0.6525 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.578, allocations: 56.31 kB / 0.6526 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.5791, allocations: 0.5995 MB / 0.6531 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.5791, allocations: 2.141 kB / 0.6531 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.5792, allocations: 22.09 kB / 0.6532 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.5792, allocations: 13.83 kB / 0.6532 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.5803, allocations: 466.8 kB / 0.6536 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.584, allocations: 1.922 MB / 0.6555 GB, free: 26.98 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.585, allocations: 454.9 kB / 0.6559 GB, free: 26.94 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.5855, allocations: 216 kB / 0.6561 GB, free: 26.92 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.5857, allocations: 39.91 kB / 0.6562 GB, free: 26.92 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007264/0.5864, allocations: 384.8 kB / 0.6565 GB, free: 26.85 MB / 0.573 GB Notification: Performance of pre-optimization done (n=54): time 2.796e-06/0.5864, allocations: 0 / 0.6565 GB, free: 26.85 MB / 0.573 GB Notification: Performance of matching and sorting (n=54): time 0.002623/0.589, allocations: 0.892 MB / 0.6574 GB, free: 26.74 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.5891, allocations: 92.17 kB / 0.6575 GB, free: 26.64 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.5899, allocations: 0.6517 MB / 0.6581 GB, free: 26.51 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/0.5899, allocations: 37.98 kB / 0.6582 GB, free: 26.48 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/0.5902, allocations: 382.4 kB / 0.6585 GB, free: 26.33 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.5904, allocations: 196.4 kB / 0.6587 GB, free: 26.21 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.5906, allocations: 134.8 kB / 0.6589 GB, free: 26.19 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.5908, allocations: 330.9 kB / 0.6592 GB, free: 25.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.5913, allocations: 247.6 kB / 0.6594 GB, free: 25.82 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.5919, allocations: 326.2 kB / 0.6597 GB, free: 25.69 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.5929, allocations: 0.5134 MB / 0.6602 GB, free: 25.56 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5929, allocations: 0.7812 kB / 0.6602 GB, free: 25.56 MB / 0.573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001906/0.5948, allocations: 0.8539 MB / 0.6611 GB, free: 25.33 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.338e-05/0.5949, allocations: 62.55 kB / 0.6611 GB, free: 25.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-05/0.5949, allocations: 17.14 kB / 0.6611 GB, free: 25.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/0.5955, allocations: 96.41 kB / 0.6612 GB, free: 25.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.596, allocations: 127.8 kB / 0.6613 GB, free: 25.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.5989, allocations: 2.801 MB / 0.6641 GB, free: 22.87 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/0.5997, allocations: 64.2 kB / 0.6641 GB, free: 22.85 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.5998, allocations: 61.61 kB / 0.6642 GB, free: 22.85 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 54 * 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.0004168/0.6002, allocations: 201.8 kB / 0.6644 GB, free: 22.73 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.6004, allocations: 105.1 kB / 0.6645 GB, free: 22.68 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/0.6038, allocations: 1.275 MB / 0.6657 GB, free: 22.58 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.6038, allocations: 8.266 kB / 0.6657 GB, free: 22.58 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6038, allocations: 5.75 kB / 0.6658 GB, free: 22.58 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.6038, allocations: 3 kB / 0.6658 GB, free: 22.58 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.6071, allocations: 1.379 MB / 0.6671 GB, free: 22.21 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.051e-05/0.6071, allocations: 13.89 kB / 0.6671 GB, free: 22.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.6077, allocations: 113.3 kB / 0.6672 GB, free: 22.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005228/0.6082, allocations: 107 kB / 0.6673 GB, free: 22.19 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.392e-05/0.6083, allocations: 35.92 kB / 0.6674 GB, free: 22.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.6114, allocations: 2.791 MB / 0.6701 GB, free: 19.81 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.6114, allocations: 3.938 kB / 0.6701 GB, free: 19.81 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.6142, allocations: 1.125 MB / 0.6712 GB, free: 19.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.6146, allocations: 148.4 kB / 0.6713 GB, free: 19.44 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.6147, allocations: 15.31 kB / 0.6713 GB, free: 19.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/0.6152, allocations: 36.2 kB / 0.6714 GB, free: 19.44 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/0.6155, allocations: 86.84 kB / 0.6715 GB, free: 19.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.6156, allocations: 61.36 kB / 0.6715 GB, free: 19.44 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006635/0.6163, allocations: 453.8 kB / 0.672 GB, free: 19.35 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.6163, allocations: 0 / 0.672 GB, free: 19.35 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001271/0.6175, allocations: 305.5 kB / 0.6722 GB, free: 19.31 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 42 * 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.0008422/0.6184, allocations: 405.5 kB / 0.6726 GB, free: 19.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.6204, allocations: 1.003 MB / 0.6736 GB, free: 18.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6204, allocations: 0 / 0.6736 GB, free: 18.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.6215, allocations: 0.6307 MB / 0.6742 GB, free: 18.29 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.6231, allocations: 351.7 kB / 0.6746 GB, free: 18.26 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.626, allocations: 1.439 MB / 0.676 GB, free: 17.59 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.6264, allocations: 361.3 kB / 0.6763 GB, free: 17.48 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001351/0.6277, allocations: 0.6798 MB / 0.677 GB, free: 17.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.6281, allocations: 143.4 kB / 0.6771 GB, free: 17.42 MB / 0.573 GB Notification: Performance of SimCode: time 1.492e-06/0.6281, allocations: 0.9375 kB / 0.6771 GB, free: 17.42 MB / 0.573 GB Notification: Performance of Templates: time 0.02951/0.6577, allocations: 17.96 MB / 0.6946 GB, free: 15.33 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.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.051109297899529]