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.001891/0.001891, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002437/0.002437, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7971/0.7971, allocations: 94.56 MB / 407 MB, free: 9.211 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/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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004174/0.004174, allocations: 88.36 kB / 0.5554 GB, free: 38.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1366, allocations: 73.06 MB / 0.6268 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5113/0.6479, allocations: 190.3 MB / 0.8126 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007278/0.6551, allocations: 7.425 MB / 0.8198 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008075/0.656, allocations: 46.31 kB / 0.8199 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009129/0.6569, allocations: 382.6 kB / 0.8202 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003652/0.6605, allocations: 1.341 MB / 0.8215 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.6621, allocations: 0.6806 MB / 0.8222 GB, free: 292 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00396/0.6661, allocations: 2.514 MB / 0.8247 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.6666, allocations: 132.8 kB / 0.8248 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.6701, allocations: 1.733 MB / 0.8265 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.6712, allocations: 0.6152 MB / 0.8271 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.6713, allocations: 55.84 kB / 0.8271 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.6749, allocations: 1.195 MB / 0.8283 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.6752, allocations: 152.9 kB / 0.8284 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.6758, allocations: 410.1 kB / 0.8288 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004231/0.6801, allocations: 1.492 MB / 0.8303 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6801, allocations: 0 / 0.8303 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.522e-06/0.6801, allocations: 2.688 kB / 0.8303 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.54e-05/0.6801, allocations: 0 / 0.8303 GB, free: 12.65 MB / 0.5919 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.004128/0.6842, allocations: 1.351 MB / 0.8316 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.6843, allocations: 9.75 kB / 0.8316 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.686, allocations: 162.3 kB / 0.8318 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.6878, allocations: 0.5995 MB / 0.8324 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.02e-05/0.6878, allocations: 37.19 kB / 0.8324 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.688, allocations: 56.41 kB / 0.8325 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.6896, allocations: 0.5943 MB / 0.833 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.6896, allocations: 3.984 kB / 0.833 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.389e-05/0.6897, allocations: 20.91 kB / 0.8331 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.6897, allocations: 12.66 kB / 0.8331 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.6914, allocations: 466.3 kB / 0.8335 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00592/0.6973, allocations: 2.625 MB / 0.8361 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.6988, allocations: 421.9 kB / 0.8365 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007145/0.6995, allocations: 219.9 kB / 0.8367 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.6998, allocations: 37.36 kB / 0.8367 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.7009, allocations: 399.6 kB / 0.8371 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=54): time 3.917e-06/0.7009, allocations: 3.938 kB / 0.8371 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54): time 0.003711/0.7046, allocations: 0.8884 MB / 0.838 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.07e-05/0.7047, allocations: 88.64 kB / 0.8381 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.7058, allocations: 0.5918 MB / 0.8386 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.7059, allocations: 36.14 kB / 0.8387 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.7063, allocations: 356.5 kB / 0.839 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.7066, allocations: 193.3 kB / 0.8392 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.7069, allocations: 134.8 kB / 0.8393 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.7071, allocations: 326.8 kB / 0.8396 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007253/0.7078, allocations: 196.2 kB / 0.8398 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007874/0.7086, allocations: 267.4 kB / 0.8401 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.7103, allocations: 0.5077 MB / 0.8406 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.7103, allocations: 2.75 kB / 0.8406 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002415/0.7127, allocations: 0.7682 MB / 0.8413 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.426e-05/0.7128, allocations: 63.38 kB / 0.8414 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/0.7128, allocations: 17.92 kB / 0.8414 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004755/0.7133, allocations: 87.8 kB / 0.8415 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.714, allocations: 125.5 kB / 0.8416 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.717, allocations: 2.854 MB / 0.8444 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.7176, allocations: 63 kB / 0.8445 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.7177, allocations: 65.48 kB / 0.8445 GB, free: 1.77 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.0003579/0.718, allocations: 194.4 kB / 0.8447 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.7182, allocations: 91.09 kB / 0.8448 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.7209, allocations: 1.29 MB / 0.8461 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7209, allocations: 5.094 kB / 0.8461 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.7209, allocations: 6.781 kB / 0.8461 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.7209, allocations: 3.984 kB / 0.8461 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.7239, allocations: 1.562 MB / 0.8476 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/0.7239, allocations: 13.17 kB / 0.8476 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.7244, allocations: 119.2 kB / 0.8477 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003034/0.7247, allocations: 81.95 kB / 0.8478 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.003e-05/0.7248, allocations: 40.53 kB / 0.8478 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/0.7275, allocations: 2.867 MB / 0.8506 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7275, allocations: 0 / 0.8506 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.7297, allocations: 1.138 MB / 0.8517 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/0.7301, allocations: 145.4 kB / 0.8519 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.7302, allocations: 13.66 kB / 0.8519 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.7307, allocations: 36.94 kB / 0.8519 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.7309, allocations: 86.64 kB / 0.852 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.171e-05/0.731, allocations: 65.12 kB / 0.8521 GB, free: 12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005009/0.7315, allocations: 422.4 kB / 0.8525 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7315, allocations: 0 / 0.8525 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001002/0.7325, allocations: 303.9 kB / 0.8528 GB, free: 11.48 MB / 0.6075 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.0007746/0.7333, allocations: 416.7 kB / 0.8532 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.7352, allocations: 0.9561 MB / 0.8541 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7352, allocations: 0 / 0.8541 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.7364, allocations: 0.6456 MB / 0.8547 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.7376, allocations: 216.9 kB / 0.8549 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.7408, allocations: 1.588 MB / 0.8565 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.7413, allocations: 0.9309 MB / 0.8574 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00132/0.7427, allocations: 0.6857 MB / 0.8581 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.7431, allocations: 127.4 kB / 0.8582 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.7431, allocations: 0 / 0.8582 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of Templates: time 0.03017/0.7732, allocations: 16.06 MB / 0.8739 GB, free: 5.875 MB / 0.6231 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] 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.21236512856558]