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.00148/0.00148, allocations: 92.2 kB / 20.19 MB, free: 4.352 MB / 18.57 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.001142/0.001142, allocations: 173 kB / 23.49 MB, free: 1.051 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.068/1.068, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6822/0.6822, allocations: 118.6 MB / 378.9 MB, free: 1.516 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.034e-06/2.034e-06, allocations: 0 / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.869e-05, allocations: 2.312 kB / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.4359/0.4359, allocations: 188.6 MB / 0.6565 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003958/0.4399, allocations: 3.27 MB / 0.6597 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007018/0.4406, allocations: 50.09 kB / 0.6597 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008676/0.4415, allocations: 348.5 kB / 0.66 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003409/0.4449, allocations: 1.459 MB / 0.6615 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.4463, allocations: 0.709 MB / 0.6622 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003341/0.4496, allocations: 2.745 MB / 0.6648 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.4499, allocations: 126.1 kB / 0.665 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.453, allocations: 2.018 MB / 0.6669 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008719/0.4539, allocations: 0.5333 MB / 0.6674 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.454, allocations: 56.06 kB / 0.6675 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.4563, allocations: 0.9971 MB / 0.6685 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.4564, allocations: 167.3 kB / 0.6686 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.4569, allocations: 290.9 kB / 0.6689 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002987/0.4599, allocations: 1.455 MB / 0.6703 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4599, allocations: 0 / 0.6703 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4599, allocations: 1.531 kB / 0.6703 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.948e-05/0.4599, allocations: 1 kB / 0.6703 GB, free: 11.97 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.003126/0.463, allocations: 1.492 MB / 0.6718 GB, free: 27.09 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.4631, allocations: 9.562 kB / 0.6718 GB, free: 27.09 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.4642, allocations: 277.4 kB / 0.6721 GB, free: 27.01 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.4653, allocations: 0.6939 MB / 0.6727 GB, free: 26.73 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.915e-05/0.4653, allocations: 38.59 kB / 0.6728 GB, free: 26.73 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.4654, allocations: 57.67 kB / 0.6728 GB, free: 26.72 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.4662, allocations: 0.4985 MB / 0.6733 GB, free: 26.61 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.4662, allocations: 1.875 kB / 0.6733 GB, free: 26.61 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.4663, allocations: 21.41 kB / 0.6733 GB, free: 26.61 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.4663, allocations: 12.78 kB / 0.6734 GB, free: 26.61 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.4668, allocations: 246 kB / 0.6736 GB, free: 26.61 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.4692, allocations: 2.138 MB / 0.6757 GB, free: 25.53 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/0.47, allocations: 364.7 kB / 0.676 GB, free: 25.45 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.4702, allocations: 136.4 kB / 0.6762 GB, free: 25.43 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.4705, allocations: 37.19 kB / 0.6762 GB, free: 25.43 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004781/0.4709, allocations: 309.2 kB / 0.6765 GB, free: 25.34 MB / 0.573 GB Notification: Performance of pre-optimization done (n=54): time 3.036e-06/0.4709, allocations: 0 / 0.6765 GB, free: 25.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=54): time 0.001399/0.4723, allocations: 0.6553 MB / 0.6771 GB, free: 25.22 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.4724, allocations: 91.52 kB / 0.6772 GB, free: 25.12 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000635/0.473, allocations: 0.6535 MB / 0.6779 GB, free: 24.94 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.4731, allocations: 39.98 kB / 0.6779 GB, free: 24.91 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.4733, allocations: 434.6 kB / 0.6783 GB, free: 24.71 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.4734, allocations: 190.6 kB / 0.6785 GB, free: 24.59 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.4736, allocations: 146.6 kB / 0.6786 GB, free: 24.56 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4737, allocations: 0.499 MB / 0.6791 GB, free: 24.08 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.474, allocations: 147.3 kB / 0.6793 GB, free: 24.02 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.4742, allocations: 258.8 kB / 0.6795 GB, free: 23.85 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.4747, allocations: 371.2 kB / 0.6799 GB, free: 23.69 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4747, allocations: 0.6562 kB / 0.6799 GB, free: 23.69 MB / 0.573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009319/0.4756, allocations: 0.6804 MB / 0.6805 GB, free: 23.44 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.4757, allocations: 58.94 kB / 0.6806 GB, free: 23.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.4757, allocations: 20.8 kB / 0.6806 GB, free: 23.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003416/0.476, allocations: 95.41 kB / 0.6807 GB, free: 23.35 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.4763, allocations: 122.6 kB / 0.6808 GB, free: 23.35 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.4782, allocations: 3.637 MB / 0.6844 GB, free: 19.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.4785, allocations: 68.7 kB / 0.6844 GB, free: 19.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/0.4786, allocations: 67.12 kB / 0.6845 GB, free: 19.86 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.000215/0.4788, allocations: 184.1 kB / 0.6847 GB, free: 19.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.479, allocations: 104.6 kB / 0.6848 GB, free: 19.65 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.4804, allocations: 1.122 MB / 0.6859 GB, free: 19.53 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4804, allocations: 8.188 kB / 0.6859 GB, free: 19.53 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4804, allocations: 0.8125 kB / 0.6859 GB, free: 19.53 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4804, allocations: 5.438 kB / 0.6859 GB, free: 19.53 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.4818, allocations: 1.301 MB / 0.6871 GB, free: 19.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.4818, allocations: 13.62 kB / 0.6872 GB, free: 19.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.482, allocations: 104.4 kB / 0.6873 GB, free: 19.04 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/0.4823, allocations: 112.1 kB / 0.6874 GB, free: 19.01 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.4823, allocations: 34.72 kB / 0.6874 GB, free: 19.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.4839, allocations: 3.643 MB / 0.691 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4839, allocations: 3.938 kB / 0.691 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009662/0.4849, allocations: 0.9279 MB / 0.6919 GB, free: 15.12 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.4851, allocations: 151.5 kB / 0.692 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.4851, allocations: 12.88 kB / 0.692 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.4854, allocations: 25.8 kB / 0.692 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.4855, allocations: 93.7 kB / 0.6921 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/0.4856, allocations: 67.36 kB / 0.6922 GB, free: 15.06 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003546/0.486, allocations: 435.3 kB / 0.6926 GB, free: 14.92 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.486, allocations: 0.9375 kB / 0.6926 GB, free: 14.92 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009083/0.4869, allocations: 300.8 kB / 0.6929 GB, free: 14.89 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.0006038/0.4875, allocations: 402.2 kB / 0.6933 GB, free: 14.77 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.4886, allocations: 0.9585 MB / 0.6942 GB, free: 14.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4886, allocations: 0 / 0.6942 GB, free: 14.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.4891, allocations: 0.6687 MB / 0.6949 GB, free: 13.62 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.4901, allocations: 340.1 kB / 0.6952 GB, free: 13.59 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.4927, allocations: 1.419 MB / 0.6966 GB, free: 12.87 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.4928, allocations: 156.8 kB / 0.6967 GB, free: 12.79 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008287/0.4937, allocations: 0.6796 MB / 0.6974 GB, free: 12.69 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.4939, allocations: 138.1 kB / 0.6975 GB, free: 12.67 MB / 0.573 GB Notification: Performance of SimCode: time 1.533e-06/0.4939, allocations: 3.188 kB / 0.6975 GB, free: 12.67 MB / 0.573 GB Notification: Performance of Templates: time 0.02125/0.5152, allocations: 18.04 MB / 0.7152 GB, free: 8.449 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","",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.814777240855619]