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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.5991/0.5991, allocations: 90.3 MB / 394.8 MB, free: 3.84 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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_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_ThermofluidStream.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 79.88 kB / 0.5386 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3712, allocations: 70.83 MB / 0.6078 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.2271/0.5983, allocations: 190 MB / 0.7933 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009283/0.6076, allocations: 7.318 MB / 0.8005 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004609/0.608, allocations: 15.88 kB / 0.8005 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009522/0.609, allocations: 369.6 kB / 0.8009 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.6125, allocations: 1.261 MB / 0.8021 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.6143, allocations: 0.6695 MB / 0.8027 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003688/0.618, allocations: 2.259 MB / 0.805 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.6182, allocations: 115.3 kB / 0.8051 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.621, allocations: 1.567 MB / 0.8066 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008538/0.6218, allocations: 0.5722 MB / 0.8072 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.6219, allocations: 60 kB / 0.8072 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.6247, allocations: 1.163 MB / 0.8083 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.6249, allocations: 151.3 kB / 0.8085 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.6253, allocations: 362.1 kB / 0.8088 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.6278, allocations: 1.366 MB / 0.8102 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.6278, allocations: 0 / 0.8102 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6278, allocations: 3.938 kB / 0.8102 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.6278, allocations: 0 / 0.8102 GB, free: 11.43 MB / 0.6387 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.002809/0.6306, allocations: 1.267 MB / 0.8114 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.6307, allocations: 12.03 kB / 0.8114 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009717/0.6316, allocations: 143.5 kB / 0.8116 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.6323, allocations: 464.6 kB / 0.812 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.6324, allocations: 37 kB / 0.812 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.6325, allocations: 48 kB / 0.8121 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.6337, allocations: 0.6013 MB / 0.8127 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.6337, allocations: 0 / 0.8127 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/0.6338, allocations: 20 kB / 0.8127 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.6338, allocations: 12 kB / 0.8127 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.6349, allocations: 460.1 kB / 0.8131 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003837/0.6388, allocations: 2.638 MB / 0.8157 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.6399, allocations: 436.8 kB / 0.8161 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/0.6404, allocations: 214.5 kB / 0.8163 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003245/0.6408, allocations: 271.2 kB / 0.8166 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008349/0.6416, allocations: 394.4 kB / 0.817 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=54): time 2.445e-06/0.6416, allocations: 0 / 0.817 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of matching and sorting (n=54): time 0.002606/0.6442, allocations: 1.019 MB / 0.818 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.6443, allocations: 89.11 kB / 0.818 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.6448, allocations: 458 kB / 0.8185 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.982e-05/0.6449, allocations: 37.7 kB / 0.8185 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.6451, allocations: 285.3 kB / 0.8188 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.6453, allocations: 190.4 kB / 0.819 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.6456, allocations: 138.2 kB / 0.8191 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.6458, allocations: 378.6 kB / 0.8195 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.6463, allocations: 197 kB / 0.8197 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/0.6469, allocations: 274.6 kB / 0.8199 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.648, allocations: 0.5081 MB / 0.8204 GB, free: 312 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.648, allocations: 0 / 0.8204 GB, free: 312 kB / 0.6387 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001764/0.6498, allocations: 0.7561 MB / 0.8212 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.6498, allocations: 59.41 kB / 0.8212 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/0.6499, allocations: 11.98 kB / 0.8212 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/0.6502, allocations: 85.64 kB / 0.8213 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.6507, allocations: 127.9 kB / 0.8214 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.6534, allocations: 3.048 MB / 0.8244 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.654, allocations: 67.61 kB / 0.8245 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.6541, allocations: 63.97 kB / 0.8245 GB, free: 11.77 MB / 0.6544 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.0002904/0.6544, allocations: 181.7 kB / 0.8247 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.6545, allocations: 55.81 kB / 0.8248 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/0.6574, allocations: 1.301 MB / 0.826 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.6574, allocations: 8 kB / 0.826 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6574, allocations: 4 kB / 0.826 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.6574, allocations: 7.922 kB / 0.826 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/0.6603, allocations: 1.533 MB / 0.8275 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.263e-05/0.6603, allocations: 15.98 kB / 0.8276 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/0.6608, allocations: 115.9 kB / 0.8277 GB, free: 8.461 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000298/0.6611, allocations: 89.62 kB / 0.8277 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.895e-05/0.6612, allocations: 39.97 kB / 0.8278 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.6638, allocations: 3.055 MB / 0.8308 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6638, allocations: 3.938 kB / 0.8308 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.6662, allocations: 1.108 MB / 0.8319 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.6665, allocations: 212.5 kB / 0.8321 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6666, allocations: 19.94 kB / 0.8321 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.6671, allocations: 35.97 kB / 0.8321 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.6673, allocations: 95.81 kB / 0.8322 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.6675, allocations: 59.98 kB / 0.8323 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004189/0.6679, allocations: 318.9 kB / 0.8326 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6679, allocations: 0 / 0.8326 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001034/0.6689, allocations: 299.4 kB / 0.8329 GB, free: 2.816 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.0009042/0.6698, allocations: 422.6 kB / 0.8333 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001908/0.6717, allocations: 0.9516 MB / 0.8342 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6717, allocations: 0 / 0.8342 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.6729, allocations: 0.6529 MB / 0.8348 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.674, allocations: 219.4 kB / 0.835 GB, free: 480 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.677, allocations: 1.409 MB / 0.8364 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.6775, allocations: 0.8836 MB / 0.8373 GB, free: 14.11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001256/0.6788, allocations: 0.6593 MB / 0.8379 GB, free: 13.45 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.6792, allocations: 123.4 kB / 0.838 GB, free: 13.32 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.6792, allocations: 0 / 0.838 GB, free: 13.32 MB / 0.67 GB Notification: Performance of Templates: time 0.02765/0.7068, allocations: 15.54 MB / 0.8532 GB, free: 13.9 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile [Timeout 660] (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) [Timeout 1200] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.475853033363819]