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.001517/0.001517, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001733/0.001733, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.7215/0.7215, allocations: 100.3 MB / 413.5 MB, free: 3.66 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: 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.002381/0.002381, allocations: 92.94 kB / 0.5645 GB, free: 35.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1075, allocations: 74.45 MB / 0.6372 GB, free: 7.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4291/0.5366, allocations: 165.5 MB / 0.7988 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.5479, allocations: 13.08 MB / 0.8116 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.5489, allocations: 53.81 kB / 0.8116 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.5503, allocations: 0.5883 MB / 0.8122 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.5524, allocations: 0.9007 MB / 0.8131 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.5542, allocations: 0.8269 MB / 0.8139 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.5557, allocations: 1.367 MB / 0.8152 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.556, allocations: 205.2 kB / 0.8154 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007586/0.5568, allocations: 0.5888 MB / 0.816 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007757/0.5576, allocations: 0.6743 MB / 0.8166 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.699e-05/0.5577, allocations: 76.38 kB / 0.8167 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.5602, allocations: 1.418 MB / 0.8181 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.5604, allocations: 197.7 kB / 0.8183 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004316/0.5608, allocations: 0.515 MB / 0.8188 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.563, allocations: 1.58 MB / 0.8203 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.563, allocations: 2.781 kB / 0.8203 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.563, allocations: 3.938 kB / 0.8203 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.563, allocations: 0 / 0.8203 GB, free: 10.41 MB / 0.5919 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.002245/0.5652, allocations: 1.398 MB / 0.8217 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.5652, allocations: 13.36 kB / 0.8217 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.5654, allocations: 126.7 kB / 0.8218 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.5666, allocations: 0.7018 MB / 0.8225 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.5666, allocations: 55.84 kB / 0.8226 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-05/0.5667, allocations: 75.64 kB / 0.8226 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.5678, allocations: 0.7399 MB / 0.8234 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5678, allocations: 4 kB / 0.8234 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.5678, allocations: 24.59 kB / 0.8234 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.5679, allocations: 15.56 kB / 0.8234 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009723/0.5688, allocations: 0.6479 MB / 0.824 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.5722, allocations: 3.061 MB / 0.827 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.5733, allocations: 0.5351 MB / 0.8276 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.5737, allocations: 239.7 kB / 0.8278 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/0.5753, allocations: 0.9843 MB / 0.8287 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.5753, allocations: 41.42 kB / 0.8288 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 1.754e-06/0.5753, allocations: 4 kB / 0.8288 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.002956/0.5783, allocations: 1.561 MB / 0.8303 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.5783, allocations: 64.33 kB / 0.8304 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007409/0.579, allocations: 0.6972 MB / 0.8311 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.5791, allocations: 35.61 kB / 0.8311 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.5794, allocations: 440 kB / 0.8315 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.5796, allocations: 210.7 kB / 0.8317 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.5797, allocations: 88.28 kB / 0.8318 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5798, allocations: 324.2 kB / 0.8321 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.5801, allocations: 168.9 kB / 0.8323 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.5805, allocations: 225.6 kB / 0.8325 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.5812, allocations: 433.7 kB / 0.8329 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5812, allocations: 0 / 0.8329 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001106/0.5823, allocations: 0.6421 MB / 0.8335 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5823, allocations: 5.375 kB / 0.8335 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.5823, allocations: 2.469 kB / 0.8335 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/0.5827, allocations: 119.1 kB / 0.8336 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.583, allocations: 99.06 kB / 0.8337 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.5851, allocations: 1.941 MB / 0.8356 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.5854, allocations: 20.58 kB / 0.8357 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.5855, allocations: 19.75 kB / 0.8357 GB, free: 14.93 MB / 0.6075 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.0002757/0.5857, allocations: 207.6 kB / 0.8359 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.5859, allocations: 95.45 kB / 0.836 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.5873, allocations: 0.8603 MB / 0.8368 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5873, allocations: 9.406 kB / 0.8368 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5873, allocations: 2.562 kB / 0.8368 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.5874, allocations: 3.984 kB / 0.8368 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.5895, allocations: 1.505 MB / 0.8383 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5896, allocations: 3.984 kB / 0.8383 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.5898, allocations: 87.98 kB / 0.8384 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/0.5902, allocations: 128.9 kB / 0.8385 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.5902, allocations: 19.48 kB / 0.8385 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.5922, allocations: 1.938 MB / 0.8404 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.5923, allocations: 10.94 kB / 0.8404 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.5937, allocations: 0.9785 MB / 0.8414 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.5939, allocations: 82.5 kB / 0.8415 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.594, allocations: 14.08 kB / 0.8415 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.5942, allocations: 15.28 kB / 0.8415 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.5943, allocations: 54.38 kB / 0.8415 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.5944, allocations: 24.27 kB / 0.8416 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005786/0.595, allocations: 0.506 MB / 0.8421 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.595, allocations: 0 / 0.8421 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007756/0.5957, allocations: 333.2 kB / 0.8424 GB, free: 10.17 MB / 0.6075 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.0006117/0.5964, allocations: 489.8 kB / 0.8428 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.5974, allocations: 0.5955 MB / 0.8434 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5974, allocations: 0 / 0.8434 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006694/0.5981, allocations: 417.9 kB / 0.8438 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5992, allocations: 274.1 kB / 0.8441 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.6016, allocations: 1.639 MB / 0.8457 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.6022, allocations: 1.001 MB / 0.8467 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.6023, allocations: 78.64 kB / 0.8467 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.6023, allocations: 0 / 0.8467 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.02399/0.6263, allocations: 19.19 MB / 0.8655 GB, free: 5.457 MB / 0.6231 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 9.418960135895759]