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.001013/0.001013, allocations: 89.06 kB / 19.64 MB, free: 276 kB / 13.93 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.0009497/0.0009497, allocations: 173 kB / 23.02 MB, free: 1.543 MB / 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.9875/0.9875, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.662/0.662, allocations: 118.6 MB / 378.6 MB, free: 1.504 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.503e-06/1.503e-06, allocations: 0 / 483.6 MB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.623e-05, allocations: 3.656 kB / 483.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.1409/0.141, allocations: 146.7 MB / 0.6155 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.1437, allocations: 1.947 MB / 0.6174 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.1441, allocations: 51.5 kB / 0.6174 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.1445, allocations: 170.4 kB / 0.6176 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.1466, allocations: 1.029 MB / 0.6186 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.1472, allocations: 343.1 kB / 0.6189 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002724/0.1499, allocations: 2.546 MB / 0.6214 GB, free: 7.488 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1501, allocations: 132.6 kB / 0.6216 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.1517, allocations: 1.731 MB / 0.6232 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/0.1521, allocations: 0.5338 MB / 0.6238 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.1522, allocations: 56 kB / 0.6238 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007031/0.1529, allocations: 0.5577 MB / 0.6244 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.153, allocations: 167.2 kB / 0.6245 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.1532, allocations: 295.2 kB / 0.6248 GB, free: 4.012 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1543, allocations: 1.125 MB / 0.6259 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1543, allocations: 0 / 0.6259 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1543, allocations: 0 / 0.6259 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.1543, allocations: 0 / 0.6259 GB, free: 2.883 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.001594/0.1559, allocations: 1.439 MB / 0.6273 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1559, allocations: 12.03 kB / 0.6273 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006473/0.1566, allocations: 271.8 kB / 0.6276 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.1573, allocations: 0.7038 MB / 0.6283 GB, free: 380 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.1574, allocations: 37 kB / 0.6283 GB, free: 344 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.1574, allocations: 48 kB / 0.6283 GB, free: 296 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009227/0.1584, allocations: 0.5022 MB / 0.6288 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.1584, allocations: 7.953 kB / 0.6288 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.1584, allocations: 16 kB / 0.6289 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1584, allocations: 16 kB / 0.6289 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.1588, allocations: 245.7 kB / 0.6291 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.1608, allocations: 2.136 MB / 0.6312 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.1613, allocations: 366.5 kB / 0.6315 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.1615, allocations: 131.7 kB / 0.6317 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.1616, allocations: 35.97 kB / 0.6317 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/0.162, allocations: 299.8 kB / 0.632 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=54): time 1.834e-06/0.162, allocations: 0 / 0.632 GB, free: 12.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54): time 0.00111/0.1631, allocations: 0.6582 MB / 0.6326 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.1631, allocations: 93.09 kB / 0.6327 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005179/0.1637, allocations: 0.6518 MB / 0.6334 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.1637, allocations: 41.7 kB / 0.6334 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.1639, allocations: 435.9 kB / 0.6338 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.164, allocations: 194.3 kB / 0.634 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.1642, allocations: 147.9 kB / 0.6341 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1643, allocations: 0.4887 MB / 0.6346 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.1646, allocations: 156.6 kB / 0.6348 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.1648, allocations: 251.4 kB / 0.635 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/0.1657, allocations: 377.5 kB / 0.6354 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1657, allocations: 0 / 0.6354 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007742/0.1664, allocations: 0.6745 MB / 0.636 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.1665, allocations: 59.41 kB / 0.6361 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.1665, allocations: 20.17 kB / 0.6361 GB, free: 7.961 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.1668, allocations: 99.2 kB / 0.6362 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.1671, allocations: 123.9 kB / 0.6363 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.1689, allocations: 3.633 MB / 0.6399 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.1691, allocations: 63.55 kB / 0.6399 GB, free: 3.789 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-05/0.1692, allocations: 63.98 kB / 0.64 GB, free: 3.727 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 (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 (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.0001785/0.1693, allocations: 192.6 kB / 0.6402 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.1695, allocations: 103.4 kB / 0.6403 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.1708, allocations: 1.114 MB / 0.6414 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1708, allocations: 8 kB / 0.6414 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1708, allocations: 0 / 0.6414 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.1708, allocations: 7.922 kB / 0.6414 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.1724, allocations: 1.311 MB / 0.6427 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.1724, allocations: 11.98 kB / 0.6427 GB, free: 0.9023 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.1726, allocations: 103.9 kB / 0.6428 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.1728, allocations: 103.2 kB / 0.6429 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.1729, allocations: 40 kB / 0.6429 GB, free: 0.6523 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2911/0.464, allocations: 3.633 MB / 0.6464 GB, free: 30.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.464, allocations: 0.7812 kB / 0.6464 GB, free: 30.28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.4653, allocations: 0.928 MB / 0.6474 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.4656, allocations: 154.2 kB / 0.6475 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.612e-05/0.4657, allocations: 17.34 kB / 0.6475 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.4659, allocations: 25.25 kB / 0.6475 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.4661, allocations: 90.56 kB / 0.6476 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.71e-05/0.4662, allocations: 64.75 kB / 0.6477 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004758/0.4667, allocations: 433.6 kB / 0.6481 GB, free: 29.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.4667, allocations: 0 / 0.6481 GB, free: 29.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009165/0.4676, allocations: 270.8 kB / 0.6484 GB, free: 29.77 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.0005192/0.4681, allocations: 251.3 kB / 0.6486 GB, free: 29.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.4692, allocations: 0.9564 MB / 0.6495 GB, free: 29.02 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4692, allocations: 0 / 0.6495 GB, free: 29.02 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004996/0.4697, allocations: 0.6633 MB / 0.6502 GB, free: 28.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009467/0.4706, allocations: 357.5 kB / 0.6505 GB, free: 28.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.4729, allocations: 1.414 MB / 0.6519 GB, free: 27.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.473, allocations: 155.1 kB / 0.6521 GB, free: 27.79 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008555/0.4738, allocations: 0.6831 MB / 0.6527 GB, free: 27.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.4741, allocations: 142.4 kB / 0.6529 GB, free: 27.73 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/0.4741, allocations: 0.9062 kB / 0.6529 GB, free: 27.73 MB / 0.5573 GB Notification: Performance of Templates: time 0.02164/0.4957, allocations: 17.68 MB / 0.6701 GB, free: 25.9 MB / 0.5573 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=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.484779343940318]