Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001036/0.001036, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001689/0.002725, 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.001039/0.001039, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001474/0.002513, 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.081/1.081, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09852/1.179, 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-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.7123/0.7123, allocations: 118.8 MB / 362.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08081/0.7932, allocations: 35.85 MB / 398.8 MB, free: 13.2 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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.053e-06, allocations: 3.984 kB / 400.1 MB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/3.31e-05, allocations: 6.25 kB / 400.1 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.3707/0.3707, allocations: 132.9 MB / 0.5205 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004496/0.3752, allocations: 2.931 MB / 0.5234 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007671/0.376, allocations: 63.38 kB / 0.5234 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.3765, allocations: 223.3 kB / 0.5236 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.3777, allocations: 0.6942 MB / 0.5243 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.3788, allocations: 0.5256 MB / 0.5248 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001462/0.3803, allocations: 1.565 MB / 0.5263 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.3806, allocations: 211 kB / 0.5265 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.3818, allocations: 0.9796 MB / 0.5275 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006223/0.3824, allocations: 0.5648 MB / 0.5281 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.409e-05/0.3825, allocations: 76 kB / 0.5281 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007377/0.3832, allocations: 455.4 kB / 0.5286 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.3833, allocations: 167.1 kB / 0.5287 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.3836, allocations: 315.2 kB / 0.529 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.3847, allocations: 1.055 MB / 0.5301 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.3847, allocations: 0 / 0.5301 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3847, allocations: 3.938 kB / 0.5301 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.3847, allocations: 0 / 0.5301 GB, free: 5.281 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.001571/0.3863, allocations: 1.744 MB / 0.5318 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3863, allocations: 8.031 kB / 0.5318 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.3865, allocations: 160.6 kB / 0.5319 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009366/0.3874, allocations: 0.7491 MB / 0.5327 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.3875, allocations: 54.38 kB / 0.5327 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.3876, allocations: 72.38 kB / 0.5328 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.3881, allocations: 0.5183 MB / 0.5333 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3881, allocations: 4.375 kB / 0.5333 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.3881, allocations: 37.31 kB / 0.5333 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.3881, allocations: 16 kB / 0.5333 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002607/0.3884, allocations: 232.6 kB / 0.5336 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.3901, allocations: 1.534 MB / 0.5351 GB, free: 20 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.3906, allocations: 422.3 kB / 0.5355 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.3907, allocations: 118.3 kB / 0.5356 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007988/0.3915, allocations: 0.6124 MB / 0.5362 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3915, allocations: 39.06 kB / 0.5362 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=49): time 2.354e-06/0.3915, allocations: 0 / 0.5362 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.001558/0.3931, allocations: 0.9345 MB / 0.5371 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.3931, allocations: 59.91 kB / 0.5372 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.3936, allocations: 0.6599 MB / 0.5378 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.3936, allocations: 33.7 kB / 0.5378 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.3937, allocations: 366.3 kB / 0.5382 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-05/0.3938, allocations: 182.4 kB / 0.5384 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.3939, allocations: 90.09 kB / 0.5385 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.394, allocations: 321.9 kB / 0.5388 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.3941, allocations: 52.97 kB / 0.5388 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3942, allocations: 137.7 kB / 0.5389 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.3944, allocations: 241.4 kB / 0.5392 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3944, allocations: 4 kB / 0.5392 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004485/0.3948, allocations: 366.8 kB / 0.5395 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3949, allocations: 5.25 kB / 0.5395 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3949, allocations: 4 kB / 0.5395 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.3952, allocations: 117.8 kB / 0.5397 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.3954, allocations: 107.9 kB / 0.5398 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.3965, allocations: 1.494 MB / 0.5412 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.3967, allocations: 19.98 kB / 0.5412 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.3967, allocations: 15.94 kB / 0.5412 GB, free: 9.406 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.0001734/0.3969, allocations: 144.5 kB / 0.5414 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.397, allocations: 83.75 kB / 0.5415 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006122/0.3976, allocations: 0.539 MB / 0.542 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3976, allocations: 8.109 kB / 0.542 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3976, allocations: 3.938 kB / 0.542 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3976, allocations: 7.984 kB / 0.542 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.3986, allocations: 0.8026 MB / 0.5428 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3986, allocations: 4 kB / 0.5428 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.3988, allocations: 87.89 kB / 0.5429 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.3989, allocations: 95.31 kB / 0.543 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/0.3992, allocations: 128.7 kB / 0.5431 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.3992, allocations: 15.94 kB / 0.5431 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.4003, allocations: 1.5 MB / 0.5446 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4003, allocations: 4 kB / 0.5446 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005949/0.4009, allocations: 0.5597 MB / 0.5451 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.4009, allocations: 12 kB / 0.5451 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.4011, allocations: 15.98 kB / 0.5452 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.4011, allocations: 44.36 kB / 0.5452 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.4011, allocations: 12.8 kB / 0.5452 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002608/0.4014, allocations: 350.5 kB / 0.5455 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.4e-07/0.4014, allocations: 0 / 0.5455 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006244/0.402, allocations: 275.6 kB / 0.5458 GB, free: 4.531 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.0003632/0.4024, allocations: 211.9 kB / 0.546 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005904/0.403, allocations: 414.6 kB / 0.5464 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.533e-05/0.403, allocations: 12 kB / 0.5464 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.4034, allocations: 360.9 kB / 0.5468 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.4051, allocations: 2.459 MB / 0.5492 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.4167, allocations: 1.675 MB / 0.5508 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.4169, allocations: 183.5 kB / 0.551 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005642/0.4174, allocations: 142.3 kB / 0.5511 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.4178, allocations: 273.1 kB / 0.5514 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of SimCode: time 3.687e-06/0.4179, allocations: 0 / 0.5514 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of Templates: time 0.02276/0.4406, allocations: 16.13 MB / 0.5671 GB, free: 14.51 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.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.104653178714216]