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.0007512/0.0007512, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001087/0.001838, allocations: 440 kB / 10.41 MB, free: 284 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.0007096/0.0007096, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001782, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.146/1.146, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08601/1.232, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.6796/0.6796, allocations: 118.8 MB / 362.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06967/0.7492, allocations: 35.85 MB / 398.8 MB, free: 13.18 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-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="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="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 1.613e-06/1.613e-06, allocations: 0 / 400.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.178e-05, allocations: 2.312 kB / 400.1 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.3843/0.3843, allocations: 146 MB / 0.5332 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003423/0.3877, allocations: 2.013 MB / 0.5352 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006066/0.3883, allocations: 55.5 kB / 0.5353 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.3888, allocations: 174.5 kB / 0.5354 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.3911, allocations: 0.9921 MB / 0.5364 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008123/0.3919, allocations: 343 kB / 0.5367 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003043/0.395, allocations: 2.434 MB / 0.5391 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.3953, allocations: 141.8 kB / 0.5392 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.3978, allocations: 1.717 MB / 0.5409 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007595/0.3985, allocations: 0.5026 MB / 0.5414 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.3987, allocations: 56 kB / 0.5415 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.3998, allocations: 0.6005 MB / 0.542 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.4, allocations: 123.4 kB / 0.5422 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.4003, allocations: 243.4 kB / 0.5424 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.402, allocations: 1.02 MB / 0.5434 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.402, allocations: 0 / 0.5434 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.813e-06/0.402, allocations: 0 / 0.5434 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.446e-05/0.4021, allocations: 4 kB / 0.5434 GB, free: 7.562 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.002146/0.4042, allocations: 1.586 MB / 0.5449 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4043, allocations: 16.03 kB / 0.545 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007832/0.405, allocations: 252.3 kB / 0.5452 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009452/0.406, allocations: 0.6313 MB / 0.5458 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.406, allocations: 44.88 kB / 0.5459 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-05/0.4061, allocations: 52 kB / 0.5459 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.4066, allocations: 464 kB / 0.5463 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4066, allocations: 0 / 0.5463 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.4067, allocations: 19.94 kB / 0.5464 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.4067, allocations: 12 kB / 0.5464 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.4069, allocations: 180.5 kB / 0.5466 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.4092, allocations: 1.477 MB / 0.548 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.4096, allocations: 291.5 kB / 0.5483 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.4097, allocations: 101.7 kB / 0.5484 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.4099, allocations: 56.61 kB / 0.5484 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003477/0.4103, allocations: 277.2 kB / 0.5487 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=54): time 3.958e-06/0.4103, allocations: 0 / 0.5487 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54): time 0.000871/0.4112, allocations: 454.3 kB / 0.5491 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.4112, allocations: 89.05 kB / 0.5492 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.4117, allocations: 0.5787 MB / 0.5498 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.4117, allocations: 37.7 kB / 0.5498 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.4119, allocations: 271 kB / 0.5501 GB, free: 488 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.412, allocations: 198.2 kB / 0.5503 GB, free: 288 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003251/0.4123, allocations: 130.2 kB / 0.5504 GB, free: 152 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4124, allocations: 329.9 kB / 0.5507 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.4126, allocations: 116.7 kB / 0.5508 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.4127, allocations: 209.9 kB / 0.551 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.413, allocations: 294.8 kB / 0.5513 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.413, allocations: 0 / 0.5513 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005515/0.4136, allocations: 497.8 kB / 0.5518 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/0.4137, allocations: 63.39 kB / 0.5518 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.4137, allocations: 7.984 kB / 0.5518 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.414, allocations: 89.75 kB / 0.5519 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.4143, allocations: 143.8 kB / 0.552 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.4158, allocations: 2.461 MB / 0.5545 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.4162, allocations: 59.64 kB / 0.5545 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/0.4163, allocations: 57.05 kB / 0.5546 GB, free: 11.54 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.0002023/0.4165, allocations: 144.5 kB / 0.5547 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.984e-05/0.4166, allocations: 67.92 kB / 0.5548 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.4177, allocations: 0.9551 MB / 0.5557 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4177, allocations: 8 kB / 0.5557 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4177, allocations: 4 kB / 0.5557 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4177, allocations: 3.984 kB / 0.5557 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009811/0.4187, allocations: 0.8559 MB / 0.5566 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.4187, allocations: 11.98 kB / 0.5566 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.4189, allocations: 120.7 kB / 0.5567 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.4191, allocations: 119.3 kB / 0.5568 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002343/0.4194, allocations: 93.52 kB / 0.5569 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.4194, allocations: 27.98 kB / 0.5569 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.4209, allocations: 2.47 MB / 0.5593 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4209, allocations: 1.25 kB / 0.5593 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.4215, allocations: 0.6165 MB / 0.5599 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.4216, allocations: 16 kB / 0.5599 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.4218, allocations: 27.92 kB / 0.56 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.4219, allocations: 87.78 kB / 0.56 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/0.422, allocations: 47.98 kB / 0.5601 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002394/0.4222, allocations: 296.5 kB / 0.5604 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-08/0.4222, allocations: 0 / 0.5604 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007874/0.423, allocations: 267.6 kB / 0.5606 GB, free: 5.07 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.0005054/0.4235, allocations: 244 kB / 0.5609 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009514/0.4245, allocations: 0.7802 MB / 0.5616 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.385e-05/0.4245, allocations: 15.98 kB / 0.5616 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005311/0.425, allocations: 0.5619 MB / 0.5622 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.4271, allocations: 2.169 MB / 0.5643 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009132/0.4363, allocations: 1.346 MB / 0.5656 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.4364, allocations: 163.4 kB / 0.5658 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009285/0.4373, allocations: 0.6824 MB / 0.5664 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006964/0.438, allocations: 385 kB / 0.5668 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of SimCode: time 3.396e-06/0.438, allocations: 0 / 0.5668 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.02356/0.4616, allocations: 18.26 MB / 0.5846 GB, free: 12.25 MB / 0.5573 GB " [Timeout remaining time 660] 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.305710260756314]