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.001074/0.001074, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001334/0.001335, allocations: 190.9 kB / 16.14 MB, free: 6.711 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.681/0.681, allocations: 91.19 MB / 381.1 MB, free: 9.594 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 81.62 kB / 459.6 MB, free: 23.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1232, allocations: 67.7 MB / 0.515 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.47/0.5932, allocations: 187.3 MB / 0.6979 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009632/0.6029, allocations: 7.435 MB / 0.7051 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.6041, allocations: 35.75 kB / 0.7052 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.6055, allocations: 330.1 kB / 0.7055 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004303/0.6098, allocations: 1.107 MB / 0.7066 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.6116, allocations: 0.5957 MB / 0.7071 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004243/0.6158, allocations: 2.594 MB / 0.7097 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.6162, allocations: 188.5 kB / 0.7099 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.6192, allocations: 1.562 MB / 0.7114 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009386/0.6202, allocations: 0.5797 MB / 0.7119 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.6203, allocations: 36 kB / 0.712 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.6229, allocations: 1.049 MB / 0.713 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.6231, allocations: 135.3 kB / 0.7131 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004681/0.6236, allocations: 381.7 kB / 0.7135 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.6264, allocations: 1.406 MB / 0.7149 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6264, allocations: 0 / 0.7149 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6264, allocations: 0 / 0.7149 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.67e-05/0.6264, allocations: 0 / 0.7149 GB, free: 3.355 MB / 0.5137 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.003152/0.6296, allocations: 1.365 MB / 0.7162 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6296, allocations: 8.031 kB / 0.7162 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.6307, allocations: 162.8 kB / 0.7164 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.6317, allocations: 0.5961 MB / 0.7169 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.6318, allocations: 41 kB / 0.717 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.6319, allocations: 51.91 kB / 0.717 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.6331, allocations: 0.5935 MB / 0.7176 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.6332, allocations: 0 / 0.7176 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/0.6332, allocations: 16 kB / 0.7176 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.6332, allocations: 12 kB / 0.7176 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.6344, allocations: 468.1 kB / 0.7181 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.6381, allocations: 2.681 MB / 0.7207 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.6393, allocations: 464.7 kB / 0.7212 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005592/0.6399, allocations: 245.5 kB / 0.7214 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.6402, allocations: 263.3 kB / 0.7216 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000805/0.641, allocations: 400 kB / 0.722 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 3.116e-06/0.641, allocations: 0 / 0.722 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.002643/0.6437, allocations: 1.031 MB / 0.723 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.6438, allocations: 93.09 kB / 0.7231 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.6445, allocations: 0.5747 MB / 0.7237 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.6445, allocations: 37.7 kB / 0.7237 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.6448, allocations: 332.9 kB / 0.724 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.645, allocations: 197.3 kB / 0.7242 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.6452, allocations: 134.2 kB / 0.7243 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6454, allocations: 382.8 kB / 0.7247 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.646, allocations: 193 kB / 0.7249 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.6465, allocations: 262.6 kB / 0.7251 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.6477, allocations: 0.5197 MB / 0.7257 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.6477, allocations: 0 / 0.7257 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001828/0.6496, allocations: 0.763 MB / 0.7264 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/0.6496, allocations: 63.39 kB / 0.7265 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/0.6497, allocations: 15.92 kB / 0.7265 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004122/0.6501, allocations: 88.59 kB / 0.7266 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/0.6506, allocations: 119.9 kB / 0.7267 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/0.653, allocations: 2.824 MB / 0.7294 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.6536, allocations: 71.7 kB / 0.7295 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.6537, allocations: 59.98 kB / 0.7296 GB, free: 3.391 MB / 0.5294 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.0003454/0.6541, allocations: 201.5 kB / 0.7297 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.6543, allocations: 75.06 kB / 0.7298 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/0.6572, allocations: 1.308 MB / 0.7311 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.6573, allocations: 8 kB / 0.7311 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6573, allocations: 0 / 0.7311 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.6573, allocations: 3.984 kB / 0.7311 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.6602, allocations: 1.578 MB / 0.7326 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/0.6603, allocations: 11.98 kB / 0.7327 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.6608, allocations: 127.8 kB / 0.7328 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003242/0.6611, allocations: 85.64 kB / 0.7329 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-05/0.6612, allocations: 31.98 kB / 0.7329 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.6634, allocations: 2.85 MB / 0.7357 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6634, allocations: 0 / 0.7357 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.6657, allocations: 1.125 MB / 0.7368 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.6661, allocations: 220 kB / 0.737 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.6663, allocations: 16.86 kB / 0.737 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.6668, allocations: 43.88 kB / 0.737 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.6671, allocations: 91.81 kB / 0.7371 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.6672, allocations: 59.98 kB / 0.7372 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004975/0.6677, allocations: 407.1 kB / 0.7376 GB, free: 10.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6677, allocations: 3.938 kB / 0.7376 GB, free: 10.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001108/0.6688, allocations: 311.5 kB / 0.7379 GB, free: 10.46 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.001014/0.6698, allocations: 419.1 kB / 0.7383 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.6718, allocations: 0.9718 MB / 0.7392 GB, free: 9.004 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6718, allocations: 4 kB / 0.7392 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.6729, allocations: 0.6639 MB / 0.7399 GB, free: 8.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6742, allocations: 205.1 kB / 0.7401 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.6774, allocations: 1.82 MB / 0.7418 GB, free: 6.227 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.6779, allocations: 0.9191 MB / 0.7427 GB, free: 5.281 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001442/0.6794, allocations: 0.6796 MB / 0.7434 GB, free: 4.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/0.6799, allocations: 123.4 kB / 0.7435 GB, free: 4.477 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.6799, allocations: 4 kB / 0.7435 GB, free: 4.473 MB / 0.545 GB Notification: Performance of Templates: time 0.02673/0.7066, allocations: 14.81 MB / 0.758 GB, free: 5.773 MB / 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