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) 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_dev_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_dev_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.001169/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00128/0.00128, allocations: 194.9 kB / 16.14 MB, free: 6.637 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.338/1.338, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6859/0.6859, allocations: 93.71 MB / 383.7 MB, free: 7.172 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 86.3 kB / 462.7 MB, free: 22.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1186, allocations: 68.27 MB / 0.5185 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.4592/0.5778, allocations: 187.3 MB / 0.7015 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008966/0.5868, allocations: 7.463 MB / 0.7087 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.5883, allocations: 47.69 kB / 0.7088 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.5899, allocations: 326.2 kB / 0.7091 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005828/0.5959, allocations: 1.13 MB / 0.7102 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.5983, allocations: 0.584 MB / 0.7108 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0066/0.6049, allocations: 2.645 MB / 0.7134 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006091/0.6056, allocations: 192.6 kB / 0.7135 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004837/0.6104, allocations: 1.597 MB / 0.7151 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.6119, allocations: 0.5758 MB / 0.7157 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.6122, allocations: 40 kB / 0.7157 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00386/0.616, allocations: 1.044 MB / 0.7167 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002767/0.6163, allocations: 147.2 kB / 0.7169 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007064/0.6171, allocations: 385.8 kB / 0.7172 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.621, allocations: 1.41 MB / 0.7186 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.621, allocations: 0 / 0.7186 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.133e-06/0.621, allocations: 0 / 0.7186 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.621, allocations: 4 kB / 0.7186 GB, free: 14.54 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.004458/0.6255, allocations: 1.384 MB / 0.72 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6256, allocations: 12.03 kB / 0.72 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.6273, allocations: 162.7 kB / 0.7201 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.6289, allocations: 0.6193 MB / 0.7207 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.6289, allocations: 41 kB / 0.7208 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.6291, allocations: 48 kB / 0.7208 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.631, allocations: 0.5896 MB / 0.7214 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.6311, allocations: 0 / 0.7214 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.6312, allocations: 19.98 kB / 0.7214 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.6312, allocations: 16 kB / 0.7214 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.6331, allocations: 464.1 kB / 0.7219 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005667/0.6387, allocations: 2.685 MB / 0.7245 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.6404, allocations: 459.1 kB / 0.7249 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008894/0.6414, allocations: 242.5 kB / 0.7252 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000372/0.6418, allocations: 267.3 kB / 0.7254 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008512/0.6426, allocations: 402.2 kB / 0.7258 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 3.496e-06/0.6426, allocations: 0 / 0.7258 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.002899/0.6456, allocations: 1.038 MB / 0.7268 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.6456, allocations: 85.09 kB / 0.7269 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.6464, allocations: 0.5982 MB / 0.7275 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/0.6465, allocations: 37.7 kB / 0.7275 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.6468, allocations: 352.9 kB / 0.7278 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.647, allocations: 177.4 kB / 0.728 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.6473, allocations: 142.1 kB / 0.7282 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6474, allocations: 326 kB / 0.7285 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/0.6479, allocations: 197 kB / 0.7287 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/0.6486, allocations: 266.6 kB / 0.7289 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.6498, allocations: 0.5159 MB / 0.7294 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6498, allocations: 0 / 0.7294 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001803/0.6516, allocations: 0.7708 MB / 0.7302 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.6517, allocations: 59.41 kB / 0.7302 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.514e-05/0.6517, allocations: 19.92 kB / 0.7302 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/0.6521, allocations: 81.64 kB / 0.7303 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.6527, allocations: 123.9 kB / 0.7304 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.6552, allocations: 2.824 MB / 0.7332 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.6559, allocations: 67.59 kB / 0.7333 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.656, allocations: 68.03 kB / 0.7333 GB, free: 14.53 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.0003806/0.6564, allocations: 198.5 kB / 0.7335 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.6566, allocations: 71.06 kB / 0.7336 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/0.6598, allocations: 1.308 MB / 0.7349 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.6598, allocations: 8 kB / 0.7349 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6598, allocations: 0 / 0.7349 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.6598, allocations: 7.984 kB / 0.7349 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.6629, allocations: 1.59 MB / 0.7364 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/0.6629, allocations: 11.98 kB / 0.7364 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.6634, allocations: 115.8 kB / 0.7365 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/0.6638, allocations: 89.69 kB / 0.7366 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.61e-05/0.6639, allocations: 35.97 kB / 0.7367 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.6663, allocations: 2.837 MB / 0.7394 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6663, allocations: 4.031 kB / 0.7394 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.6686, allocations: 1.144 MB / 0.7406 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/0.669, allocations: 220 kB / 0.7408 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.6691, allocations: 16 kB / 0.7408 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.6697, allocations: 39.88 kB / 0.7408 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.67, allocations: 95.75 kB / 0.7409 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.6701, allocations: 63.98 kB / 0.741 GB, free: 6.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000541/0.6706, allocations: 423 kB / 0.7414 GB, free: 5.879 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6707, allocations: 0 / 0.7414 GB, free: 5.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00106/0.6717, allocations: 303.5 kB / 0.7417 GB, free: 5.582 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.0009729/0.6727, allocations: 405.5 kB / 0.7421 GB, free: 5.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.6746, allocations: 0.9794 MB / 0.743 GB, free: 4.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6746, allocations: 0 / 0.743 GB, free: 4.125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.6758, allocations: 0.6759 MB / 0.7437 GB, free: 3.398 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.6771, allocations: 194.7 kB / 0.7439 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.6804, allocations: 1.851 MB / 0.7457 GB, free: 1.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.6809, allocations: 0.9309 MB / 0.7466 GB, free: 380 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001521/0.6825, allocations: 0.6875 MB / 0.7472 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/0.683, allocations: 123.3 kB / 0.7474 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.683, allocations: 0 / 0.7474 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.02566/0.7087, allocations: 14.84 MB / 0.7619 GB, free: 0.8203 MB / 0.5606 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.makefile (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) 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) Reference file matches