Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.001296/0.001296, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001421/0.001421, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9242/0.9242, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.7141/0.7141, allocations: 118.6 MB / 378.9 MB, free: 1.355 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.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 484 MB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.186e-05, allocations: 4.5 kB / 484.1 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.1484/0.1484, allocations: 144.6 MB / 0.6139 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.1508, allocations: 2.201 MB / 0.616 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003526/0.1512, allocations: 55.5 kB / 0.6161 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.1516, allocations: 206.2 kB / 0.6163 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.1532, allocations: 1.138 MB / 0.6174 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.1537, allocations: 402.9 kB / 0.6178 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00244/0.1561, allocations: 2.869 MB / 0.6206 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.1563, allocations: 148 kB / 0.6207 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.1579, allocations: 1.868 MB / 0.6226 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005299/0.1584, allocations: 0.6273 MB / 0.6232 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-05/0.1585, allocations: 76 kB / 0.6232 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/0.1592, allocations: 0.5966 MB / 0.6238 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1593, allocations: 203 kB / 0.624 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.1595, allocations: 359.1 kB / 0.6244 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.1609, allocations: 1.265 MB / 0.6256 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1609, allocations: 4 kB / 0.6256 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1609, allocations: 0 / 0.6256 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.1609, allocations: 0 / 0.6256 GB, free: 3.336 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.001686/0.1626, allocations: 1.602 MB / 0.6272 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1626, allocations: 8.031 kB / 0.6272 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007198/0.1633, allocations: 339.5 kB / 0.6275 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.164, allocations: 0.731 MB / 0.6282 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.1641, allocations: 100.7 kB / 0.6283 GB, free: 476 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.1642, allocations: 71.94 kB / 0.6284 GB, free: 404 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.1648, allocations: 0.6196 MB / 0.629 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1648, allocations: 0 / 0.629 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.1649, allocations: 27.92 kB / 0.629 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1649, allocations: 16 kB / 0.629 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.1652, allocations: 284.2 kB / 0.6293 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.1674, allocations: 2.668 MB / 0.6319 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008168/0.1682, allocations: 427.3 kB / 0.6323 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1684, allocations: 148 kB / 0.6324 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.1687, allocations: 133 kB / 0.6326 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003328/0.169, allocations: 346.2 kB / 0.6329 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=69): time 2.014e-06/0.169, allocations: 0 / 0.6329 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69): time 0.001035/0.17, allocations: 0.7356 MB / 0.6336 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1701, allocations: 93.03 kB / 0.6337 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.1705, allocations: 0.6591 MB / 0.6344 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.1705, allocations: 41.7 kB / 0.6344 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.1707, allocations: 471.5 kB / 0.6348 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1709, allocations: 249.8 kB / 0.6351 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.171, allocations: 176.2 kB / 0.6353 GB, free: 9.125 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1711, allocations: 0.5004 MB / 0.6357 GB, free: 8.617 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1713, allocations: 161.3 kB / 0.6359 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.1715, allocations: 301.8 kB / 0.6362 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.1719, allocations: 430.7 kB / 0.6366 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1719, allocations: 7.938 kB / 0.6366 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000744/0.1727, allocations: 0.7337 MB / 0.6373 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.1727, allocations: 63.39 kB / 0.6374 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.1727, allocations: 15.88 kB / 0.6374 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.1729, allocations: 95.48 kB / 0.6375 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.1732, allocations: 171.8 kB / 0.6376 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.1749, allocations: 3.59 MB / 0.6412 GB, free: 2.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.1752, allocations: 71.59 kB / 0.6412 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-05/0.1753, allocations: 79.97 kB / 0.6413 GB, free: 2.504 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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.0001818/0.1754, allocations: 205.7 kB / 0.6415 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.1755, allocations: 115.5 kB / 0.6416 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.177, allocations: 1.44 MB / 0.643 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.177, allocations: 8 kB / 0.643 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1771, allocations: 3.984 kB / 0.643 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1771, allocations: 0 / 0.643 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2236/0.4007, allocations: 1.344 MB / 0.6443 GB, free: 34.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/0.4007, allocations: 10.91 kB / 0.6443 GB, free: 34.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.401, allocations: 144.9 kB / 0.6445 GB, free: 34.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/0.4013, allocations: 104.9 kB / 0.6446 GB, free: 34.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.4013, allocations: 44.69 kB / 0.6446 GB, free: 34.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.4025, allocations: 3.592 MB / 0.6481 GB, free: 31.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4025, allocations: 1.719 kB / 0.6481 GB, free: 31.44 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.4037, allocations: 0.9965 MB / 0.6491 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.4039, allocations: 170.8 kB / 0.6493 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.404, allocations: 17.47 kB / 0.6493 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.4043, allocations: 44.16 kB / 0.6493 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.4045, allocations: 110.9 kB / 0.6494 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.153e-05/0.4046, allocations: 69.03 kB / 0.6495 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003043/0.4049, allocations: 418.9 kB / 0.6499 GB, free: 30.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4049, allocations: 0 / 0.6499 GB, free: 30.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007807/0.4056, allocations: 320.6 kB / 0.6502 GB, free: 30.91 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * 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.0003804/0.406, allocations: 263.8 kB / 0.6505 GB, free: 30.83 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000823/0.4068, allocations: 1.014 MB / 0.6514 GB, free: 30.15 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4068, allocations: 0.875 kB / 0.6514 GB, free: 30.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.4073, allocations: 0.7042 MB / 0.6521 GB, free: 29.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009579/0.4082, allocations: 387.8 kB / 0.6525 GB, free: 29.65 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.4101, allocations: 1.567 MB / 0.654 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.203e-05/0.4102, allocations: 170.5 kB / 0.6542 GB, free: 28.83 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009644/0.4111, allocations: 0.9847 MB / 0.6552 GB, free: 28.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000723/0.4118, allocations: 495 kB / 0.6556 GB, free: 28.71 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/0.4118, allocations: 0 / 0.6556 GB, free: 28.71 MB / 0.5573 GB Notification: Performance of Templates: time 0.02237/0.4342, allocations: 20.51 MB / 0.6757 GB, free: 26.6 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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.4269036701880395]