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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] 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=1000,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=1000,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") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00778/0.00778, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.00208/0.00208, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7434/0.7434, allocations: 93.69 MB / 384.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 79.86 kB / 0.5204 GB, free: 5.789 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1479, allocations: 68.26 MB / 0.5871 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.553/0.701, allocations: 189.2 MB / 0.7719 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.7116, allocations: 7.356 MB / 0.779 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009067/0.7125, allocations: 31.81 kB / 0.7791 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.7138, allocations: 377.5 kB / 0.7794 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00463/0.7185, allocations: 1.315 MB / 0.7807 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.7208, allocations: 0.6578 MB / 0.7814 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004581/0.7254, allocations: 2.418 MB / 0.7837 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/0.7258, allocations: 211.7 kB / 0.7839 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/0.7292, allocations: 1.625 MB / 0.7855 GB, free: 7 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.7303, allocations: 0.5875 MB / 0.7861 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.7306, allocations: 56 kB / 0.7861 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.7339, allocations: 1.143 MB / 0.7873 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.7342, allocations: 155.3 kB / 0.7874 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006337/0.7348, allocations: 405.6 kB / 0.7878 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.7384, allocations: 1.495 MB / 0.7892 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.7384, allocations: 0 / 0.7892 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7385, allocations: 0 / 0.7892 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.533e-05/0.7385, allocations: 0 / 0.7892 GB, free: 3.16 MB / 0.6231 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.00376/0.7423, allocations: 1.406 MB / 0.7906 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.7423, allocations: 11.97 kB / 0.7906 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.7435, allocations: 171.3 kB / 0.7908 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.7449, allocations: 0.6709 MB / 0.7915 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.745, allocations: 40.94 kB / 0.7915 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.7451, allocations: 48 kB / 0.7915 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.7465, allocations: 0.5896 MB / 0.7921 GB, free: 100 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.7465, allocations: 7.984 kB / 0.7921 GB, free: 92 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.7466, allocations: 20 kB / 0.7921 GB, free: 72 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.7466, allocations: 12 kB / 0.7921 GB, free: 60 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.7479, allocations: 468.2 kB / 0.7926 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004347/0.7523, allocations: 2.673 MB / 0.7952 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.7535, allocations: 465.5 kB / 0.7957 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.7541, allocations: 241 kB / 0.7959 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003986/0.7545, allocations: 267.3 kB / 0.7961 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009225/0.7555, allocations: 398.3 kB / 0.7965 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=54): time 3.877e-06/0.7555, allocations: 0 / 0.7965 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=54): time 0.002956/0.7585, allocations: 1.049 MB / 0.7975 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.7585, allocations: 85.11 kB / 0.7976 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008013/0.7593, allocations: 0.5943 MB / 0.7982 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/0.7594, allocations: 37.7 kB / 0.7982 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.7598, allocations: 357.2 kB / 0.7986 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.76, allocations: 186.4 kB / 0.7988 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.7603, allocations: 138.2 kB / 0.7989 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.7604, allocations: 330 kB / 0.7992 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/0.761, allocations: 193 kB / 0.7994 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.7616, allocations: 270.6 kB / 0.7996 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.7629, allocations: 0.5042 MB / 0.8001 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7629, allocations: 0 / 0.8001 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001909/0.7648, allocations: 0.7831 MB / 0.8009 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.7649, allocations: 69.45 kB / 0.801 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.434e-05/0.7649, allocations: 15.98 kB / 0.801 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.7653, allocations: 81.78 kB / 0.8011 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.7658, allocations: 123.8 kB / 0.8012 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.7688, allocations: 3.059 MB / 0.8042 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/0.7694, allocations: 59.64 kB / 0.8042 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.7696, allocations: 71.91 kB / 0.8043 GB, free: 2.82 MB / 0.6387 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.0003869/0.77, allocations: 185.7 kB / 0.8045 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.7702, allocations: 87.42 kB / 0.8046 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.7732, allocations: 1.301 MB / 0.8058 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.7732, allocations: 8 kB / 0.8058 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7732, allocations: 4 kB / 0.8058 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.7733, allocations: 3.984 kB / 0.8058 GB, free: 1.211 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.7763, allocations: 1.587 MB / 0.8074 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-05/0.7764, allocations: 15.98 kB / 0.8074 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.7769, allocations: 107.9 kB / 0.8075 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003179/0.7772, allocations: 101.6 kB / 0.8076 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-05/0.7773, allocations: 35.97 kB / 0.8076 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/0.7801, allocations: 3.06 MB / 0.8106 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7801, allocations: 0 / 0.8106 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.7825, allocations: 1.139 MB / 0.8117 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.7829, allocations: 216.4 kB / 0.8119 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.7831, allocations: 23.98 kB / 0.812 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.7836, allocations: 31.97 kB / 0.812 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.7838, allocations: 83.89 kB / 0.8121 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.7839, allocations: 63.97 kB / 0.8121 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005802/0.7845, allocations: 423 kB / 0.8125 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7845, allocations: 0 / 0.8125 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00108/0.7856, allocations: 303.4 kB / 0.8128 GB, free: 9.656 MB / 0.6544 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.001067/0.7867, allocations: 426.1 kB / 0.8132 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002107/0.7888, allocations: 0.9711 MB / 0.8142 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.7888, allocations: 4.25 kB / 0.8142 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.79, allocations: 0.6721 MB / 0.8148 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.7913, allocations: 216.6 kB / 0.8151 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.7947, allocations: 1.579 MB / 0.8166 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.7953, allocations: 0.9348 MB / 0.8175 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001304/0.7966, allocations: 0.6795 MB / 0.8182 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/0.7971, allocations: 131.4 kB / 0.8183 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.7971, allocations: 0 / 0.8183 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of Templates: time 0.03153/0.8286, allocations: 15.57 MB / 0.8335 GB, free: 4.414 MB / 0.67 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches