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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 106.6 kB / 18.68 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008162/0.008162, allocations: 194.9 kB / 21.92 MB, free: 5.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 250.6 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.785/0.785, allocations: 94.61 MB / 400.4 MB, free: 15.82 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002458/0.002458, allocations: 86.14 kB / 0.5464 GB, free: 42.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1183, allocations: 71.85 MB / 0.6166 GB, free: 8.609 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5679/0.6862, allocations: 190.2 MB / 0.8023 GB, free: 2.996 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.006651/0.6929, allocations: 7.439 MB / 0.8095 GB, free: 2.797 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007781/0.6936, allocations: 31.16 kB / 0.8096 GB, free: 2.797 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0009104/0.6945, allocations: 375.3 kB / 0.8099 GB, free: 2.785 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.6978, allocations: 1.323 MB / 0.8112 GB, free: 2.727 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.6995, allocations: 0.6769 MB / 0.8119 GB, free: 2.699 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.003845/0.7033, allocations: 2.423 MB / 0.8142 GB, free: 2.613 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002894/0.7036, allocations: 130.7 kB / 0.8144 GB, free: 2.57 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/0.7065, allocations: 1.671 MB / 0.816 GB, free: 2.441 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008512/0.7074, allocations: 0.5906 MB / 0.8166 GB, free: 2.336 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 9.792e-05/0.7075, allocations: 56.38 kB / 0.8166 GB, free: 2.336 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.7102, allocations: 1.169 MB / 0.8178 GB, free: 2.305 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.7104, allocations: 158.3 kB / 0.8179 GB, free: 2.27 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.7109, allocations: 404.9 kB / 0.8183 GB, free: 2.137 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.002823/0.7137, allocations: 1.502 MB / 0.8198 GB, free: 1.758 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7137, allocations: 0 / 0.8198 GB, free: 1.758 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7137, allocations: 0 / 0.8198 GB, free: 1.758 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.7137, allocations: 0 / 0.8198 GB, free: 1.758 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003051/0.7168, allocations: 1.401 MB / 0.8211 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.7168, allocations: 8.188 kB / 0.8212 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.7178, allocations: 175.8 kB / 0.8213 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.7189, allocations: 0.6704 MB / 0.822 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.7189, allocations: 40.28 kB / 0.822 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.719, allocations: 52.5 kB / 0.8221 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.7201, allocations: 0.5884 MB / 0.8226 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.7201, allocations: 5.594 kB / 0.8226 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/0.7202, allocations: 19.38 kB / 0.8227 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.7202, allocations: 10.06 kB / 0.8227 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.7213, allocations: 464.8 kB / 0.8231 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/0.7251, allocations: 2.69 MB / 0.8257 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.7262, allocations: 430.7 kB / 0.8262 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.7267, allocations: 218 kB / 0.8264 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003309/0.7271, allocations: 268.6 kB / 0.8266 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008029/0.7279, allocations: 400 kB / 0.827 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=54): time 2.584e-06/0.7279, allocations: 0 / 0.827 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54): time 0.002866/0.7307, allocations: 1.033 MB / 0.828 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.7308, allocations: 88.42 kB / 0.8281 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/0.7316, allocations: 0.5952 MB / 0.8287 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/0.7317, allocations: 39.64 kB / 0.8287 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.732, allocations: 344.7 kB / 0.829 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.7322, allocations: 198.4 kB / 0.8292 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.7324, allocations: 130.6 kB / 0.8294 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.7326, allocations: 338.7 kB / 0.8297 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/0.7331, allocations: 191.6 kB / 0.8299 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005786/0.7337, allocations: 262.1 kB / 0.8301 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.7349, allocations: 0.5137 MB / 0.8306 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7349, allocations: 0 / 0.8306 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00171/0.7366, allocations: 0.7709 MB / 0.8314 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-05/0.7366, allocations: 63.84 kB / 0.8314 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/0.7367, allocations: 12.58 kB / 0.8314 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000359/0.737, allocations: 90.2 kB / 0.8315 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.7375, allocations: 128.9 kB / 0.8316 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/0.7404, allocations: 3.055 MB / 0.8346 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.741, allocations: 60.86 kB / 0.8347 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.7411, allocations: 65.92 kB / 0.8348 GB, free: 7.328 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (60): * Single equations (assignments): 52 * 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.0003693/0.7415, allocations: 185.6 kB / 0.8349 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.7416, allocations: 84.83 kB / 0.835 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/0.7444, allocations: 1.297 MB / 0.8363 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.7444, allocations: 3.984 kB / 0.8363 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.379e-05/0.7444, allocations: 22.25 kB / 0.8363 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.7448, allocations: 225.7 kB / 0.8365 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.7449, allocations: 11.44 kB / 0.8365 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.7453, allocations: 31.78 kB / 0.8366 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.7455, allocations: 93.5 kB / 0.8366 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002132/0.7476, allocations: 0.8773 MB / 0.8375 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00218/0.7498, allocations: 1.158 MB / 0.8386 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006351/0.7504, allocations: 255 kB / 0.8389 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005724/0.751, allocations: 416.3 kB / 0.8393 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of Backend: time 8.02e-07/0.751, allocations: 0 / 0.8393 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003287/0.7543, allocations: 1.335 MB / 0.8406 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003045/0.7573, allocations: 2.103 MB / 0.8426 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of Templates: time 0.034/0.7913, allocations: 18.76 MB / 0.861 GB, free: 280 kB / 0.6075 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.164412652025931]