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.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.001295/0.001295, allocations: 93.06 kB / 19.65 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.001523/0.001523, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.071/1.071, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6789/0.6789, allocations: 118.6 MB / 378.6 MB, free: 1.465 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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 FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.734e-05, allocations: 4.984 kB / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.1472/0.1472, allocations: 146.6 MB / 0.6155 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003095/0.1503, allocations: 1.951 MB / 0.6174 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.1508, allocations: 55.44 kB / 0.6174 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004764/0.1513, allocations: 170.4 kB / 0.6176 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.1536, allocations: 1.021 MB / 0.6186 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006869/0.1543, allocations: 343.1 kB / 0.6189 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002814/0.1571, allocations: 2.55 MB / 0.6214 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.1574, allocations: 136.6 kB / 0.6215 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.1596, allocations: 1.7 MB / 0.6232 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005706/0.1602, allocations: 0.5299 MB / 0.6237 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.208e-05/0.1603, allocations: 56 kB / 0.6238 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008293/0.1611, allocations: 0.5616 MB / 0.6243 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.1612, allocations: 163.2 kB / 0.6245 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.1615, allocations: 295.2 kB / 0.6248 GB, free: 4.004 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.1626, allocations: 1.125 MB / 0.6259 GB, free: 2.875 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.1627, allocations: 4 kB / 0.6259 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.855e-06/0.1627, allocations: 0 / 0.6259 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.1627, allocations: 0 / 0.6259 GB, free: 2.871 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.001852/0.1645, allocations: 1.435 MB / 0.6273 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1646, allocations: 12.03 kB / 0.6273 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006851/0.1653, allocations: 275.8 kB / 0.6275 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/0.1661, allocations: 0.696 MB / 0.6282 GB, free: 376 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.1661, allocations: 37 kB / 0.6283 GB, free: 340 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/0.1662, allocations: 55.94 kB / 0.6283 GB, free: 284 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.1669, allocations: 0.4984 MB / 0.6288 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.1669, allocations: 3.953 kB / 0.6288 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.1669, allocations: 24 kB / 0.6288 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.167, allocations: 16 kB / 0.6288 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.1674, allocations: 241.7 kB / 0.6291 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.1698, allocations: 2.136 MB / 0.6312 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.1704, allocations: 368 kB / 0.6315 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.1706, allocations: 127.3 kB / 0.6316 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.1707, allocations: 35.97 kB / 0.6317 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003567/0.171, allocations: 299.8 kB / 0.6319 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=54): time 1.653e-06/0.171, allocations: 0 / 0.6319 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54): time 0.001127/0.1722, allocations: 0.6662 MB / 0.6326 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.1722, allocations: 93.03 kB / 0.6327 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.1727, allocations: 0.6518 MB / 0.6333 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.1728, allocations: 49.64 kB / 0.6334 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.173, allocations: 431.9 kB / 0.6338 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.1731, allocations: 190.3 kB / 0.634 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.1733, allocations: 147.9 kB / 0.6341 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1734, allocations: 0.4965 MB / 0.6346 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.1736, allocations: 152.6 kB / 0.6347 GB, free: 9.457 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.1738, allocations: 247.4 kB / 0.635 GB, free: 9.168 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.1743, allocations: 377.5 kB / 0.6353 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1743, allocations: 0 / 0.6353 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007806/0.175, allocations: 0.6745 MB / 0.636 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.1751, allocations: 59.41 kB / 0.636 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.1751, allocations: 20.17 kB / 0.6361 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/0.1754, allocations: 99.22 kB / 0.6362 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.176, allocations: 119.8 kB / 0.6363 GB, free: 7.727 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.1778, allocations: 3.641 MB / 0.6398 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.178, allocations: 63.61 kB / 0.6399 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.1781, allocations: 59.98 kB / 0.6399 GB, free: 3.715 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.0001766/0.1783, allocations: 192.6 kB / 0.6401 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.1784, allocations: 103.4 kB / 0.6402 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.1797, allocations: 1.113 MB / 0.6413 GB, free: 2.289 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1797, allocations: 8 kB / 0.6413 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1797, allocations: 0 / 0.6413 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1797, allocations: 7.922 kB / 0.6413 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.181, allocations: 1.299 MB / 0.6426 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.181, allocations: 16.05 kB / 0.6426 GB, free: 0.8984 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.1812, allocations: 107.9 kB / 0.6427 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/0.1815, allocations: 99.25 kB / 0.6428 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.1815, allocations: 39.97 kB / 0.6428 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3837/0.5652, allocations: 3.632 MB / 0.6464 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5652, allocations: 0.6875 kB / 0.6464 GB, free: 30.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.567, allocations: 0.9332 MB / 0.6473 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.5674, allocations: 155.9 kB / 0.6475 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.911e-05/0.5674, allocations: 13.52 kB / 0.6475 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.5677, allocations: 27.45 kB / 0.6475 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.568, allocations: 91.28 kB / 0.6476 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.5681, allocations: 64.61 kB / 0.6476 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000593/0.5687, allocations: 431.2 kB / 0.6481 GB, free: 29.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.5687, allocations: 0 / 0.6481 GB, free: 29.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001013/0.5697, allocations: 271.5 kB / 0.6483 GB, free: 29.7 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.0006313/0.5703, allocations: 258.1 kB / 0.6486 GB, free: 29.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.5717, allocations: 0.9549 MB / 0.6495 GB, free: 28.94 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5717, allocations: 0 / 0.6495 GB, free: 28.94 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006867/0.5724, allocations: 0.6664 MB / 0.6501 GB, free: 28.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.5736, allocations: 351.9 kB / 0.6505 GB, free: 28.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.5766, allocations: 1.413 MB / 0.6519 GB, free: 27.79 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.5767, allocations: 158.8 kB / 0.652 GB, free: 27.71 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001124/0.5779, allocations: 0.6771 MB / 0.6527 GB, free: 27.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.5781, allocations: 143 kB / 0.6528 GB, free: 27.65 MB / 0.5573 GB Notification: Performance of SimCode: time 1.853e-06/0.5782, allocations: 0 / 0.6528 GB, free: 27.65 MB / 0.5573 GB Notification: Performance of Templates: time 0.02994/0.6081, allocations: 16.03 MB / 0.6685 GB, free: 26.16 MB / 0.5573 GB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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: 5.273953231982887]