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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 89.97 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008574/0.008575, allocations: 174.1 kB / 16.26 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6856/0.6856, allocations: 91.33 MB / 382.8 MB, free: 9.676 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003402, allocations: 11.06 kB / 462.7 MB, free: 23.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1195, allocations: 69.21 MB / 0.5195 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5145/0.6341, allocations: 184.8 MB / 0.6999 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008988/0.6431, allocations: 7.329 MB / 0.7071 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008433/0.644, allocations: 31.75 kB / 0.7071 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.645, allocations: 322.2 kB / 0.7074 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.6485, allocations: 1.116 MB / 0.7085 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.6501, allocations: 0.5879 MB / 0.7091 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003847/0.654, allocations: 2.595 MB / 0.7116 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.6544, allocations: 189.4 kB / 0.7118 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.6571, allocations: 1.547 MB / 0.7133 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000823/0.6579, allocations: 0.5524 MB / 0.7139 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.658, allocations: 28 kB / 0.7139 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.6604, allocations: 1.038 MB / 0.7149 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.6606, allocations: 131.4 kB / 0.715 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.661, allocations: 383.5 kB / 0.7154 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.6634, allocations: 1.386 MB / 0.7167 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6634, allocations: 0 / 0.7167 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6634, allocations: 0 / 0.7167 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.045e-05/0.6634, allocations: 0 / 0.7167 GB, free: 14.11 MB / 0.5294 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.002693/0.6661, allocations: 1.225 MB / 0.7179 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6662, allocations: 12.03 kB / 0.718 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.6672, allocations: 158.8 kB / 0.7181 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009315/0.6681, allocations: 0.5961 MB / 0.7187 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.6682, allocations: 40.5 kB / 0.7187 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.6683, allocations: 51.91 kB / 0.7188 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.6695, allocations: 0.6092 MB / 0.7194 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.6695, allocations: 0 / 0.7194 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.609e-05/0.6696, allocations: 20 kB / 0.7194 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.6696, allocations: 12 kB / 0.7194 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.6708, allocations: 0.4884 MB / 0.7199 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.6745, allocations: 2.696 MB / 0.7225 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.6756, allocations: 478.4 kB / 0.723 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.6762, allocations: 253.6 kB / 0.7232 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/0.6765, allocations: 271.3 kB / 0.7235 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007814/0.6773, allocations: 418.2 kB / 0.7239 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 2.254e-06/0.6773, allocations: 0 / 0.7239 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.002728/0.68, allocations: 1.074 MB / 0.7249 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.6801, allocations: 93.09 kB / 0.725 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007704/0.6809, allocations: 0.5785 MB / 0.7256 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.197e-05/0.6809, allocations: 33.7 kB / 0.7256 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.6812, allocations: 336.9 kB / 0.7259 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.6814, allocations: 185.3 kB / 0.7261 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.6815, allocations: 53.69 kB / 0.7261 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.6818, allocations: 386.8 kB / 0.7265 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006028/0.6824, allocations: 205 kB / 0.7267 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.683, allocations: 278.6 kB / 0.727 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.6842, allocations: 0.551 MB / 0.7275 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.6842, allocations: 4 kB / 0.7275 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00179/0.686, allocations: 0.7903 MB / 0.7283 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.455e-05/0.6861, allocations: 65.86 kB / 0.7284 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.3e-05/0.6861, allocations: 19.92 kB / 0.7284 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.6865, allocations: 85.64 kB / 0.7285 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.687, allocations: 127.8 kB / 0.7286 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.6895, allocations: 2.835 MB / 0.7313 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005848/0.6901, allocations: 71.62 kB / 0.7314 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.6902, allocations: 63.98 kB / 0.7315 GB, free: 14.09 MB / 0.545 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.0003247/0.6906, allocations: 198.1 kB / 0.7317 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.6907, allocations: 71.14 kB / 0.7317 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/0.6937, allocations: 1.337 MB / 0.733 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.6937, allocations: 8 kB / 0.733 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.6937, allocations: 7.938 kB / 0.7331 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.6938, allocations: 7.984 kB / 0.7331 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.6966, allocations: 1.613 MB / 0.7346 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/0.6966, allocations: 11.98 kB / 0.7346 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.6971, allocations: 127.9 kB / 0.7348 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003015/0.6975, allocations: 85.69 kB / 0.7349 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/0.6975, allocations: 31.98 kB / 0.7349 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.6998, allocations: 2.838 MB / 0.7377 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6998, allocations: 0 / 0.7377 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.7021, allocations: 1.179 MB / 0.7388 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.7024, allocations: 223.9 kB / 0.739 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.7025, allocations: 15.94 kB / 0.739 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.703, allocations: 43.91 kB / 0.7391 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.7032, allocations: 91.88 kB / 0.7392 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.514e-05/0.7033, allocations: 67.98 kB / 0.7392 GB, free: 5.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004862/0.7038, allocations: 403.1 kB / 0.7396 GB, free: 5.348 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7038, allocations: 4 kB / 0.7396 GB, free: 5.344 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009879/0.7048, allocations: 299.5 kB / 0.7399 GB, free: 5.051 MB / 0.545 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.0009223/0.7058, allocations: 421.3 kB / 0.7403 GB, free: 4.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001867/0.7077, allocations: 1.023 MB / 0.7413 GB, free: 3.539 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7077, allocations: 0 / 0.7413 GB, free: 3.539 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.7088, allocations: 0.6757 MB / 0.742 GB, free: 2.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.7101, allocations: 196.1 kB / 0.7421 GB, free: 2.617 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.7133, allocations: 1.925 MB / 0.744 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.7139, allocations: 0.9348 MB / 0.7449 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001451/0.7153, allocations: 0.6753 MB / 0.7456 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.7159, allocations: 127.4 kB / 0.7457 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.7159, allocations: 0 / 0.7457 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.02612/0.742, allocations: 14.7 MB / 0.7601 GB, free: 304 kB / 0.5606 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile (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) 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) Reference file matches