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.001271/0.001271, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.002905, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008119/0.0008119, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009187/0.001731, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.003/1.003, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08796/1.091, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6877/0.6877, allocations: 118.7 MB / 362.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06896/0.7567, allocations: 35.84 MB / 398.5 MB, free: 13.24 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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="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="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 2.334e-06/2.334e-06, allocations: 0 / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.317e-05, allocations: 2.312 kB / 399.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.3585/0.3585, allocations: 146 MB / 0.5329 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002971/0.3615, allocations: 2.012 MB / 0.5349 GB, free: 60 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003723/0.3618, allocations: 55.5 kB / 0.5349 GB, free: 4 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.3622, allocations: 160.5 kB / 0.5351 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.3641, allocations: 0.9953 MB / 0.5361 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.3647, allocations: 343 kB / 0.5364 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.367, allocations: 2.443 MB / 0.5388 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3672, allocations: 137.8 kB / 0.5389 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.3687, allocations: 1.72 MB / 0.5406 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.3692, allocations: 0.5104 MB / 0.5411 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.85e-05/0.3693, allocations: 56 kB / 0.5411 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007653/0.37, allocations: 0.6005 MB / 0.5417 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.973e-05/0.3701, allocations: 119.4 kB / 0.5418 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.3703, allocations: 243.4 kB / 0.5421 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.3714, allocations: 1.012 MB / 0.5431 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.841e-05/0.3715, allocations: 4 kB / 0.5431 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3715, allocations: 0 / 0.5431 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.355e-05/0.3715, allocations: 3.984 kB / 0.5431 GB, free: 7.66 MB / 0.5105 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.00208/0.3736, allocations: 1.594 MB / 0.5446 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3736, allocations: 12.03 kB / 0.5446 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008961/0.3745, allocations: 248.3 kB / 0.5449 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.3754, allocations: 0.6352 MB / 0.5455 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.3754, allocations: 40.94 kB / 0.5455 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.3755, allocations: 55.92 kB / 0.5456 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006031/0.3761, allocations: 456.1 kB / 0.546 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3761, allocations: 0 / 0.546 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/0.3762, allocations: 23.98 kB / 0.546 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.3762, allocations: 16 kB / 0.5461 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.3765, allocations: 180.4 kB / 0.5462 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.3785, allocations: 1.485 MB / 0.5477 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.3789, allocations: 285.6 kB / 0.5479 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.3791, allocations: 101.7 kB / 0.548 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.3793, allocations: 56.61 kB / 0.5481 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003608/0.3796, allocations: 268.3 kB / 0.5484 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=54): time 2.364e-06/0.3796, allocations: 4 kB / 0.5484 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54): time 0.0009064/0.3805, allocations: 452.9 kB / 0.5488 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.3806, allocations: 97.05 kB / 0.5489 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.381, allocations: 0.5786 MB / 0.5494 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.3811, allocations: 37.7 kB / 0.5495 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.3812, allocations: 275 kB / 0.5497 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.3814, allocations: 194.2 kB / 0.5499 GB, free: 376 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.3815, allocations: 118.3 kB / 0.55 GB, free: 252 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3816, allocations: 333.9 kB / 0.5504 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.3818, allocations: 121.9 kB / 0.5505 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.382, allocations: 204.7 kB / 0.5507 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.3823, allocations: 299 kB / 0.551 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3823, allocations: 3.938 kB / 0.551 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005875/0.3829, allocations: 473.6 kB / 0.5514 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.383, allocations: 67.58 kB / 0.5515 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.383, allocations: 11.98 kB / 0.5515 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.3833, allocations: 85.55 kB / 0.5516 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.3836, allocations: 143.9 kB / 0.5517 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.3851, allocations: 2.469 MB / 0.5541 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.3853, allocations: 55.66 kB / 0.5542 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/0.3854, allocations: 60.05 kB / 0.5542 GB, free: 11.64 MB / 0.5261 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 (sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1,sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2) * 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.0001683/0.3856, allocations: 148.5 kB / 0.5544 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.687e-05/0.3857, allocations: 63.94 kB / 0.5544 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.387, allocations: 0.941 MB / 0.5554 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.387, allocations: 9 kB / 0.5554 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.387, allocations: 0 / 0.5554 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.387, allocations: 11.97 kB / 0.5554 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3881, allocations: 0.8601 MB / 0.5562 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/0.3881, allocations: 15.98 kB / 0.5562 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.3885, allocations: 115.9 kB / 0.5563 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.3886, allocations: 119.3 kB / 0.5565 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.3889, allocations: 89.61 kB / 0.5565 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.3889, allocations: 29.03 kB / 0.5566 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.3903, allocations: 2.469 MB / 0.559 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3903, allocations: 4 kB / 0.559 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007286/0.391, allocations: 0.6093 MB / 0.5596 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.3911, allocations: 12 kB / 0.5596 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.3914, allocations: 35.91 kB / 0.5596 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.3915, allocations: 83.8 kB / 0.5597 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.992e-05/0.3916, allocations: 52.02 kB / 0.5597 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002565/0.3919, allocations: 288.5 kB / 0.56 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.3919, allocations: 0 / 0.56 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006491/0.3925, allocations: 271.6 kB / 0.5603 GB, free: 5.176 MB / 0.5261 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.0003988/0.3929, allocations: 242.4 kB / 0.5605 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007539/0.3937, allocations: 0.7846 MB / 0.5613 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/0.3937, allocations: 12 kB / 0.5613 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.3941, allocations: 0.5258 MB / 0.5618 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.3952, allocations: 425.8 kB / 0.5622 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.407, allocations: 1.352 MB / 0.5635 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.4071, allocations: 163.4 kB / 0.5637 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009798/0.4081, allocations: 0.6767 MB / 0.5643 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007798/0.4089, allocations: 385 kB / 0.5647 GB, free: 464 kB / 0.5261 GB Notification: Performance of SimCode: time 6.02e-07/0.4089, allocations: 0 / 0.5647 GB, free: 464 kB / 0.5261 GB Notification: Performance of Templates: time 0.02416/0.433, allocations: 18.12 MB / 0.5824 GB, free: 14.74 MB / 0.5573 GB " [Timeout remaining time 660] 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 -ignoreHideResult -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.204085070639849]