Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001285/0.001285, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001347/0.001347, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9485/0.9485, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.6723/0.6723, allocations: 118.6 MB / 378.9 MB, free: 1.414 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.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_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_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 484.1 MB, free: 8.117 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.98e-05, allocations: 5.266 kB / 484.1 MB, free: 8.113 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.1285/0.1285, allocations: 144.6 MB / 0.6139 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003134/0.1316, allocations: 2.193 MB / 0.6161 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004344/0.132, allocations: 51.5 kB / 0.6161 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.1325, allocations: 202.2 kB / 0.6163 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.1347, allocations: 1.149 MB / 0.6174 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.1353, allocations: 398.9 kB / 0.6178 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002915/0.1383, allocations: 2.877 MB / 0.6206 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.1385, allocations: 144 kB / 0.6207 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/0.1408, allocations: 1.856 MB / 0.6226 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007012/0.1415, allocations: 0.6389 MB / 0.6232 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.1416, allocations: 76 kB / 0.6233 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008613/0.1424, allocations: 0.5928 MB / 0.6238 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.1426, allocations: 207 kB / 0.624 GB, free: 4.973 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003052/0.1429, allocations: 355.1 kB / 0.6244 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.1443, allocations: 1.273 MB / 0.6256 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1443, allocations: 0 / 0.6256 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.71e-07/0.1443, allocations: 0 / 0.6256 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.1443, allocations: 0 / 0.6256 GB, free: 3.348 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.002192/0.1465, allocations: 1.598 MB / 0.6272 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1465, allocations: 8.031 kB / 0.6272 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.1476, allocations: 339.5 kB / 0.6275 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009156/0.1485, allocations: 0.7271 MB / 0.6282 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.371e-05/0.1486, allocations: 100.7 kB / 0.6283 GB, free: 496 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.1487, allocations: 71.88 kB / 0.6284 GB, free: 424 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009976/0.1497, allocations: 0.6235 MB / 0.629 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.1497, allocations: 3.938 kB / 0.629 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.1498, allocations: 23.98 kB / 0.629 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.1498, allocations: 16 kB / 0.629 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.1503, allocations: 280.2 kB / 0.6293 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.1532, allocations: 2.664 MB / 0.6319 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.1538, allocations: 437.1 kB / 0.6323 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.1541, allocations: 140.1 kB / 0.6325 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003616/0.1544, allocations: 117.6 kB / 0.6326 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004549/0.1549, allocations: 365.3 kB / 0.6329 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=69): time 2.265e-06/0.1549, allocations: 0 / 0.6329 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69): time 0.001328/0.1562, allocations: 0.7392 MB / 0.6336 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1563, allocations: 89.05 kB / 0.6337 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000403/0.1567, allocations: 0.6552 MB / 0.6344 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.1567, allocations: 37.7 kB / 0.6344 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.1569, allocations: 475.5 kB / 0.6348 GB, free: 9.574 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.1571, allocations: 249.8 kB / 0.6351 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.1572, allocations: 180.2 kB / 0.6353 GB, free: 9.145 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00026/0.1575, allocations: 0.5042 MB / 0.6358 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.1577, allocations: 153.3 kB / 0.6359 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.1579, allocations: 305.7 kB / 0.6362 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.1583, allocations: 426.7 kB / 0.6366 GB, free: 7.633 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1583, allocations: 8 kB / 0.6366 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000769/0.159, allocations: 0.7415 MB / 0.6373 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.1591, allocations: 63.39 kB / 0.6374 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.1591, allocations: 8 kB / 0.6374 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.1593, allocations: 91.5 kB / 0.6375 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.1596, allocations: 171.8 kB / 0.6376 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.1611, allocations: 3.598 MB / 0.6412 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.1614, allocations: 75.59 kB / 0.6412 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.1615, allocations: 79.97 kB / 0.6413 GB, free: 2.52 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.0001862/0.1616, allocations: 204.4 kB / 0.6415 GB, free: 2.309 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.1618, allocations: 115.4 kB / 0.6416 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.1634, allocations: 1.432 MB / 0.643 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1634, allocations: 11.98 kB / 0.643 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1634, allocations: 0 / 0.643 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1634, allocations: 0 / 0.643 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2156/0.379, allocations: 1.351 MB / 0.6443 GB, free: 41.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/0.379, allocations: 11.33 kB / 0.6444 GB, free: 41.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.3793, allocations: 140.7 kB / 0.6445 GB, free: 41.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.3796, allocations: 94.59 kB / 0.6446 GB, free: 41.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-05/0.3796, allocations: 52.81 kB / 0.6446 GB, free: 41.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.3808, allocations: 3.585 MB / 0.6481 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3808, allocations: 1.594 kB / 0.6481 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.3819, allocations: 1.008 MB / 0.6491 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.3822, allocations: 168.3 kB / 0.6493 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.3822, allocations: 18.45 kB / 0.6493 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.3825, allocations: 40.86 kB / 0.6493 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.3827, allocations: 113.6 kB / 0.6494 GB, free: 37.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-05/0.3828, allocations: 74.55 kB / 0.6495 GB, free: 37.44 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003079/0.3831, allocations: 416.5 kB / 0.6499 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.3831, allocations: 1.656 kB / 0.6499 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008213/0.3839, allocations: 323.5 kB / 0.6502 GB, free: 37.3 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.0004051/0.3843, allocations: 261.6 kB / 0.6505 GB, free: 37.22 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008415/0.3852, allocations: 1.009 MB / 0.6515 GB, free: 36.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3852, allocations: 0.7812 kB / 0.6515 GB, free: 36.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004576/0.3856, allocations: 0.7083 MB / 0.6521 GB, free: 36.06 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000962/0.3866, allocations: 395.2 kB / 0.6525 GB, free: 36.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.3886, allocations: 1.558 MB / 0.654 GB, free: 35.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.96e-05/0.3887, allocations: 170.7 kB / 0.6542 GB, free: 35.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001017/0.3897, allocations: 0.9854 MB / 0.6552 GB, free: 35.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007187/0.3904, allocations: 494.9 kB / 0.6556 GB, free: 35.12 MB / 0.5573 GB Notification: Performance of SimCode: time 4.8e-07/0.3904, allocations: 0 / 0.6556 GB, free: 35.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.02382/0.4142, allocations: 20.51 MB / 0.6757 GB, free: 33.02 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.330059570260346]