Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.0007925/0.0007925, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001845, 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.0007224/0.0007224, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000923/0.001645, 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0928/1.104, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.7223/0.7223, allocations: 118.6 MB / 362.6 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07431/0.7966, allocations: 35.84 MB / 398.4 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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.755e-05, allocations: 2.312 kB / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.3769/0.377, allocations: 132.9 MB / 0.5202 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005405/0.3824, allocations: 2.931 MB / 0.523 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.3838, allocations: 71.38 kB / 0.5231 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007761/0.3846, allocations: 227.7 kB / 0.5233 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.387, allocations: 0.6824 MB / 0.524 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.3885, allocations: 0.5256 MB / 0.5245 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001784/0.3903, allocations: 1.569 MB / 0.526 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004003/0.3907, allocations: 218.6 kB / 0.5262 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.3922, allocations: 0.9709 MB / 0.5272 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007198/0.3929, allocations: 0.5687 MB / 0.5277 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.393, allocations: 76 kB / 0.5278 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008299/0.3938, allocations: 451.5 kB / 0.5282 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3939, allocations: 155.2 kB / 0.5284 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.3942, allocations: 323.2 kB / 0.5287 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.3955, allocations: 1.062 MB / 0.5297 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.206e-05/0.3955, allocations: 3.938 kB / 0.5297 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3955, allocations: 0 / 0.5297 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.834e-05/0.3956, allocations: 0 / 0.5297 GB, free: 5.359 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001956/0.3975, allocations: 1.74 MB / 0.5314 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3975, allocations: 12.03 kB / 0.5314 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.3978, allocations: 160.6 kB / 0.5316 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000943/0.3987, allocations: 0.7518 MB / 0.5323 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.3988, allocations: 50.38 kB / 0.5324 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.3988, allocations: 72.38 kB / 0.5324 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.3994, allocations: 0.5261 MB / 0.533 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3994, allocations: 384 / 0.533 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.3994, allocations: 31.94 kB / 0.533 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3994, allocations: 16 kB / 0.533 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.3997, allocations: 232.6 kB / 0.5332 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.4016, allocations: 1.531 MB / 0.5347 GB, free: 104 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.4022, allocations: 429.7 kB / 0.5351 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.4023, allocations: 118.3 kB / 0.5352 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008183/0.4031, allocations: 0.6202 MB / 0.5358 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4031, allocations: 39.06 kB / 0.5359 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=49): time 1.703e-06/0.4031, allocations: 0 / 0.5359 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.001271/0.4044, allocations: 0.8331 MB / 0.5367 GB, free: 14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.4044, allocations: 55.91 kB / 0.5367 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004306/0.4049, allocations: 0.6594 MB / 0.5374 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.4049, allocations: 37.7 kB / 0.5374 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.405, allocations: 366.3 kB / 0.5378 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.4051, allocations: 182.4 kB / 0.5379 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.614e-05/0.4052, allocations: 90.09 kB / 0.538 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.4053, allocations: 325.9 kB / 0.5383 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.4054, allocations: 48.98 kB / 0.5384 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.4055, allocations: 141.1 kB / 0.5385 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.4057, allocations: 234 kB / 0.5388 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4057, allocations: 0 / 0.5388 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004317/0.4061, allocations: 362.8 kB / 0.5391 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4061, allocations: 8 kB / 0.5391 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4062, allocations: 0 / 0.5391 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/0.4065, allocations: 120.9 kB / 0.5392 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.4067, allocations: 102.1 kB / 0.5393 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.4077, allocations: 1.501 MB / 0.5408 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.4079, allocations: 15.98 kB / 0.5408 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.4079, allocations: 15.94 kB / 0.5408 GB, free: 9.586 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002452/0.4081, allocations: 144.5 kB / 0.541 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.4083, allocations: 83.84 kB / 0.541 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.4088, allocations: 0.5434 MB / 0.5416 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4088, allocations: 7.938 kB / 0.5416 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.4088, allocations: 4 kB / 0.5416 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4089, allocations: 3.984 kB / 0.5416 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009408/0.4098, allocations: 0.8095 MB / 0.5424 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.4098, allocations: 1 kB / 0.5424 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.41, allocations: 87.89 kB / 0.5425 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4101, allocations: 99.31 kB / 0.5425 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002695/0.4104, allocations: 128.8 kB / 0.5427 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.4104, allocations: 15.94 kB / 0.5427 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009252/0.4113, allocations: 1.5 MB / 0.5442 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4113, allocations: 4.031 kB / 0.5442 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/0.4119, allocations: 0.5553 MB / 0.5447 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.4119, allocations: 12 kB / 0.5447 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.4121, allocations: 16.55 kB / 0.5447 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.4122, allocations: 44.36 kB / 0.5448 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4122, allocations: 16.02 kB / 0.5448 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002649/0.4124, allocations: 346.5 kB / 0.5451 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.4124, allocations: 0 / 0.5451 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005691/0.413, allocations: 275.6 kB / 0.5454 GB, free: 4.711 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003966/0.4134, allocations: 211.9 kB / 0.5456 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005478/0.4139, allocations: 414.1 kB / 0.546 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.71e-05/0.414, allocations: 12 kB / 0.546 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.4143, allocations: 327.6 kB / 0.5463 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.415, allocations: 407.1 kB / 0.5467 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.4262, allocations: 1.685 MB / 0.5483 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.4264, allocations: 187.5 kB / 0.5485 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004927/0.4269, allocations: 134.4 kB / 0.5486 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.4273, allocations: 265.1 kB / 0.5489 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.974e-06/0.4273, allocations: 0 / 0.5489 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.02085/0.4481, allocations: 16.24 MB / 0.5647 GB, free: 1.18 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.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: 3.959719702601433]