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.001067/0.001067, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001718/0.002784, 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.001075/0.001075, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001376/0.002451, 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 0.9877/0.9877, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08214/1.07, allocations: 53.67 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/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.6491/0.6491, allocations: 118.7 MB / 362.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05299/0.7021, allocations: 35.84 MB / 398.7 MB, free: 13.09 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.774e-06/1.774e-06, allocations: 0 / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.666e-05, allocations: 6.312 kB / 400 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.TanValve): time 0.3203/0.3203, allocations: 135.8 MB / 0.5233 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00505/0.3254, allocations: 3.777 MB / 0.527 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004883/0.3259, allocations: 71.38 kB / 0.527 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.3266, allocations: 361.1 kB / 0.5274 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.3283, allocations: 1.23 MB / 0.5286 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.3293, allocations: 0.6778 MB / 0.5293 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002117/0.3314, allocations: 2.808 MB / 0.532 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.3318, allocations: 306.2 kB / 0.5323 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.3333, allocations: 1.536 MB / 0.5338 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.3347, allocations: 1.228 MB / 0.535 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.3349, allocations: 144 kB / 0.5351 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007852/0.3357, allocations: 0.5306 MB / 0.5356 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.3359, allocations: 295 kB / 0.5359 GB, free: 15 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004983/0.3364, allocations: 0.5068 MB / 0.5364 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.3379, allocations: 1.518 MB / 0.5379 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.3379, allocations: 0 / 0.5379 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3379, allocations: 4 kB / 0.5379 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.3379, allocations: 0 / 0.5379 GB, free: 12.97 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.002608/0.3406, allocations: 2.34 MB / 0.5402 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.3406, allocations: 8.031 kB / 0.5402 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.341, allocations: 252.5 kB / 0.5404 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.3421, allocations: 0.8327 MB / 0.5413 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.3421, allocations: 94.72 kB / 0.5413 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/0.3424, allocations: 120.3 kB / 0.5415 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008872/0.3433, allocations: 0.9235 MB / 0.5424 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3433, allocations: 0 / 0.5424 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.3434, allocations: 59.94 kB / 0.5424 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.3434, allocations: 31.98 kB / 0.5424 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.3439, allocations: 499.5 kB / 0.5429 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.3467, allocations: 2.531 MB / 0.5454 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008196/0.3475, allocations: 0.7451 MB / 0.5461 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.3478, allocations: 261.9 kB / 0.5464 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/0.3495, allocations: 1.41 MB / 0.5478 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004299/0.3499, allocations: 432.6 kB / 0.5482 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=128): time 2.214e-06/0.3499, allocations: 0 / 0.5482 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.004481/0.3544, allocations: 2.617 MB / 0.5507 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.3544, allocations: 64.72 kB / 0.5508 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.3548, allocations: 0.6325 MB / 0.5514 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.3548, allocations: 49.7 kB / 0.5514 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.355, allocations: 431.2 kB / 0.5519 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.3552, allocations: 456 kB / 0.5523 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.3554, allocations: 186.9 kB / 0.5525 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.3554, allocations: 361.8 kB / 0.5528 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3556, allocations: 191 kB / 0.553 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.3559, allocations: 305.9 kB / 0.5533 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.3564, allocations: 0.5772 MB / 0.5539 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3564, allocations: 1.25 kB / 0.5539 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.000796/0.3572, allocations: 0.7835 MB / 0.5546 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.3572, allocations: 33.7 kB / 0.5547 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3572, allocations: 0 / 0.5547 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000267/0.3575, allocations: 119.6 kB / 0.5548 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/0.358, allocations: 279.7 kB / 0.555 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.3596, allocations: 1.9 MB / 0.5569 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.3598, allocations: 35.98 kB / 0.5569 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.3599, allocations: 35.98 kB / 0.557 GB, free: 8.953 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.0001907/0.3601, allocations: 168.5 kB / 0.5571 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.3603, allocations: 144.6 kB / 0.5573 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.3617, allocations: 1.384 MB / 0.5586 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.3617, allocations: 12 kB / 0.5586 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3617, allocations: 4 kB / 0.5586 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.3617, allocations: 7.922 kB / 0.5586 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.3634, allocations: 1.617 MB / 0.5602 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3634, allocations: 0 / 0.5602 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.3639, allocations: 259.7 kB / 0.5605 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.3641, allocations: 191 kB / 0.5606 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000233/0.3644, allocations: 130.5 kB / 0.5608 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.3644, allocations: 35.98 kB / 0.5608 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.3656, allocations: 1.789 MB / 0.5625 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3656, allocations: 0 / 0.5625 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.3667, allocations: 1.188 MB / 0.5637 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.3668, allocations: 28 kB / 0.5637 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.367, allocations: 31.98 kB / 0.5638 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3672, allocations: 101.1 kB / 0.5639 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.3672, allocations: 35.97 kB / 0.5639 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001987/0.3674, allocations: 324.7 kB / 0.5642 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3674, allocations: 3.938 kB / 0.5642 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005915/0.368, allocations: 451.6 kB / 0.5646 GB, free: 0.9414 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.0003013/0.3683, allocations: 248.3 kB / 0.5649 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000833/0.3691, allocations: 0.8955 MB / 0.5657 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.947e-05/0.3692, allocations: 20.64 kB / 0.5658 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.3697, allocations: 0.6723 MB / 0.5664 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.3713, allocations: 2.406 MB / 0.5688 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.3877, allocations: 2.426 MB / 0.5711 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.3878, allocations: 261.8 kB / 0.5714 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005828/0.3884, allocations: 284.2 kB / 0.5717 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007056/0.3891, allocations: 419 kB / 0.5721 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of SimCode: time 1.012e-06/0.3891, allocations: 0 / 0.5721 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of Templates: time 0.02789/0.417, allocations: 27.5 MB / 0.5989 GB, free: 13.78 MB / 0.573 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.13459362834692]