Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.0008983/0.0008983, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007914/0.0007914, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8845/0.8845, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6324/0.6324, allocations: 116 MB / 376 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.167e-05, allocations: 6.281 kB / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.02384/0.02386, allocations: 36.24 MB / 0.5899 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.009331/0.03319, allocations: 12.25 MB / 0.6018 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008792/0.03407, allocations: 75.25 kB / 0.6019 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.03542, allocations: 0.9088 MB / 0.6028 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.0377, allocations: 1.506 MB / 0.6043 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.03958, allocations: 1.081 MB / 0.6053 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.04119, allocations: 2.204 MB / 0.6075 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.0415, allocations: 223.7 kB / 0.6077 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.04286, allocations: 1.422 MB / 0.6091 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.04337, allocations: 0.5645 MB / 0.6096 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.04347, allocations: 92 kB / 0.6097 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.04475, allocations: 0.7992 MB / 0.6105 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.04495, allocations: 342.4 kB / 0.6108 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.04528, allocations: 486.5 kB / 0.6113 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.04728, allocations: 2.169 MB / 0.6134 GB, free: 284 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.04728, allocations: 3.938 kB / 0.6134 GB, free: 280 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.04728, allocations: 0 / 0.6134 GB, free: 280 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.0473, allocations: 0 / 0.6134 GB, free: 280 kB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002124/0.04942, allocations: 2.1 MB / 0.6155 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.04946, allocations: 8.031 kB / 0.6155 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.04978, allocations: 226.8 kB / 0.6157 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.05112, allocations: 1.198 MB / 0.6169 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.05116, allocations: 58 kB / 0.6169 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/0.05124, allocations: 87.95 kB / 0.617 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/0.05213, allocations: 0.9419 MB / 0.6179 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.05215, allocations: 4 kB / 0.6179 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.05219, allocations: 32 kB / 0.6179 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.0522, allocations: 20 kB / 0.618 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008194/0.05302, allocations: 0.8003 MB / 0.6187 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.05546, allocations: 2.565 MB / 0.6213 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.05614, allocations: 0.5885 MB / 0.6218 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.05644, allocations: 286.7 kB / 0.6221 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.05777, allocations: 1.094 MB / 0.6232 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.0578, allocations: 39.22 kB / 0.6232 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=73): time 1.784e-06/0.0578, allocations: 0 / 0.6232 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.001411/0.05921, allocations: 1.053 MB / 0.6242 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.05924, allocations: 64.06 kB / 0.6243 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.06029, allocations: 1.37 MB / 0.6256 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.06032, allocations: 33.7 kB / 0.6257 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.06067, allocations: 0.6792 MB / 0.6263 GB, free: 2.766 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.06079, allocations: 265.7 kB / 0.6266 GB, free: 2.504 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.06091, allocations: 142.6 kB / 0.6267 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.061, allocations: 334 kB / 0.627 GB, free: 2.023 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.06124, allocations: 201.9 kB / 0.6272 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.06156, allocations: 394.8 kB / 0.6276 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/0.06215, allocations: 0.5587 MB / 0.6282 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.06215, allocations: 0 / 0.6282 GB, free: 0.7891 MB / 0.5417 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0009083/0.06306, allocations: 0.8453 MB / 0.629 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.06308, allocations: 4 kB / 0.629 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.06308, allocations: 7.938 kB / 0.629 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/0.06335, allocations: 113.9 kB / 0.6291 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.06363, allocations: 147.7 kB / 0.6292 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.0653, allocations: 2.936 MB / 0.6321 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.06556, allocations: 71.88 kB / 0.6322 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.0656, allocations: 28 kB / 0.6322 GB, free: 12.41 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003117/0.06591, allocations: 333.7 kB / 0.6325 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.06604, allocations: 166.9 kB / 0.6327 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.0672, allocations: 1.098 MB / 0.6337 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.06721, allocations: 11.98 kB / 0.6338 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.06721, allocations: 0 / 0.6338 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.06722, allocations: 0 / 0.6338 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.06885, allocations: 1.674 MB / 0.6354 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.06885, allocations: 7.984 kB / 0.6354 GB, free: 9.043 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.06906, allocations: 107.8 kB / 0.6355 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002006/0.06926, allocations: 113.7 kB / 0.6356 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.06929, allocations: 23.98 kB / 0.6356 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.07077, allocations: 2.943 MB / 0.6385 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.07077, allocations: 256 / 0.6385 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.07192, allocations: 1.165 MB / 0.6396 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.07221, allocations: 284.7 kB / 0.6399 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.07228, allocations: 16 kB / 0.6399 GB, free: 4.152 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.0725, allocations: 20 kB / 0.64 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.07258, allocations: 68.47 kB / 0.64 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.07261, allocations: 23.98 kB / 0.64 GB, free: 4.039 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007791/0.07339, allocations: 0.9554 MB / 0.641 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.07339, allocations: 0 / 0.641 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006984/0.07409, allocations: 415.2 kB / 0.6414 GB, free: 2.684 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000956/0.07504, allocations: 0.7472 MB / 0.6421 GB, free: 2.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008678/0.07591, allocations: 0.7798 MB / 0.6429 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.07591, allocations: 0 / 0.6429 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004368/0.07635, allocations: 0.533 MB / 0.6434 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.07748, allocations: 0.5014 MB / 0.6439 GB, free: 252 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2131/0.2906, allocations: 2.634 MB / 0.6464 GB, free: 93.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.2912, allocations: 0.6473 MB / 0.6471 GB, free: 93.71 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.2916, allocations: 135.8 kB / 0.6472 GB, free: 93.71 MB / 0.5573 GB Notification: Performance of SimCode: time 1.412e-06/0.2916, allocations: 0 / 0.6472 GB, free: 93.71 MB / 0.5573 GB Notification: Performance of Templates: time 0.03557/0.3271, allocations: 33.75 MB / 0.6802 GB, free: 78.91 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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: 8.859035096131265]