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.001178/0.001178, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001026/0.001026, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9986/0.9986, allocations: 177.1 MB / 203.8 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.758/0.758, allocations: 118.7 MB / 378.9 MB, free: 1.328 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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="Time|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="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 430.8 MB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.756e-05, allocations: 5.266 kB / 430.9 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.3906/0.3907, allocations: 132.5 MB / 0.5502 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004423/0.3951, allocations: 2.915 MB / 0.553 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000791/0.3959, allocations: 63.38 kB / 0.5531 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.3965, allocations: 233.8 kB / 0.5533 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.3978, allocations: 0.6942 MB / 0.554 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.3992, allocations: 0.5296 MB / 0.5545 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002036/0.4012, allocations: 1.565 MB / 0.556 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.4016, allocations: 215 kB / 0.5562 GB, free: 476 kB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.4029, allocations: 0.857 MB / 0.5571 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007578/0.4036, allocations: 0.5726 MB / 0.5576 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.4037, allocations: 80 kB / 0.5577 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008321/0.4046, allocations: 451.4 kB / 0.5581 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.4047, allocations: 214.9 kB / 0.5583 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.405, allocations: 367 kB / 0.5587 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.4065, allocations: 1.136 MB / 0.5598 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4065, allocations: 4 kB / 0.5598 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4065, allocations: 4 kB / 0.5598 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.4065, allocations: 0 / 0.5598 GB, free: 12.79 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001656/0.4082, allocations: 1.404 MB / 0.5612 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4082, allocations: 8.031 kB / 0.5612 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.4085, allocations: 156.6 kB / 0.5613 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009738/0.4095, allocations: 0.7686 MB / 0.5621 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.4095, allocations: 50.38 kB / 0.5621 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.609e-05/0.4095, allocations: 72.38 kB / 0.5622 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.4101, allocations: 0.5144 MB / 0.5627 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.4101, allocations: 4.312 kB / 0.5627 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.4101, allocations: 35.94 kB / 0.5627 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.4101, allocations: 16 kB / 0.5628 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.4104, allocations: 236.6 kB / 0.563 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.4123, allocations: 1.518 MB / 0.5645 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.4128, allocations: 421.1 kB / 0.5649 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.413, allocations: 115.1 kB / 0.565 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008518/0.4138, allocations: 0.6093 MB / 0.5656 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.4138, allocations: 43.06 kB / 0.5656 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=49): time 1.793e-06/0.4138, allocations: 0 / 0.5656 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.001317/0.4152, allocations: 0.842 MB / 0.5664 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.4152, allocations: 67.78 kB / 0.5665 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.4156, allocations: 0.6496 MB / 0.5671 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4157, allocations: 37.7 kB / 0.5672 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.4158, allocations: 370.3 kB / 0.5675 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.694e-05/0.4159, allocations: 182.4 kB / 0.5677 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.416, allocations: 94.09 kB / 0.5678 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.918e-05/0.4161, allocations: 325.9 kB / 0.5681 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/0.4162, allocations: 44.98 kB / 0.5681 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.4163, allocations: 133.1 kB / 0.5683 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.4165, allocations: 238 kB / 0.5685 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4165, allocations: 0 / 0.5685 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004746/0.417, allocations: 362.9 kB / 0.5688 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.417, allocations: 8 kB / 0.5689 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.417, allocations: 4 kB / 0.5689 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.4173, allocations: 108.9 kB / 0.569 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.4175, allocations: 93.39 kB / 0.5691 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.4186, allocations: 1.505 MB / 0.5705 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.4188, allocations: 12.03 kB / 0.5705 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.4188, allocations: 23.92 kB / 0.5706 GB, free: 1.395 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.0001406/0.419, allocations: 136.5 kB / 0.5707 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.4191, allocations: 81.73 kB / 0.5708 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000593/0.4197, allocations: 0.5379 MB / 0.5713 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4197, allocations: 4 kB / 0.5713 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4197, allocations: 4 kB / 0.5713 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4197, allocations: 0 / 0.5713 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/0.4206, allocations: 0.8211 MB / 0.5721 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4206, allocations: 0 / 0.5721 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.4208, allocations: 79.89 kB / 0.5722 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.4211, allocations: 128.7 kB / 0.5723 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.4211, allocations: 15.98 kB / 0.5723 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.4221, allocations: 1.502 MB / 0.5738 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.4221, allocations: 112 / 0.5738 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007869/0.4229, allocations: 0.5514 MB / 0.5743 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.4231, allocations: 99.36 kB / 0.5744 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.32e-05/0.4232, allocations: 20.98 kB / 0.5744 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.4234, allocations: 12 kB / 0.5744 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.4235, allocations: 44.36 kB / 0.5745 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.4236, allocations: 15.98 kB / 0.5745 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000421/0.424, allocations: 349.7 kB / 0.5748 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.424, allocations: 0 / 0.5748 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008708/0.4249, allocations: 267.6 kB / 0.5751 GB, free: 12.55 MB / 0.5261 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.0004519/0.4253, allocations: 228.9 kB / 0.5753 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007254/0.426, allocations: 406.6 kB / 0.5757 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/0.4261, allocations: 8 kB / 0.5757 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.4265, allocations: 318.9 kB / 0.576 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.4277, allocations: 343.7 kB / 0.5763 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.431, allocations: 1.632 MB / 0.5779 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.4312, allocations: 175.5 kB / 0.5781 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005194/0.4318, allocations: 134.3 kB / 0.5782 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006304/0.4324, allocations: 269.1 kB / 0.5785 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of SimCode: time 1.924e-06/0.4324, allocations: 0 / 0.5785 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of Templates: time 0.02176/0.4542, allocations: 15.74 MB / 0.5939 GB, free: 9.641 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.246154951862991]