Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.002398/0.002398, allocations: 85.48 kB / 19.44 MB, free: 344 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.00289/0.00289, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.01/1.01, allocations: 118.6 MB / 378.2 MB, free: 1.438 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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.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_dev_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_dev_ThermofluidStream.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 482.9 MB, free: 8.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.566e-05, allocations: 5.125 kB / 482.9 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5818/0.5818, allocations: 188.5 MB / 0.6556 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004818/0.5866, allocations: 3.267 MB / 0.6588 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005864/0.5872, allocations: 52.03 kB / 0.6589 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009776/0.5882, allocations: 353.9 kB / 0.6592 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003517/0.5917, allocations: 1.458 MB / 0.6606 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.5936, allocations: 0.7061 MB / 0.6613 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005079/0.5987, allocations: 2.737 MB / 0.664 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003691/0.5991, allocations: 128.3 kB / 0.6641 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/0.6033, allocations: 2.02 MB / 0.6661 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.6043, allocations: 0.5317 MB / 0.6666 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.6044, allocations: 58 kB / 0.6667 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.6073, allocations: 1 MB / 0.6676 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.6075, allocations: 160.3 kB / 0.6678 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004932/0.608, allocations: 297.5 kB / 0.6681 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.6112, allocations: 1.644 MB / 0.6697 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6112, allocations: 1.094 kB / 0.6697 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6112, allocations: 0 / 0.6697 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.6112, allocations: 1.344 kB / 0.6697 GB, free: 11.92 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.003805/0.615, allocations: 1.539 MB / 0.6712 GB, free: 27.04 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.6151, allocations: 9.75 kB / 0.6712 GB, free: 27.04 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.6164, allocations: 276.9 kB / 0.6715 GB, free: 26.96 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.6179, allocations: 0.6954 MB / 0.6721 GB, free: 26.7 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.6179, allocations: 36.44 kB / 0.6722 GB, free: 26.7 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.618, allocations: 58.5 kB / 0.6722 GB, free: 26.69 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6192, allocations: 0.6098 MB / 0.6728 GB, free: 26.58 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.6192, allocations: 4.797 kB / 0.6728 GB, free: 26.58 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.6193, allocations: 19.94 kB / 0.6729 GB, free: 26.58 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.6193, allocations: 11.91 kB / 0.6729 GB, free: 26.58 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.6203, allocations: 414.7 kB / 0.6733 GB, free: 26.57 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004098/0.6244, allocations: 2.33 MB / 0.6755 GB, free: 25.49 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.6256, allocations: 471.2 kB / 0.676 GB, free: 25.42 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/0.6261, allocations: 208.5 kB / 0.6762 GB, free: 25.39 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/0.6263, allocations: 35.25 kB / 0.6762 GB, free: 25.39 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00077/0.6271, allocations: 393.3 kB / 0.6766 GB, free: 25.31 MB / 0.573 GB Notification: Performance of pre-optimization done (n=54): time 2.575e-06/0.6271, allocations: 0 / 0.6766 GB, free: 25.31 MB / 0.573 GB Notification: Performance of matching and sorting (n=54): time 0.002685/0.6298, allocations: 0.8554 MB / 0.6774 GB, free: 25.19 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/0.6299, allocations: 92.52 kB / 0.6775 GB, free: 25.09 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.6309, allocations: 0.7961 MB / 0.6783 GB, free: 24.91 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.631, allocations: 41.23 kB / 0.6783 GB, free: 24.88 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.6314, allocations: 456.6 kB / 0.6788 GB, free: 24.68 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.6315, allocations: 202.9 kB / 0.679 GB, free: 24.55 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.6318, allocations: 157 kB / 0.6791 GB, free: 24.53 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003186/0.6321, allocations: 0.5063 MB / 0.6796 GB, free: 24.05 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/0.6327, allocations: 229.1 kB / 0.6798 GB, free: 23.98 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/0.6333, allocations: 344.8 kB / 0.6802 GB, free: 23.82 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.6343, allocations: 0.5193 MB / 0.6807 GB, free: 23.66 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6343, allocations: 5.406 kB / 0.6807 GB, free: 23.65 MB / 0.573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001672/0.636, allocations: 0.8401 MB / 0.6815 GB, free: 23.41 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.217e-05/0.6361, allocations: 66.03 kB / 0.6816 GB, free: 23.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.153e-05/0.6361, allocations: 16.25 kB / 0.6816 GB, free: 23.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005251/0.6366, allocations: 105.5 kB / 0.6817 GB, free: 23.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.6371, allocations: 122.6 kB / 0.6818 GB, free: 23.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/0.6404, allocations: 3.856 MB / 0.6856 GB, free: 19.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.641, allocations: 67.33 kB / 0.6856 GB, free: 19.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.6411, allocations: 63.31 kB / 0.6857 GB, free: 19.83 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.0004245/0.6415, allocations: 244.2 kB / 0.6859 GB, free: 19.66 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.6417, allocations: 107.7 kB / 0.686 GB, free: 19.62 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.6442, allocations: 1.256 MB / 0.6872 GB, free: 19.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.6442, allocations: 9.062 kB / 0.6872 GB, free: 19.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.6442, allocations: 0 / 0.6872 GB, free: 19.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6442, allocations: 3.875 kB / 0.6872 GB, free: 19.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.6467, allocations: 1.547 MB / 0.6888 GB, free: 19.01 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/0.6467, allocations: 13.41 kB / 0.6888 GB, free: 19.01 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.6471, allocations: 109.1 kB / 0.6889 GB, free: 19.01 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004003/0.6475, allocations: 112.3 kB / 0.689 GB, free: 18.98 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/0.6476, allocations: 30.28 kB / 0.689 GB, free: 18.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003154/0.6508, allocations: 3.865 MB / 0.6928 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6508, allocations: 0.8438 kB / 0.6928 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.6527, allocations: 1.182 MB / 0.6939 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.6531, allocations: 143.6 kB / 0.6941 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.6532, allocations: 20.66 kB / 0.6941 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.6537, allocations: 25.3 kB / 0.6941 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.6539, allocations: 98.53 kB / 0.6942 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.654, allocations: 63.17 kB / 0.6943 GB, free: 15.04 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005932/0.6546, allocations: 0.5085 MB / 0.6948 GB, free: 14.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.6546, allocations: 0 / 0.6948 GB, free: 14.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001153/0.6557, allocations: 307.8 kB / 0.6951 GB, free: 14.86 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.0008134/0.6565, allocations: 397.7 kB / 0.6954 GB, free: 14.75 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.6583, allocations: 1.122 MB / 0.6965 GB, free: 14.07 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6583, allocations: 0 / 0.6965 GB, free: 14.07 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.6594, allocations: 0.752 MB / 0.6973 GB, free: 13.59 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.6611, allocations: 352.8 kB / 0.6976 GB, free: 13.55 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.6635, allocations: 1.437 MB / 0.699 GB, free: 12.84 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.6638, allocations: 366.4 kB / 0.6994 GB, free: 12.72 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001175/0.665, allocations: 0.6895 MB / 0.7 GB, free: 12.62 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.6654, allocations: 140.8 kB / 0.7002 GB, free: 12.6 MB / 0.573 GB Notification: Performance of SimCode: time 7.81e-07/0.6654, allocations: 3.062 kB / 0.7002 GB, free: 12.6 MB / 0.573 GB Notification: Performance of Templates: time 0.02772/0.6931, allocations: 18.02 MB / 0.7178 GB, free: 8.051 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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_dev_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.334476497024298]