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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9979/0.9979, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6658/0.6658, allocations: 118.7 MB / 379.7 MB, free: 1.391 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.864e-06/1.864e-06, allocations: 0 / 484.8 MB, free: 8.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.675e-05, allocations: 6.25 kB / 484.8 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.1315/0.1315, allocations: 143.4 MB / 0.6136 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1336, allocations: 1.939 MB / 0.6155 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.1339, allocations: 55.5 kB / 0.6155 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.1342, allocations: 162.5 kB / 0.6157 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.1357, allocations: 1.029 MB / 0.6167 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.1361, allocations: 347.1 kB / 0.617 GB, free: 13 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002248/0.1384, allocations: 2.546 MB / 0.6195 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.1386, allocations: 140.5 kB / 0.6196 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.14, allocations: 1.731 MB / 0.6213 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.1405, allocations: 0.5299 MB / 0.6218 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.1405, allocations: 56 kB / 0.6219 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006352/0.1412, allocations: 0.5612 MB / 0.6224 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1413, allocations: 171.1 kB / 0.6226 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.1415, allocations: 295.2 kB / 0.6229 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0009667/0.1425, allocations: 1.117 MB / 0.624 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1425, allocations: 0 / 0.624 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.01e-07/0.1425, allocations: 0 / 0.624 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.1425, allocations: 0 / 0.624 GB, free: 5.836 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001802/0.1443, allocations: 1.45 MB / 0.6254 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.1443, allocations: 8.031 kB / 0.6254 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000668/0.145, allocations: 275.8 kB / 0.6256 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006818/0.1456, allocations: 0.6999 MB / 0.6263 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.1457, allocations: 37 kB / 0.6264 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/0.1457, allocations: 55.98 kB / 0.6264 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.1462, allocations: 470.2 kB / 0.6269 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.1463, allocations: 11.89 kB / 0.6269 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.1463, allocations: 20 kB / 0.6269 GB, free: 2.707 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1463, allocations: 12 kB / 0.6269 GB, free: 2.695 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.1466, allocations: 202.8 kB / 0.6271 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.1483, allocations: 2.042 MB / 0.6291 GB, free: 396 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.1487, allocations: 339.5 kB / 0.6294 GB, free: 36 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1489, allocations: 119.7 kB / 0.6295 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.018e-05/0.149, allocations: 31.98 kB / 0.6296 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.1493, allocations: 291.6 kB / 0.6298 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=54): time 1.893e-06/0.1493, allocations: 4 kB / 0.6298 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54): time 0.0009009/0.1502, allocations: 0.6074 MB / 0.6304 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1502, allocations: 89.09 kB / 0.6305 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.1508, allocations: 0.6397 MB / 0.6312 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.1509, allocations: 41.69 kB / 0.6312 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.1511, allocations: 435.7 kB / 0.6316 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.1512, allocations: 190.3 kB / 0.6318 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.1513, allocations: 151.9 kB / 0.6319 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1514, allocations: 0.5004 MB / 0.6324 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1516, allocations: 124.7 kB / 0.6325 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.1517, allocations: 239.3 kB / 0.6328 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.152, allocations: 341.4 kB / 0.6331 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.152, allocations: 4 kB / 0.6331 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006236/0.1526, allocations: 0.6316 MB / 0.6337 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.1527, allocations: 59.41 kB / 0.6338 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.1527, allocations: 15.98 kB / 0.6338 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.1529, allocations: 99.44 kB / 0.6339 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1532, allocations: 127.7 kB / 0.634 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.1545, allocations: 3.572 MB / 0.6375 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.1547, allocations: 67.59 kB / 0.6376 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.1548, allocations: 59.98 kB / 0.6376 GB, free: 7.152 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1,sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 54 * 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.0001645/0.155, allocations: 192.4 kB / 0.6378 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1551, allocations: 111.5 kB / 0.6379 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.1565, allocations: 1.074 MB / 0.639 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1565, allocations: 8 kB / 0.639 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1565, allocations: 4 kB / 0.639 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1565, allocations: 7.922 kB / 0.639 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.1576, allocations: 1.179 MB / 0.6401 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.1576, allocations: 11.98 kB / 0.6401 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1578, allocations: 111.9 kB / 0.6402 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/0.158, allocations: 95.2 kB / 0.6403 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/0.158, allocations: 35.97 kB / 0.6404 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.1593, allocations: 3.591 MB / 0.6439 GB, free: 432 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1593, allocations: 0 / 0.6439 GB, free: 432 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2405/0.3998, allocations: 0.8725 MB / 0.6447 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.4002, allocations: 148.3 kB / 0.6449 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.4003, allocations: 12.97 kB / 0.6449 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.4007, allocations: 28.94 kB / 0.6449 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.4009, allocations: 96.83 kB / 0.645 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.183e-05/0.401, allocations: 59.52 kB / 0.6451 GB, free: 40.81 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003954/0.4014, allocations: 410.3 kB / 0.6454 GB, free: 40.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4014, allocations: 4.094 kB / 0.6454 GB, free: 40.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009645/0.4023, allocations: 272.3 kB / 0.6457 GB, free: 40.67 MB / 0.5573 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 (52): * Single equations (assignments): 42 * 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.0005028/0.4028, allocations: 246.5 kB / 0.6459 GB, free: 40.58 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.4039, allocations: 0.9167 MB / 0.6468 GB, free: 39.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4039, allocations: 2.812 kB / 0.6468 GB, free: 39.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005634/0.4045, allocations: 0.6487 MB / 0.6475 GB, free: 39.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.4057, allocations: 347.9 kB / 0.6478 GB, free: 39.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.4082, allocations: 1.408 MB / 0.6492 GB, free: 38.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.4084, allocations: 159.3 kB / 0.6493 GB, free: 38.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001176/0.4095, allocations: 0.6767 MB / 0.65 GB, free: 38.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008644/0.4104, allocations: 441.7 kB / 0.6504 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of SimCode: time 1.192e-06/0.4104, allocations: 0 / 0.6504 GB, free: 38.59 MB / 0.5573 GB Notification: Performance of Templates: time 0.02747/0.4379, allocations: 18.13 MB / 0.6681 GB, free: 36.81 MB / 0.5573 GB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.358351211063564]