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.001576/0.001576, 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.001886/0.001886, allocations: 196.8 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.384/1.384, 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.7013/0.7013, allocations: 91.18 MB / 381.1 MB, free: 9.621 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 79.39 kB / 459.6 MB, free: 23.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1423, allocations: 67.69 MB / 0.5149 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.4628/0.6051, allocations: 187.3 MB / 0.6979 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009419/0.6146, allocations: 7.439 MB / 0.7051 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.6156, allocations: 35.75 kB / 0.7052 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.6167, allocations: 322.2 kB / 0.7055 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003504/0.6202, allocations: 1.104 MB / 0.7065 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.622, allocations: 0.588 MB / 0.7071 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004161/0.6262, allocations: 2.598 MB / 0.7097 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.6265, allocations: 187.4 kB / 0.7098 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.6295, allocations: 1.57 MB / 0.7114 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008065/0.6304, allocations: 0.5796 MB / 0.7119 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.89e-05/0.6305, allocations: 36 kB / 0.712 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.6332, allocations: 1.053 MB / 0.713 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.6333, allocations: 131.3 kB / 0.7131 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004114/0.6338, allocations: 381.7 kB / 0.7135 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.6364, allocations: 1.406 MB / 0.7149 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6364, allocations: 0 / 0.7149 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6364, allocations: 0 / 0.7149 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.6364, allocations: 0 / 0.7149 GB, free: 3.379 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.003082/0.6395, allocations: 1.373 MB / 0.7162 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6395, allocations: 8.031 kB / 0.7162 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.6406, allocations: 158.8 kB / 0.7164 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009524/0.6416, allocations: 0.6 MB / 0.7169 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.6416, allocations: 41 kB / 0.717 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.6418, allocations: 51.91 kB / 0.717 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.643, allocations: 0.5897 MB / 0.7176 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.6431, allocations: 0 / 0.7176 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/0.6431, allocations: 16 kB / 0.7176 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.6432, allocations: 12 kB / 0.7176 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.6444, allocations: 468.1 kB / 0.7181 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.6484, allocations: 2.677 MB / 0.7207 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.6496, allocations: 466.2 kB / 0.7211 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005522/0.6502, allocations: 241.6 kB / 0.7214 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003612/0.6505, allocations: 267.3 kB / 0.7216 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008091/0.6514, allocations: 395.2 kB / 0.722 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=54): time 3.055e-06/0.6514, allocations: 0 / 0.722 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54): time 0.002982/0.6544, allocations: 1.038 MB / 0.723 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.6545, allocations: 89.09 kB / 0.7231 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009423/0.6554, allocations: 0.5747 MB / 0.7237 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.6555, allocations: 37.7 kB / 0.7237 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.6559, allocations: 336.8 kB / 0.724 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.6561, allocations: 189.3 kB / 0.7242 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000343/0.6565, allocations: 138.2 kB / 0.7243 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002309/0.6567, allocations: 382.8 kB / 0.7247 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007813/0.6575, allocations: 189 kB / 0.7249 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008574/0.6584, allocations: 266.6 kB / 0.7251 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.6601, allocations: 0.5159 MB / 0.7256 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6601, allocations: 0 / 0.7256 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002532/0.6626, allocations: 0.763 MB / 0.7264 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-05/0.6627, allocations: 59.41 kB / 0.7264 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.405e-05/0.6628, allocations: 23.91 kB / 0.7265 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004929/0.6633, allocations: 88.66 kB / 0.7265 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/0.664, allocations: 119.9 kB / 0.7267 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/0.6673, allocations: 2.831 MB / 0.7294 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008576/0.6681, allocations: 63.72 kB / 0.7295 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.6683, allocations: 63.97 kB / 0.7295 GB, free: 3.406 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.0004795/0.6688, allocations: 193.6 kB / 0.7297 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.6691, allocations: 75.06 kB / 0.7298 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.6735, allocations: 1.314 MB / 0.7311 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.6735, allocations: 8 kB / 0.7311 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6735, allocations: 0 / 0.7311 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6735, allocations: 7.922 kB / 0.7311 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004116/0.6777, allocations: 1.578 MB / 0.7326 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-05/0.6777, allocations: 15.98 kB / 0.7327 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/0.6784, allocations: 115.9 kB / 0.7328 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004281/0.6789, allocations: 85.77 kB / 0.7328 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.679, allocations: 35.98 kB / 0.7329 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/0.6817, allocations: 2.85 MB / 0.7357 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6817, allocations: 0 / 0.7357 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.6841, allocations: 1.128 MB / 0.7368 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.6844, allocations: 216 kB / 0.737 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.6846, allocations: 15.98 kB / 0.737 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/0.6851, allocations: 44.75 kB / 0.737 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.6853, allocations: 83.89 kB / 0.7371 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6854, allocations: 63.97 kB / 0.7372 GB, free: 11.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004966/0.6859, allocations: 411.1 kB / 0.7376 GB, free: 10.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.894e-06/0.686, allocations: 0 / 0.7376 GB, free: 10.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001123/0.6871, allocations: 311.5 kB / 0.7379 GB, free: 10.48 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.0009234/0.688, allocations: 420.2 kB / 0.7383 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.69, allocations: 0.9677 MB / 0.7392 GB, free: 9.031 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.69, allocations: 4.25 kB / 0.7392 GB, free: 9.027 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.6911, allocations: 0.66 MB / 0.7399 GB, free: 8.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.6923, allocations: 202.8 kB / 0.74 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.6956, allocations: 1.823 MB / 0.7418 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.6961, allocations: 0.923 MB / 0.7427 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001524/0.6977, allocations: 0.6835 MB / 0.7434 GB, free: 4.617 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004837/0.6982, allocations: 123.4 kB / 0.7435 GB, free: 4.496 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.6982, allocations: 4 kB / 0.7435 GB, free: 4.492 MB / 0.545 GB Notification: Performance of Templates: time 0.02676/0.7249, allocations: 14.81 MB / 0.758 GB, free: 5.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