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.001017/0.001017, allocations: 92.22 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.001553/0.001553, allocations: 173 kB / 23.02 MB, free: 1.547 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.9075/0.9075, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6474/0.6474, allocations: 118.6 MB / 378.6 MB, free: 1.48 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 2.184e-06/2.184e-06, allocations: 0 / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.357e-05, allocations: 2.312 kB / 483.6 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.1354/0.1355, allocations: 147.8 MB / 0.6166 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003381/0.1388, allocations: 2.205 MB / 0.6188 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.1393, allocations: 51.5 kB / 0.6188 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.1398, allocations: 202.2 kB / 0.619 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.1419, allocations: 1.149 MB / 0.6201 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.1425, allocations: 402.9 kB / 0.6205 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002531/0.1451, allocations: 2.865 MB / 0.6233 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.1453, allocations: 144 kB / 0.6235 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.1473, allocations: 1.872 MB / 0.6253 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005407/0.1479, allocations: 0.6312 MB / 0.6259 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.202e-05/0.1479, allocations: 72 kB / 0.626 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000738/0.1487, allocations: 0.5928 MB / 0.6266 GB, free: 2.16 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.1488, allocations: 203 kB / 0.6267 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.1491, allocations: 359.1 kB / 0.6271 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1502, allocations: 1.273 MB / 0.6283 GB, free: 340 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1502, allocations: 0 / 0.6283 GB, free: 340 kB / 0.5417 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1502, allocations: 0 / 0.6283 GB, free: 340 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.1502, allocations: 0 / 0.6283 GB, free: 340 kB / 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.001811/0.152, allocations: 1.587 MB / 0.6299 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.152, allocations: 12.03 kB / 0.6299 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000753/0.1528, allocations: 335.5 kB / 0.6302 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007722/0.1535, allocations: 0.7349 MB / 0.6309 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.1536, allocations: 104.7 kB / 0.631 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/0.1537, allocations: 67.95 kB / 0.6311 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.1548, allocations: 0.6587 MB / 0.6317 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1548, allocations: 4 kB / 0.6317 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/0.1549, allocations: 24 kB / 0.6318 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.1549, allocations: 16 kB / 0.6318 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.1554, allocations: 340.6 kB / 0.6321 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.1578, allocations: 2.773 MB / 0.6348 GB, free: 9.461 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.1585, allocations: 464.3 kB / 0.6353 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.1587, allocations: 172 kB / 0.6354 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/0.159, allocations: 104.1 kB / 0.6355 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004263/0.1595, allocations: 378.1 kB / 0.6359 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=69): time 2.264e-06/0.1595, allocations: 0 / 0.6359 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69): time 0.001279/0.1608, allocations: 0.7942 MB / 0.6367 GB, free: 7.516 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1608, allocations: 89.09 kB / 0.6367 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.1613, allocations: 0.6752 MB / 0.6374 GB, free: 6.719 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.1613, allocations: 45.7 kB / 0.6374 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.1615, allocations: 463.6 kB / 0.6379 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.1617, allocations: 249.9 kB / 0.6381 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.1619, allocations: 172.2 kB / 0.6383 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000373/0.1622, allocations: 0.5043 MB / 0.6388 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.1625, allocations: 177.3 kB / 0.639 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.1628, allocations: 321.8 kB / 0.6393 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.1633, allocations: 474.7 kB / 0.6397 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1633, allocations: 4 kB / 0.6397 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009139/0.1642, allocations: 0.7924 MB / 0.6405 GB, free: 3.363 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.1643, allocations: 63.39 kB / 0.6405 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.1643, allocations: 15.94 kB / 0.6406 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000267/0.1645, allocations: 99.39 kB / 0.6407 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.1649, allocations: 171.8 kB / 0.6408 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2415/0.4063, allocations: 3.642 MB / 0.6444 GB, free: 37.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.4069, allocations: 79.41 kB / 0.6445 GB, free: 37.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.4071, allocations: 79.84 kB / 0.6445 GB, free: 37.56 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * 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.0002606/0.4073, allocations: 195.4 kB / 0.6447 GB, free: 37.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.4075, allocations: 117.9 kB / 0.6448 GB, free: 37.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.4095, allocations: 1.482 MB / 0.6463 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.4095, allocations: 8.406 kB / 0.6463 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4095, allocations: 1.688 kB / 0.6463 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4095, allocations: 4.062 kB / 0.6463 GB, free: 37.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.4112, allocations: 1.497 MB / 0.6478 GB, free: 36.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.4112, allocations: 11.05 kB / 0.6478 GB, free: 36.83 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.4115, allocations: 142.3 kB / 0.6479 GB, free: 36.83 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/0.4117, allocations: 97.2 kB / 0.648 GB, free: 36.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/0.4118, allocations: 37.83 kB / 0.648 GB, free: 36.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.4128, allocations: 3.648 MB / 0.6516 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4128, allocations: 2.031 kB / 0.6516 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.4139, allocations: 1.072 MB / 0.6526 GB, free: 32.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.4141, allocations: 166.5 kB / 0.6528 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.4142, allocations: 17.47 kB / 0.6528 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.4145, allocations: 37.92 kB / 0.6528 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.4146, allocations: 116.7 kB / 0.653 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.4147, allocations: 77.22 kB / 0.653 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002646/0.415, allocations: 446.5 kB / 0.6535 GB, free: 32.79 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.415, allocations: 1.031 kB / 0.6535 GB, free: 32.79 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006243/0.4156, allocations: 322.3 kB / 0.6538 GB, free: 32.78 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.0003621/0.416, allocations: 255.3 kB / 0.654 GB, free: 32.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000871/0.4168, allocations: 1.07 MB / 0.6551 GB, free: 32.01 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4168, allocations: 0 / 0.6551 GB, free: 32.01 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.4173, allocations: 0.7223 MB / 0.6558 GB, free: 31.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009316/0.4182, allocations: 392.2 kB / 0.6561 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.4201, allocations: 1.564 MB / 0.6577 GB, free: 30.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.95e-05/0.4202, allocations: 171.9 kB / 0.6578 GB, free: 30.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009768/0.4212, allocations: 0.9868 MB / 0.6588 GB, free: 30.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.4215, allocations: 191.2 kB / 0.659 GB, free: 30.57 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/0.4215, allocations: 0.8125 kB / 0.659 GB, free: 30.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.02261/0.4441, allocations: 20.19 MB / 0.6787 GB, free: 28.32 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.573642444331199]