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.00102/0.00102, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001091/0.001091, allocations: 191 kB / 16.25 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6905/0.6905, allocations: 91.19 MB / 381.3 MB, free: 9.559 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 82.34 kB / 459.8 MB, free: 23.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1121, allocations: 67.68 MB / 0.5151 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.4373/0.5494, allocations: 187.2 MB / 0.698 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008382/0.5578, allocations: 7.373 MB / 0.7052 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009358/0.5588, allocations: 35.75 kB / 0.7052 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.5599, allocations: 326.2 kB / 0.7055 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003494/0.5634, allocations: 1.165 MB / 0.7066 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.5652, allocations: 0.6154 MB / 0.7072 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004083/0.5693, allocations: 2.388 MB / 0.7096 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003982/0.5697, allocations: 200.5 kB / 0.7098 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.5729, allocations: 1.644 MB / 0.7114 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.574, allocations: 0.5875 MB / 0.712 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.5742, allocations: 59.94 kB / 0.712 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.5772, allocations: 1.139 MB / 0.7131 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.5774, allocations: 151.3 kB / 0.7133 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004598/0.5779, allocations: 401.7 kB / 0.7136 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.5806, allocations: 1.465 MB / 0.7151 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.5806, allocations: 0 / 0.7151 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5806, allocations: 0 / 0.7151 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.591e-05/0.5807, allocations: 8 kB / 0.7151 GB, free: 3.359 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.00286/0.5835, allocations: 1.354 MB / 0.7164 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.5836, allocations: 12.03 kB / 0.7164 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.5846, allocations: 155.7 kB / 0.7166 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008523/0.5855, allocations: 0.6 MB / 0.7172 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.5855, allocations: 33 kB / 0.7172 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.5857, allocations: 63.83 kB / 0.7172 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.5868, allocations: 0.5935 MB / 0.7178 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.5868, allocations: 0 / 0.7178 GB, free: 440 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/0.5869, allocations: 20 kB / 0.7178 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.5869, allocations: 12 kB / 0.7179 GB, free: 408 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.5881, allocations: 468.1 kB / 0.7183 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.5916, allocations: 2.673 MB / 0.7209 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.5927, allocations: 462.3 kB / 0.7214 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.5932, allocations: 241.6 kB / 0.7216 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002707/0.5935, allocations: 271.3 kB / 0.7218 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007727/0.5943, allocations: 400.1 kB / 0.7222 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 2.124e-06/0.5943, allocations: 0 / 0.7222 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.002557/0.5969, allocations: 1.034 MB / 0.7232 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.597, allocations: 89.09 kB / 0.7233 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.5976, allocations: 0.5747 MB / 0.7239 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.5977, allocations: 33.7 kB / 0.7239 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.5979, allocations: 344.9 kB / 0.7242 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.5981, allocations: 185.3 kB / 0.7244 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.5983, allocations: 130.2 kB / 0.7245 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5985, allocations: 382.8 kB / 0.7249 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.599, allocations: 193 kB / 0.7251 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.5996, allocations: 266.6 kB / 0.7253 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.6007, allocations: 0.5119 MB / 0.7258 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6007, allocations: 4 kB / 0.7259 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001664/0.6024, allocations: 0.7591 MB / 0.7266 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.6024, allocations: 63.41 kB / 0.7267 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.679e-05/0.6025, allocations: 24.78 kB / 0.7267 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003494/0.6028, allocations: 85.72 kB / 0.7268 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.6034, allocations: 119.9 kB / 0.7269 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.6057, allocations: 3.059 MB / 0.7299 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/0.6063, allocations: 67.44 kB / 0.7299 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.6064, allocations: 67.97 kB / 0.73 GB, free: 3.16 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.0002971/0.6067, allocations: 197.6 kB / 0.7302 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.6069, allocations: 75 kB / 0.7302 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.6098, allocations: 1.305 MB / 0.7315 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6099, allocations: 8 kB / 0.7315 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.6099, allocations: 7.984 kB / 0.7315 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.6099, allocations: 0 / 0.7315 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.6127, allocations: 1.575 MB / 0.7331 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/0.6127, allocations: 15.98 kB / 0.7331 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.6132, allocations: 123.9 kB / 0.7332 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/0.6135, allocations: 85.55 kB / 0.7333 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/0.6136, allocations: 35.97 kB / 0.7333 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.6158, allocations: 3.051 MB / 0.7363 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6159, allocations: 0 / 0.7363 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.6181, allocations: 1.136 MB / 0.7374 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.6184, allocations: 220 kB / 0.7376 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.6185, allocations: 24 kB / 0.7376 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000554/0.6191, allocations: 31.97 kB / 0.7377 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.6193, allocations: 91.83 kB / 0.7378 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6194, allocations: 63.97 kB / 0.7378 GB, free: 10.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004592/0.6199, allocations: 407.1 kB / 0.7382 GB, free: 10.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6199, allocations: 4 kB / 0.7382 GB, free: 10.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009497/0.6209, allocations: 307.5 kB / 0.7385 GB, free: 10 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.0009025/0.6218, allocations: 428.3 kB / 0.7389 GB, free: 9.582 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.6237, allocations: 1.011 MB / 0.7399 GB, free: 8.496 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.6237, allocations: 0 / 0.7399 GB, free: 8.496 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.6248, allocations: 0.6638 MB / 0.7406 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.6259, allocations: 216.7 kB / 0.7408 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.629, allocations: 1.806 MB / 0.7425 GB, free: 5.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.6295, allocations: 0.923 MB / 0.7434 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001427/0.6309, allocations: 0.6757 MB / 0.7441 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/0.6314, allocations: 131.4 kB / 0.7442 GB, free: 3.973 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.6314, allocations: 3.938 kB / 0.7442 GB, free: 3.969 MB / 0.545 GB Notification: Performance of Templates: time 0.02503/0.6564, allocations: 15.29 MB / 0.7591 GB, free: 4.797 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