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.001655/0.001655, allocations: 107.6 kB / 16.41 MB, free: 6.496 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.001601/0.001601, allocations: 188 kB / 17.34 MB, free: 5.734 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7733/0.7733, allocations: 97.64 MB / 388.8 MB, free: 1.422 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 81 kB / 0.5268 GB, free: 38.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1042, allocations: 69.24 MB / 0.5944 GB, free: 460 kB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5017/0.6058, allocations: 189.7 MB / 0.7797 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006409/0.6122, allocations: 7.362 MB / 0.7869 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006079/0.6128, allocations: 33.59 kB / 0.7869 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008845/0.6137, allocations: 383.7 kB / 0.7873 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.6166, allocations: 1.321 MB / 0.7886 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.6182, allocations: 0.6698 MB / 0.7892 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003109/0.6213, allocations: 2.42 MB / 0.7916 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.6216, allocations: 131.8 kB / 0.7917 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.6239, allocations: 1.665 MB / 0.7933 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.6246, allocations: 0.5858 MB / 0.7939 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.072e-05/0.6246, allocations: 54.47 kB / 0.7939 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.6268, allocations: 1.142 MB / 0.7951 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.627, allocations: 156.5 kB / 0.7952 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.6273, allocations: 411.9 kB / 0.7956 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.6294, allocations: 1.497 MB / 0.7971 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6294, allocations: 0 / 0.7971 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6294, allocations: 3.938 kB / 0.7971 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.6294, allocations: 0.8125 kB / 0.7971 GB, free: 0.9727 MB / 0.5919 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.00282/0.6323, allocations: 1.405 MB / 0.7984 GB, free: 16.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.6323, allocations: 12.45 kB / 0.7985 GB, free: 16.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.6333, allocations: 158.8 kB / 0.7986 GB, free: 16.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009889/0.6343, allocations: 0.6736 MB / 0.7993 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.6343, allocations: 43.56 kB / 0.7993 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.6344, allocations: 51.8 kB / 0.7994 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.6355, allocations: 0.5883 MB / 0.7999 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6355, allocations: 0 / 0.7999 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.95e-05/0.6356, allocations: 25.84 kB / 0.8 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.6356, allocations: 10.62 kB / 0.8 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.6367, allocations: 467.4 kB / 0.8004 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.6402, allocations: 2.685 MB / 0.803 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.6412, allocations: 431.2 kB / 0.8034 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.6417, allocations: 217.5 kB / 0.8036 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003345/0.642, allocations: 276.6 kB / 0.8039 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000714/0.6427, allocations: 384.8 kB / 0.8043 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=54): time 1.954e-06/0.6427, allocations: 0.9688 kB / 0.8043 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54): time 0.002498/0.6452, allocations: 1.046 MB / 0.8053 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.6453, allocations: 88.58 kB / 0.8054 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.6459, allocations: 0.5921 MB / 0.806 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.954e-05/0.646, allocations: 37.05 kB / 0.806 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.6462, allocations: 357.6 kB / 0.8063 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.6464, allocations: 185.6 kB / 0.8065 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.6466, allocations: 136.8 kB / 0.8066 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6467, allocations: 332.2 kB / 0.807 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.6472, allocations: 195.5 kB / 0.8072 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.6477, allocations: 263.7 kB / 0.8074 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.6488, allocations: 0.5043 MB / 0.8079 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.6488, allocations: 3.344 kB / 0.8079 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00159/0.6504, allocations: 0.7718 MB / 0.8087 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.6505, allocations: 60.78 kB / 0.8087 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.6505, allocations: 20.33 kB / 0.8087 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.6508, allocations: 79.86 kB / 0.8088 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.6513, allocations: 125.5 kB / 0.8089 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/0.6539, allocations: 3.055 MB / 0.8119 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.6545, allocations: 65.95 kB / 0.812 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.389e-05/0.6546, allocations: 63.66 kB / 0.812 GB, free: 9.426 MB / 0.6075 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.0003132/0.6549, allocations: 185.6 kB / 0.8122 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.655, allocations: 85.61 kB / 0.8123 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.6576, allocations: 1.307 MB / 0.8136 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.6576, allocations: 11.25 kB / 0.8136 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6576, allocations: 4.062 kB / 0.8136 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.6576, allocations: 6.375 kB / 0.8136 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.6603, allocations: 1.588 MB / 0.8151 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/0.6603, allocations: 14.05 kB / 0.8152 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.6608, allocations: 118.1 kB / 0.8153 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.661, allocations: 85.48 kB / 0.8153 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/0.6611, allocations: 32.62 kB / 0.8154 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.6637, allocations: 3.057 MB / 0.8184 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6637, allocations: 4.562 kB / 0.8184 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.6659, allocations: 1.141 MB / 0.8195 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.6662, allocations: 219.5 kB / 0.8197 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.6663, allocations: 18.08 kB / 0.8197 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.6668, allocations: 32.83 kB / 0.8197 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.667, allocations: 94.62 kB / 0.8198 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-05/0.6671, allocations: 63.75 kB / 0.8199 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004474/0.6675, allocations: 423.9 kB / 0.8203 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6675, allocations: 0 / 0.8203 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009329/0.6685, allocations: 302.1 kB / 0.8206 GB, free: 5.379 MB / 0.6075 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.000868/0.6693, allocations: 423.5 kB / 0.821 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.6711, allocations: 0.9485 MB / 0.8219 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6711, allocations: 0 / 0.8219 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.6722, allocations: 0.6434 MB / 0.8225 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.6734, allocations: 227.5 kB / 0.8228 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.6763, allocations: 1.574 MB / 0.8243 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.6769, allocations: 0.9356 MB / 0.8252 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001087/0.678, allocations: 0.6741 MB / 0.8259 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.6784, allocations: 135.8 kB / 0.826 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of SimCode: time 7.32e-07/0.6784, allocations: 0 / 0.826 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.02801/0.7064, allocations: 15.69 MB / 0.8413 GB, free: 9.621 MB / 0.6231 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches