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.0009729/0.0009729, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00111/0.00111, allocations: 173 kB / 23.49 MB, free: 1.055 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.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7325/0.7325, allocations: 118.6 MB / 378.9 MB, free: 1.473 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 1.703e-06/1.703e-06, allocations: 0 / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.539e-05, allocations: 5.547 kB / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.4526/0.4527, allocations: 188.6 MB / 0.6565 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004216/0.4569, allocations: 3.262 MB / 0.6596 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007691/0.4576, allocations: 54.53 kB / 0.6597 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009722/0.4586, allocations: 352.3 kB / 0.66 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.4626, allocations: 1.461 MB / 0.6615 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.4644, allocations: 0.7101 MB / 0.6622 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00415/0.4686, allocations: 2.743 MB / 0.6648 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.469, allocations: 128.2 kB / 0.665 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003254/0.4722, allocations: 2.013 MB / 0.6669 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008821/0.4731, allocations: 0.5327 MB / 0.6674 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.4733, allocations: 56.19 kB / 0.6675 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.4757, allocations: 0.998 MB / 0.6685 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.4759, allocations: 166.1 kB / 0.6686 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004971/0.4764, allocations: 293.3 kB / 0.6689 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003222/0.4796, allocations: 1.454 MB / 0.6703 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4796, allocations: 0.9375 kB / 0.6703 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4796, allocations: 0 / 0.6703 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.309e-05/0.4796, allocations: 0.7812 kB / 0.6703 GB, free: 12.04 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.003397/0.483, allocations: 1.5 MB / 0.6718 GB, free: 27.16 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.4831, allocations: 11.22 kB / 0.6718 GB, free: 27.16 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.4841, allocations: 273.4 kB / 0.6721 GB, free: 27.08 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.4853, allocations: 0.6934 MB / 0.6727 GB, free: 26.8 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.4854, allocations: 35.81 kB / 0.6728 GB, free: 26.8 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.777e-05/0.4855, allocations: 55.91 kB / 0.6728 GB, free: 26.8 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008023/0.4863, allocations: 0.5016 MB / 0.6733 GB, free: 26.69 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.4863, allocations: 4.484 kB / 0.6733 GB, free: 26.68 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.4863, allocations: 23.09 kB / 0.6733 GB, free: 26.68 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.4863, allocations: 12.38 kB / 0.6734 GB, free: 26.68 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000523/0.4869, allocations: 244 kB / 0.6736 GB, free: 26.68 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.4895, allocations: 2.133 MB / 0.6757 GB, free: 25.61 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/0.4901, allocations: 363.7 kB / 0.676 GB, free: 25.53 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.4903, allocations: 135.5 kB / 0.6761 GB, free: 25.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.4905, allocations: 37.92 kB / 0.6762 GB, free: 25.5 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004241/0.4909, allocations: 309.9 kB / 0.6765 GB, free: 25.41 MB / 0.573 GB Notification: Performance of pre-optimization done (n=54): time 3.536e-06/0.4909, allocations: 0 / 0.6765 GB, free: 25.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=54): time 0.001544/0.4925, allocations: 0.6595 MB / 0.6771 GB, free: 25.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.4925, allocations: 91.92 kB / 0.6772 GB, free: 25.2 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/0.4933, allocations: 0.6499 MB / 0.6778 GB, free: 25.01 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.4933, allocations: 36.42 kB / 0.6779 GB, free: 24.98 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.4936, allocations: 434.8 kB / 0.6783 GB, free: 24.78 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.4938, allocations: 192.3 kB / 0.6785 GB, free: 24.66 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.494, allocations: 143.5 kB / 0.6786 GB, free: 24.63 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4941, allocations: 0.4955 MB / 0.6791 GB, free: 24.15 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.4944, allocations: 154.2 kB / 0.6792 GB, free: 24.09 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.4947, allocations: 260.1 kB / 0.6795 GB, free: 23.92 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.4952, allocations: 370.9 kB / 0.6798 GB, free: 23.76 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4952, allocations: 0.7812 kB / 0.6798 GB, free: 23.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001136/0.4964, allocations: 0.6773 MB / 0.6805 GB, free: 23.52 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.4964, allocations: 61.53 kB / 0.6806 GB, free: 23.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.4965, allocations: 19.11 kB / 0.6806 GB, free: 23.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.4969, allocations: 90.86 kB / 0.6807 GB, free: 23.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.4972, allocations: 126.2 kB / 0.6808 GB, free: 23.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.4994, allocations: 3.64 MB / 0.6843 GB, free: 19.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.4999, allocations: 66.53 kB / 0.6844 GB, free: 19.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.5, allocations: 62.67 kB / 0.6845 GB, free: 19.93 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.0003182/0.5003, allocations: 190.1 kB / 0.6847 GB, free: 19.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.5005, allocations: 107.6 kB / 0.6848 GB, free: 19.72 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.5022, allocations: 1.118 MB / 0.6858 GB, free: 19.61 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5022, allocations: 6.281 kB / 0.6859 GB, free: 19.61 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5022, allocations: 0 / 0.6859 GB, free: 19.61 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.5022, allocations: 7.438 kB / 0.6859 GB, free: 19.61 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.5039, allocations: 1.297 MB / 0.6871 GB, free: 19.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/0.5039, allocations: 20.14 kB / 0.6871 GB, free: 19.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.5041, allocations: 101 kB / 0.6872 GB, free: 19.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/0.5044, allocations: 105.5 kB / 0.6873 GB, free: 19.09 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.5045, allocations: 39.66 kB / 0.6874 GB, free: 19.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.5064, allocations: 3.642 MB / 0.6909 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5064, allocations: 7.688 kB / 0.6909 GB, free: 15.62 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.5075, allocations: 0.9312 MB / 0.6919 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.5078, allocations: 144.9 kB / 0.692 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.5078, allocations: 16.22 kB / 0.692 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.5081, allocations: 25.89 kB / 0.692 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.5083, allocations: 94.94 kB / 0.6921 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/0.5083, allocations: 64.02 kB / 0.6922 GB, free: 15.14 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003867/0.5087, allocations: 436.4 kB / 0.6926 GB, free: 15 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.5087, allocations: 0.9062 kB / 0.6926 GB, free: 15 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001141/0.5099, allocations: 302 kB / 0.6929 GB, free: 14.96 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.0007501/0.5106, allocations: 409.2 kB / 0.6933 GB, free: 14.85 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.5118, allocations: 0.961 MB / 0.6942 GB, free: 14.18 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5118, allocations: 0 / 0.6942 GB, free: 14.18 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005563/0.5124, allocations: 0.6601 MB / 0.6949 GB, free: 13.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.5135, allocations: 338.3 kB / 0.6952 GB, free: 13.67 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.5163, allocations: 1.427 MB / 0.6966 GB, free: 12.94 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.5165, allocations: 153.1 kB / 0.6967 GB, free: 12.86 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001043/0.5175, allocations: 0.6812 MB / 0.6974 GB, free: 12.76 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.5178, allocations: 143.4 kB / 0.6975 GB, free: 12.74 MB / 0.573 GB Notification: Performance of SimCode: time 2.515e-06/0.5178, allocations: 0 / 0.6975 GB, free: 12.74 MB / 0.573 GB Notification: Performance of Templates: time 0.02307/0.5409, allocations: 18.04 MB / 0.7151 GB, free: 8.48 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","",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.903321439865977]