Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.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.0007248/0.0007248, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.001858, 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.0006936/0.0006936, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008817/0.001575, 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 0.8887/0.8887, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07643/0.9651, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.6509/0.6509, allocations: 118.7 MB / 362.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05632/0.7072, allocations: 35.83 MB / 398.4 MB, free: 13.26 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.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.06e-05, allocations: 2.312 kB / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.TanValve): time 0.3278/0.3278, allocations: 135.8 MB / 0.523 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005653/0.3335, allocations: 3.785 MB / 0.5267 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008202/0.3343, allocations: 67.38 kB / 0.5268 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.335, allocations: 365 kB / 0.5271 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.3369, allocations: 1.226 MB / 0.5283 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.3382, allocations: 0.6817 MB / 0.529 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002362/0.3406, allocations: 2.804 MB / 0.5317 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.341, allocations: 318.1 kB / 0.532 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.3428, allocations: 1.528 MB / 0.5335 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.3439, allocations: 1.231 MB / 0.5347 GB, free: 220 kB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.344, allocations: 140 kB / 0.5348 GB, free: 80 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007006/0.3447, allocations: 0.5384 MB / 0.5354 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.3449, allocations: 287 kB / 0.5356 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.3453, allocations: 0.5107 MB / 0.5361 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.3465, allocations: 1.518 MB / 0.5376 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.3465, allocations: 4 kB / 0.5376 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3465, allocations: 0 / 0.5376 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.3465, allocations: 4 kB / 0.5376 GB, free: 13.21 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00231/0.3488, allocations: 2.34 MB / 0.5399 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.3488, allocations: 8.031 kB / 0.5399 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.3491, allocations: 244.5 kB / 0.5402 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000873/0.35, allocations: 0.8366 MB / 0.541 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.35, allocations: 86.78 kB / 0.5411 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.3501, allocations: 128.3 kB / 0.5412 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008401/0.351, allocations: 0.9274 MB / 0.5421 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.351, allocations: 4 kB / 0.5421 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.351, allocations: 51.94 kB / 0.5421 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.3511, allocations: 32 kB / 0.5422 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.3516, allocations: 495.5 kB / 0.5426 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.3543, allocations: 2.527 MB / 0.5451 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007615/0.3551, allocations: 0.7539 MB / 0.5458 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.3554, allocations: 264.5 kB / 0.5461 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001902/0.3573, allocations: 1.41 MB / 0.5475 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.3577, allocations: 424 kB / 0.5479 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=128): time 2.114e-06/0.3577, allocations: 0 / 0.5479 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.002144/0.3598, allocations: 1.759 MB / 0.5496 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.3599, allocations: 72.64 kB / 0.5497 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.3602, allocations: 0.6287 MB / 0.5503 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.3603, allocations: 49.64 kB / 0.5503 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.3604, allocations: 431.2 kB / 0.5507 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.3606, allocations: 448 kB / 0.5512 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.3608, allocations: 198.8 kB / 0.5514 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.3609, allocations: 357.8 kB / 0.5517 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.3611, allocations: 191.1 kB / 0.5519 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.3614, allocations: 298 kB / 0.5522 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.3619, allocations: 0.5816 MB / 0.5527 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3619, allocations: 0 / 0.5527 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001052/0.363, allocations: 0.7757 MB / 0.5535 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.363, allocations: 33.7 kB / 0.5535 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.363, allocations: 0 / 0.5535 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.3633, allocations: 116.9 kB / 0.5536 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.3638, allocations: 284.9 kB / 0.5539 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.3653, allocations: 1.901 MB / 0.5558 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.3656, allocations: 40.73 kB / 0.5558 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.3656, allocations: 39.91 kB / 0.5558 GB, free: 10.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,11,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.3658, allocations: 168.5 kB / 0.556 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.366, allocations: 143.7 kB / 0.5561 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.3674, allocations: 1.38 MB / 0.5575 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3674, allocations: 12 kB / 0.5575 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3674, allocations: 4 kB / 0.5575 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.3674, allocations: 11.91 kB / 0.5575 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.3692, allocations: 1.621 MB / 0.5591 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3692, allocations: 0 / 0.5591 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004896/0.3697, allocations: 263.6 kB / 0.5593 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.3699, allocations: 187 kB / 0.5595 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/0.3702, allocations: 126.7 kB / 0.5596 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.3702, allocations: 39.97 kB / 0.5597 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.3716, allocations: 1.783 MB / 0.5614 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3716, allocations: 0.625 kB / 0.5614 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3728, allocations: 1.177 MB / 0.5626 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.3729, allocations: 28 kB / 0.5626 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.3731, allocations: 35.97 kB / 0.5626 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.3732, allocations: 101.1 kB / 0.5627 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.3733, allocations: 35.97 kB / 0.5628 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002119/0.3735, allocations: 324.7 kB / 0.5631 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.3735, allocations: 0 / 0.5631 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006466/0.3741, allocations: 451.6 kB / 0.5635 GB, free: 2.074 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance1.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,11,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003312/0.3745, allocations: 255.6 kB / 0.5637 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008902/0.3754, allocations: 0.8904 MB / 0.5646 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-05/0.3754, allocations: 16.66 kB / 0.5646 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.3759, allocations: 0.5797 MB / 0.5652 GB, free: 284 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.377, allocations: 0.6236 MB / 0.5658 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.3942, allocations: 2.441 MB / 0.5682 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3944, allocations: 261.8 kB / 0.5684 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000671/0.3951, allocations: 280.2 kB / 0.5687 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/0.3958, allocations: 415.1 kB / 0.5691 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/0.3958, allocations: 0 / 0.5691 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of Templates: time 0.02973/0.4255, allocations: 27.59 MB / 0.596 GB, free: 1.117 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.TanValve_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.118646397255361]