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.001116/0.001116, allocations: 110.9 kB / 16.42 MB, free: 6.512 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.001079/0.001079, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.68/0.68, allocations: 91.18 MB / 382.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 75.88 kB / 0.5175 GB, free: 4.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.291, allocations: 67.68 MB / 0.5836 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.4681/0.7591, allocations: 189.2 MB / 0.7684 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006425/0.7656, allocations: 7.326 MB / 0.7755 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006854/0.7663, allocations: 31.12 kB / 0.7756 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008827/0.7672, allocations: 373 kB / 0.7759 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.7703, allocations: 1.294 MB / 0.7772 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.7718, allocations: 0.6683 MB / 0.7778 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002958/0.7748, allocations: 2.378 MB / 0.7801 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.7751, allocations: 205.9 kB / 0.7803 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.7775, allocations: 1.627 MB / 0.7819 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006533/0.7781, allocations: 0.5838 MB / 0.7825 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.7782, allocations: 55.78 kB / 0.7826 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.7806, allocations: 1.147 MB / 0.7837 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.7807, allocations: 155.4 kB / 0.7838 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.781, allocations: 405.5 kB / 0.7842 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.7829, allocations: 1.469 MB / 0.7856 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7829, allocations: 3.875 kB / 0.7856 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7829, allocations: 0 / 0.7856 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.783, allocations: 3.188 kB / 0.7857 GB, free: 0.8438 MB / 0.5762 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.002534/0.7855, allocations: 1.347 MB / 0.787 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.7855, allocations: 11.78 kB / 0.787 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009716/0.7865, allocations: 156.4 kB / 0.7871 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008959/0.7874, allocations: 0.6394 MB / 0.7878 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.7875, allocations: 40.66 kB / 0.7878 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.7876, allocations: 59.5 kB / 0.7878 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.7886, allocations: 0.5833 MB / 0.7884 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.7887, allocations: 5.844 kB / 0.7884 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.7887, allocations: 17.19 kB / 0.7884 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.7888, allocations: 14.56 kB / 0.7885 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.7898, allocations: 469.6 kB / 0.7889 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.7931, allocations: 2.667 MB / 0.7915 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.7941, allocations: 459.9 kB / 0.7919 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000506/0.7946, allocations: 252.8 kB / 0.7922 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.7949, allocations: 264.5 kB / 0.7924 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007057/0.7956, allocations: 389.7 kB / 0.7928 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=54): time 2.084e-06/0.7956, allocations: 3.188 kB / 0.7928 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54): time 0.002446/0.7981, allocations: 1.037 MB / 0.7938 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.7981, allocations: 83.17 kB / 0.7939 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/0.7987, allocations: 0.583 MB / 0.7945 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.701e-05/0.7988, allocations: 39.17 kB / 0.7945 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.799, allocations: 339.9 kB / 0.7948 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.7992, allocations: 176.8 kB / 0.795 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.7994, allocations: 136.2 kB / 0.7951 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7995, allocations: 382.5 kB / 0.7955 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.8, allocations: 195.2 kB / 0.7957 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005633/0.8006, allocations: 270.2 kB / 0.7959 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.8016, allocations: 0.5071 MB / 0.7964 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8016, allocations: 1.094 kB / 0.7964 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001526/0.8032, allocations: 0.7649 MB / 0.7972 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.8032, allocations: 67.31 kB / 0.7972 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/0.8033, allocations: 13.86 kB / 0.7973 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003257/0.8036, allocations: 80.42 kB / 0.7973 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.8041, allocations: 123.7 kB / 0.7975 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.8066, allocations: 3.064 MB / 0.8004 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.8072, allocations: 65.86 kB / 0.8005 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.8073, allocations: 66.44 kB / 0.8006 GB, free: 9.367 MB / 0.5919 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.0003321/0.8076, allocations: 191.2 kB / 0.8008 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.8078, allocations: 80.59 kB / 0.8008 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.8103, allocations: 1.301 MB / 0.8021 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.8104, allocations: 5.859 kB / 0.8021 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/0.8104, allocations: 17.5 kB / 0.8021 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.8107, allocations: 215.5 kB / 0.8023 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.8108, allocations: 14.94 kB / 0.8023 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/0.8113, allocations: 38.02 kB / 0.8024 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.8115, allocations: 86.55 kB / 0.8025 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001983/0.8135, allocations: 0.8682 MB / 0.8033 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002068/0.8155, allocations: 1.153 MB / 0.8044 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005713/0.8161, allocations: 275.4 kB / 0.8047 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004774/0.8166, allocations: 410.9 kB / 0.8051 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of Backend: time 7.01e-07/0.8166, allocations: 0 / 0.8051 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002976/0.8196, allocations: 1.358 MB / 0.8064 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002489/0.8221, allocations: 2.039 MB / 0.8084 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.0283/0.8504, allocations: 18.39 MB / 0.8264 GB, free: 8.488 MB / 0.6075 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches