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.001745/0.001745, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002043/0.002043, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.471/1.471, allocations: 225.6 MB / 249.4 MB, free: 2.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7253/0.7253, allocations: 94.59 MB / 399.1 MB, free: 15.73 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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.002449/0.002449, allocations: 71.88 kB / 0.5448 GB, free: 10.09 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.337, allocations: 71.84 MB / 0.615 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.228/0.565, allocations: 190.2 MB / 0.8007 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.5758, allocations: 7.421 MB / 0.8079 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007829/0.5766, allocations: 39.69 kB / 0.808 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.5777, allocations: 385.4 kB / 0.8083 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003974/0.5817, allocations: 1.313 MB / 0.8096 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.5836, allocations: 0.6656 MB / 0.8103 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004184/0.5878, allocations: 2.43 MB / 0.8126 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.5881, allocations: 139.7 kB / 0.8128 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.5913, allocations: 1.668 MB / 0.8144 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.5924, allocations: 0.5875 MB / 0.815 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.5925, allocations: 56 kB / 0.815 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.5952, allocations: 1.174 MB / 0.8162 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.5955, allocations: 167.2 kB / 0.8163 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005318/0.596, allocations: 401.7 kB / 0.8167 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002954/0.5989, allocations: 1.499 MB / 0.8182 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5989, allocations: 0 / 0.8182 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5989, allocations: 3.938 kB / 0.8182 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.685e-05/0.599, allocations: 4 kB / 0.8182 GB, free: 2.898 MB / 0.6387 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.003263/0.6022, allocations: 1.398 MB / 0.8196 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.6023, allocations: 12.03 kB / 0.8196 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.6033, allocations: 171.3 kB / 0.8197 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.6045, allocations: 0.6747 MB / 0.8204 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.6045, allocations: 33 kB / 0.8204 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.6046, allocations: 59.98 kB / 0.8205 GB, free: 456 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.6059, allocations: 0.5859 MB / 0.821 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.6059, allocations: 0 / 0.821 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/0.606, allocations: 20 kB / 0.8211 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.606, allocations: 12 kB / 0.8211 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.6071, allocations: 464.1 kB / 0.8215 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004024/0.6112, allocations: 2.689 MB / 0.8241 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.6123, allocations: 432.8 kB / 0.8246 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.6128, allocations: 217.6 kB / 0.8248 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.6132, allocations: 267.3 kB / 0.825 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008361/0.614, allocations: 394.4 kB / 0.8254 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=54): time 2.315e-06/0.614, allocations: 0 / 0.8254 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54): time 0.002706/0.6167, allocations: 1.034 MB / 0.8264 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.6168, allocations: 89.11 kB / 0.8265 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/0.6175, allocations: 0.5982 MB / 0.8271 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.6176, allocations: 37.7 kB / 0.8271 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.6179, allocations: 353.2 kB / 0.8274 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.6181, allocations: 186.4 kB / 0.8276 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.6184, allocations: 138.2 kB / 0.8278 GB, free: 8.531 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6185, allocations: 329.9 kB / 0.8281 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005226/0.619, allocations: 197 kB / 0.8283 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/0.6196, allocations: 262.6 kB / 0.8285 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6208, allocations: 0.512 MB / 0.829 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.6208, allocations: 4 kB / 0.829 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001725/0.6225, allocations: 0.7676 MB / 0.8298 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/0.6226, allocations: 67.33 kB / 0.8298 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.843e-05/0.6226, allocations: 19.98 kB / 0.8298 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.6229, allocations: 77.59 kB / 0.8299 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.6234, allocations: 127.9 kB / 0.83 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.6262, allocations: 3.059 MB / 0.833 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.6267, allocations: 67.66 kB / 0.8331 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.6268, allocations: 59.98 kB / 0.8332 GB, free: 2.625 MB / 0.6544 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.0003172/0.6272, allocations: 193.7 kB / 0.8333 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.6273, allocations: 83.42 kB / 0.8334 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/0.6301, allocations: 1.291 MB / 0.8347 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.6302, allocations: 8 kB / 0.8347 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6302, allocations: 0 / 0.8347 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6302, allocations: 7.984 kB / 0.8347 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2822/0.9123, allocations: 1.591 MB / 0.8362 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/0.9124, allocations: 13.61 kB / 0.8363 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/0.9129, allocations: 113.9 kB / 0.8364 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003368/0.9132, allocations: 86.38 kB / 0.8365 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-05/0.9133, allocations: 33.89 kB / 0.8365 GB, free: 211.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.9152, allocations: 3.06 MB / 0.8395 GB, free: 208.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.9152, allocations: 10.19 kB / 0.8395 GB, free: 208.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.9177, allocations: 1.132 MB / 0.8406 GB, free: 208.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.9181, allocations: 224.1 kB / 0.8408 GB, free: 208.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.9182, allocations: 12.5 kB / 0.8408 GB, free: 208.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.9187, allocations: 31.64 kB / 0.8408 GB, free: 208.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.9189, allocations: 99.48 kB / 0.8409 GB, free: 208.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.919, allocations: 60.38 kB / 0.841 GB, free: 208.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004779/0.9195, allocations: 425.8 kB / 0.8414 GB, free: 208.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9195, allocations: 0 / 0.8414 GB, free: 208.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001078/0.9206, allocations: 300.4 kB / 0.8417 GB, free: 208 MB / 0.6544 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 (54): * Single equations (assignments): 44 * 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.0009216/0.9215, allocations: 428.8 kB / 0.8421 GB, free: 207.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001789/0.9233, allocations: 0.9446 MB / 0.843 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9233, allocations: 0 / 0.843 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009724/0.9243, allocations: 0.6533 MB / 0.8437 GB, free: 206.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.9254, allocations: 212.9 kB / 0.8439 GB, free: 206.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.9281, allocations: 1.583 MB / 0.8454 GB, free: 206.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.9285, allocations: 0.9329 MB / 0.8463 GB, free: 205.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001157/0.9296, allocations: 0.6804 MB / 0.847 GB, free: 205.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/0.93, allocations: 138.6 kB / 0.8471 GB, free: 205.1 MB / 0.6544 GB Notification: Performance of SimCode: time 7.52e-07/0.93, allocations: 1.094 kB / 0.8471 GB, free: 205.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.02615/0.9562, allocations: 15.87 MB / 0.8626 GB, free: 197.1 MB / 0.6544 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/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: 6.788894680328667]