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.002428/0.002428, allocations: 84.08 kB / 19.44 MB, free: 332 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.002866/0.002866, allocations: 165.7 kB / 22.76 MB, free: 1.648 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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.034/1.034, allocations: 118.6 MB / 378.2 MB, free: 1.457 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 2.033e-06/2.033e-06, allocations: 0 / 482.9 MB, free: 8.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.096e-05, allocations: 2.312 kB / 482.9 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5973/0.5973, allocations: 188.5 MB / 0.6557 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005122/0.6024, allocations: 3.256 MB / 0.6588 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.6036, allocations: 56.38 kB / 0.6589 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.605, allocations: 349.7 kB / 0.6592 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005563/0.6106, allocations: 1.464 MB / 0.6606 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.6133, allocations: 0.7107 MB / 0.6613 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005978/0.6192, allocations: 2.735 MB / 0.664 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005127/0.6197, allocations: 129.8 kB / 0.6641 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005146/0.6249, allocations: 2.016 MB / 0.6661 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.6265, allocations: 0.5332 MB / 0.6666 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003317/0.6268, allocations: 55.31 kB / 0.6667 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/0.6303, allocations: 1.003 MB / 0.6677 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003472/0.6307, allocations: 163.5 kB / 0.6678 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.6318, allocations: 292 kB / 0.6681 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005828/0.6376, allocations: 1.643 MB / 0.6697 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6377, allocations: 0 / 0.6697 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6377, allocations: 1.125 kB / 0.6697 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.468e-05/0.6377, allocations: 0.875 kB / 0.6697 GB, free: 12.14 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.005777/0.6435, allocations: 1.543 MB / 0.6712 GB, free: 27.26 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.6435, allocations: 13.28 kB / 0.6712 GB, free: 27.26 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.6453, allocations: 274 kB / 0.6715 GB, free: 27.18 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.6474, allocations: 0.6912 MB / 0.6722 GB, free: 26.91 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.6475, allocations: 35.56 kB / 0.6722 GB, free: 26.91 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.6476, allocations: 62.73 kB / 0.6722 GB, free: 26.91 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.6491, allocations: 0.6081 MB / 0.6728 GB, free: 26.8 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.6491, allocations: 3.094 kB / 0.6728 GB, free: 26.8 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.6492, allocations: 25.56 kB / 0.6729 GB, free: 26.8 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.6492, allocations: 12.78 kB / 0.6729 GB, free: 26.8 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.6504, allocations: 412 kB / 0.6733 GB, free: 26.79 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004867/0.6553, allocations: 2.325 MB / 0.6755 GB, free: 25.71 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.6565, allocations: 466.9 kB / 0.676 GB, free: 25.64 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.657, allocations: 208 kB / 0.6762 GB, free: 25.61 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.6573, allocations: 42.64 kB / 0.6762 GB, free: 25.61 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009038/0.6582, allocations: 392.2 kB / 0.6766 GB, free: 25.53 MB / 0.573 GB Notification: Performance of pre-optimization done (n=54): time 6.252e-06/0.6582, allocations: 0 / 0.6766 GB, free: 25.53 MB / 0.573 GB Notification: Performance of matching and sorting (n=54): time 0.002837/0.661, allocations: 0.8607 MB / 0.6774 GB, free: 25.41 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.6611, allocations: 89.2 kB / 0.6775 GB, free: 25.31 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.6624, allocations: 0.7934 MB / 0.6783 GB, free: 25.12 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.705e-05/0.6625, allocations: 36.58 kB / 0.6783 GB, free: 25.09 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.6629, allocations: 465.7 kB / 0.6788 GB, free: 24.89 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.6631, allocations: 202.5 kB / 0.679 GB, free: 24.77 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.6634, allocations: 159.7 kB / 0.6791 GB, free: 24.75 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003046/0.6637, allocations: 0.5078 MB / 0.6796 GB, free: 24.26 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005655/0.6643, allocations: 227.9 kB / 0.6798 GB, free: 24.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.6649, allocations: 348 kB / 0.6802 GB, free: 24.04 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.6661, allocations: 0.5196 MB / 0.6807 GB, free: 23.87 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.6661, allocations: 1.156 kB / 0.6807 GB, free: 23.87 MB / 0.573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001985/0.668, allocations: 0.8396 MB / 0.6815 GB, free: 23.62 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.6681, allocations: 64.44 kB / 0.6816 GB, free: 23.56 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.922e-05/0.6682, allocations: 14.92 kB / 0.6816 GB, free: 23.56 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.6688, allocations: 111.6 kB / 0.6817 GB, free: 23.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.6692, allocations: 122.8 kB / 0.6818 GB, free: 23.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003823/0.673, allocations: 3.848 MB / 0.6856 GB, free: 20.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00071/0.6738, allocations: 70.56 kB / 0.6856 GB, free: 20.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.6739, allocations: 62.83 kB / 0.6857 GB, free: 20.04 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.0004837/0.6744, allocations: 238.4 kB / 0.6859 GB, free: 19.88 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.6747, allocations: 104.8 kB / 0.686 GB, free: 19.84 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.6772, allocations: 1.254 MB / 0.6872 GB, free: 19.72 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.6772, allocations: 6.812 kB / 0.6872 GB, free: 19.72 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6772, allocations: 0.8438 kB / 0.6872 GB, free: 19.72 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.6772, allocations: 9.859 kB / 0.6873 GB, free: 19.72 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.68, allocations: 1.546 MB / 0.6888 GB, free: 19.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-05/0.68, allocations: 15.59 kB / 0.6888 GB, free: 19.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004167/0.6805, allocations: 113.2 kB / 0.6889 GB, free: 19.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004314/0.6809, allocations: 109.1 kB / 0.689 GB, free: 19.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/0.681, allocations: 33.77 kB / 0.689 GB, free: 19.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003198/0.6842, allocations: 3.858 MB / 0.6928 GB, free: 15.74 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6842, allocations: 3.875 kB / 0.6928 GB, free: 15.74 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.6863, allocations: 1.186 MB / 0.694 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/0.6867, allocations: 144 kB / 0.6941 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.6869, allocations: 20.72 kB / 0.6941 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.6874, allocations: 28.06 kB / 0.6941 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.6876, allocations: 95.12 kB / 0.6942 GB, free: 15.25 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.6877, allocations: 66.78 kB / 0.6943 GB, free: 15.25 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005812/0.6883, allocations: 0.5063 MB / 0.6948 GB, free: 15.12 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.6883, allocations: 3 kB / 0.6948 GB, free: 15.12 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001302/0.6896, allocations: 300.5 kB / 0.6951 GB, free: 15.08 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.001255/0.6908, allocations: 402.5 kB / 0.6955 GB, free: 14.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002297/0.6931, allocations: 1.121 MB / 0.6966 GB, free: 14.29 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6931, allocations: 2.875 kB / 0.6966 GB, free: 14.29 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.6942, allocations: 0.7469 MB / 0.6973 GB, free: 13.81 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.6959, allocations: 350.4 kB / 0.6976 GB, free: 13.77 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.6986, allocations: 1.449 MB / 0.699 GB, free: 13.05 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.6989, allocations: 367.1 kB / 0.6994 GB, free: 12.93 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001131/0.7, allocations: 0.6805 MB / 0.7 GB, free: 12.83 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.7004, allocations: 134.5 kB / 0.7002 GB, free: 12.82 MB / 0.573 GB Notification: Performance of SimCode: time 1.443e-06/0.7004, allocations: 0 / 0.7002 GB, free: 12.82 MB / 0.573 GB Notification: Performance of Templates: time 0.02926/0.7297, allocations: 18.02 MB / 0.7178 GB, free: 8.297 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] 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.441047277068719]