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.001933/0.001933, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002551/0.002551, allocations: 218.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7702/0.7702, allocations: 94.54 MB / 407 MB, free: 9.176 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002613/0.002613, allocations: 92.34 kB / 0.5554 GB, free: 38.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1277, allocations: 73.04 MB / 0.6268 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.5183/0.6461, allocations: 165.5 MB / 0.7883 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01285/0.6589, allocations: 13.09 MB / 0.8011 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.6603, allocations: 55.78 kB / 0.8012 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.6621, allocations: 0.588 MB / 0.8018 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.6649, allocations: 0.9037 MB / 0.8026 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.6672, allocations: 0.8318 MB / 0.8035 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002099/0.6693, allocations: 1.367 MB / 0.8048 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004722/0.6698, allocations: 200.8 kB / 0.805 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.671, allocations: 0.5903 MB / 0.8056 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008737/0.6719, allocations: 0.674 MB / 0.8062 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.672, allocations: 74.91 kB / 0.8063 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003003/0.675, allocations: 1.417 MB / 0.8077 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.6752, allocations: 192.5 kB / 0.8079 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005838/0.6758, allocations: 0.5173 MB / 0.8084 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004685/0.6804, allocations: 1.584 MB / 0.8099 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.6805, allocations: 4 kB / 0.8099 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6805, allocations: 3.375 kB / 0.8099 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.893e-05/0.6805, allocations: 0 / 0.8099 GB, free: 0.7969 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003987/0.6845, allocations: 1.385 MB / 0.8113 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.6845, allocations: 10.28 kB / 0.8113 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.6849, allocations: 127.4 kB / 0.8114 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.6864, allocations: 0.7118 MB / 0.8121 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.6864, allocations: 56.56 kB / 0.8121 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.6865, allocations: 69.75 kB / 0.8122 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.6877, allocations: 0.7405 MB / 0.8129 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.6877, allocations: 0 / 0.8129 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.6877, allocations: 32.09 kB / 0.813 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.6877, allocations: 13.56 kB / 0.813 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.6888, allocations: 0.6487 MB / 0.8136 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.6928, allocations: 3.078 MB / 0.8166 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.694, allocations: 0.5324 MB / 0.8171 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.6944, allocations: 231.8 kB / 0.8174 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/0.6962, allocations: 0.9901 MB / 0.8183 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.6963, allocations: 38.06 kB / 0.8184 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 1.883e-06/0.6963, allocations: 3.938 kB / 0.8184 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.003463/0.6997, allocations: 1.561 MB / 0.8199 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.6998, allocations: 60.64 kB / 0.8199 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008971/0.7007, allocations: 0.6973 MB / 0.8206 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.7007, allocations: 35.98 kB / 0.8207 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.7011, allocations: 440.2 kB / 0.8211 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.7012, allocations: 207.3 kB / 0.8213 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.7014, allocations: 92.38 kB / 0.8214 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7015, allocations: 324.8 kB / 0.8217 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/0.7019, allocations: 164.9 kB / 0.8218 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.7023, allocations: 225.5 kB / 0.822 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007499/0.703, allocations: 434.3 kB / 0.8225 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.703, allocations: 0 / 0.8225 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001302/0.7043, allocations: 0.643 MB / 0.8231 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.7043, allocations: 5.375 kB / 0.8231 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7043, allocations: 6.625 kB / 0.8231 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.7048, allocations: 112.6 kB / 0.8232 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.7052, allocations: 98.75 kB / 0.8233 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.7075, allocations: 1.95 MB / 0.8252 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.708, allocations: 20.02 kB / 0.8252 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.708, allocations: 19.78 kB / 0.8252 GB, free: 7.379 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * 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.0003759/0.7084, allocations: 213.1 kB / 0.8254 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.7086, allocations: 95.55 kB / 0.8255 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.7102, allocations: 0.8604 MB / 0.8264 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.7102, allocations: 5.625 kB / 0.8264 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7102, allocations: 2.531 kB / 0.8264 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.7102, allocations: 3.984 kB / 0.8264 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.7128, allocations: 1.506 MB / 0.8279 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.7128, allocations: 2.688 kB / 0.8279 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.7131, allocations: 93.11 kB / 0.828 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000375/0.7135, allocations: 116.6 kB / 0.8281 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.7135, allocations: 19.89 kB / 0.8281 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.7158, allocations: 1.951 MB / 0.83 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7158, allocations: 2.641 kB / 0.83 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.7175, allocations: 0.9784 MB / 0.8309 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/0.7177, allocations: 85.81 kB / 0.831 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.7178, allocations: 21.64 kB / 0.8311 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.7181, allocations: 8.375 kB / 0.8311 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.7182, allocations: 50.81 kB / 0.8311 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.7183, allocations: 24.48 kB / 0.8311 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006567/0.7189, allocations: 0.5071 MB / 0.8316 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7189, allocations: 0 / 0.8316 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001004/0.7199, allocations: 335.1 kB / 0.8319 GB, free: 2.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0007778/0.7207, allocations: 482.6 kB / 0.8324 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.7221, allocations: 0.5899 MB / 0.833 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7221, allocations: 0 / 0.833 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007642/0.7228, allocations: 415.2 kB / 0.8334 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.7241, allocations: 285.3 kB / 0.8336 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.727, allocations: 1.611 MB / 0.8352 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008497/0.7278, allocations: 1.004 MB / 0.8362 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005528/0.7284, allocations: 143.7 kB / 0.8363 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.7286, allocations: 76.88 kB / 0.8364 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.7286, allocations: 0 / 0.8364 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.03274/0.7613, allocations: 17.04 MB / 0.8531 GB, free: 0.9297 MB / 0.6075 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.7850464871153235]