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.00156/0.00156, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001685/0.001685, allocations: 157.6 kB / 23 MB, free: 4.605 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.354/1.354, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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.7254/0.7254, allocations: 79.62 MB / 339.4 MB, free: 10.98 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.002475/0.002475, allocations: 93.42 kB / 0.4924 GB, free: 25.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1121, allocations: 74.57 MB / 0.5652 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.452/0.5641, allocations: 143 MB / 0.7048 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.576, allocations: 11.88 MB / 0.7164 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008537/0.5768, allocations: 57.31 kB / 0.7165 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.5782, allocations: 0.5079 MB / 0.7169 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.5804, allocations: 0.8879 MB / 0.7178 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.5826, allocations: 0.8033 MB / 0.7186 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00228/0.5849, allocations: 1.371 MB / 0.7199 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.5853, allocations: 194.3 kB / 0.7201 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.5865, allocations: 0.5879 MB / 0.7207 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008569/0.5873, allocations: 0.6247 MB / 0.7213 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.5875, allocations: 75.31 kB / 0.7214 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.5901, allocations: 1.219 MB / 0.7226 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.5903, allocations: 194.6 kB / 0.7228 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.5908, allocations: 431.5 kB / 0.7232 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.593, allocations: 1.566 MB / 0.7247 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.593, allocations: 2.781 kB / 0.7247 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.593, allocations: 0 / 0.7247 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.593, allocations: 0 / 0.7247 GB, free: 3.078 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.002172/0.5952, allocations: 1.394 MB / 0.7261 GB, free: 18.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.5952, allocations: 11.19 kB / 0.7261 GB, free: 18.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.5955, allocations: 140.3 kB / 0.7262 GB, free: 18.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.5965, allocations: 0.7063 MB / 0.7269 GB, free: 17.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.5966, allocations: 54.09 kB / 0.7269 GB, free: 17.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/0.5967, allocations: 65.09 kB / 0.727 GB, free: 17.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.5977, allocations: 0.7448 MB / 0.7277 GB, free: 17.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5977, allocations: 0 / 0.7277 GB, free: 17.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.5978, allocations: 30.62 kB / 0.7278 GB, free: 17.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.5978, allocations: 17.41 kB / 0.7278 GB, free: 17.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009003/0.5987, allocations: 0.6475 MB / 0.7284 GB, free: 17.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.6012, allocations: 1.741 MB / 0.7301 GB, free: 17.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.6023, allocations: 0.5336 MB / 0.7306 GB, free: 17.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.6026, allocations: 227.9 kB / 0.7309 GB, free: 17.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/0.6042, allocations: 0.901 MB / 0.7317 GB, free: 17.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.6042, allocations: 37.41 kB / 0.7318 GB, free: 17.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=55): time 2.184e-06/0.6042, allocations: 3.312 kB / 0.7318 GB, free: 17.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56): time 0.003066/0.6073, allocations: 1.561 MB / 0.7333 GB, free: 16.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.6073, allocations: 57.44 kB / 0.7333 GB, free: 16.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.6079, allocations: 0.6503 MB / 0.734 GB, free: 16.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.608, allocations: 35.8 kB / 0.734 GB, free: 16.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.6082, allocations: 459.8 kB / 0.7345 GB, free: 16.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/0.6083, allocations: 203.1 kB / 0.7347 GB, free: 16.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.6084, allocations: 89.25 kB / 0.7347 GB, free: 16.15 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6085, allocations: 324.4 kB / 0.735 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.6088, allocations: 167.8 kB / 0.7352 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.6091, allocations: 230.3 kB / 0.7354 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.6098, allocations: 426.7 kB / 0.7358 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6098, allocations: 0 / 0.7358 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001103/0.6109, allocations: 0.6514 MB / 0.7365 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.6109, allocations: 6.25 kB / 0.7365 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6109, allocations: 4.875 kB / 0.7365 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000379/0.6113, allocations: 110.7 kB / 0.7366 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.6116, allocations: 97.83 kB / 0.7367 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.6135, allocations: 1.894 MB / 0.7385 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.6138, allocations: 19.34 kB / 0.7385 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.6139, allocations: 23.84 kB / 0.7386 GB, free: 14.41 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.0002809/0.6141, allocations: 207 kB / 0.7388 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.6143, allocations: 91.7 kB / 0.7389 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.6157, allocations: 0.8678 MB / 0.7397 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.6157, allocations: 5.969 kB / 0.7397 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6157, allocations: 2.062 kB / 0.7397 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.6157, allocations: 3.844 kB / 0.7397 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.6176, allocations: 1.328 MB / 0.741 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6176, allocations: 3.125 kB / 0.741 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.6179, allocations: 98.47 kB / 0.7411 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000321/0.6183, allocations: 114.9 kB / 0.7412 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.6183, allocations: 17.41 kB / 0.7412 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.6203, allocations: 1.902 MB / 0.7431 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6203, allocations: 0.9375 kB / 0.7431 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.6218, allocations: 0.9794 MB / 0.744 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.6219, allocations: 78.97 kB / 0.7441 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.622, allocations: 15.44 kB / 0.7441 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.6223, allocations: 19.69 kB / 0.7442 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/0.6224, allocations: 45.86 kB / 0.7442 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.6224, allocations: 21.8 kB / 0.7442 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005163/0.6229, allocations: 484.2 kB / 0.7447 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6229, allocations: 0 / 0.7447 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008455/0.6238, allocations: 332.2 kB / 0.745 GB, free: 12.15 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.0006991/0.6245, allocations: 495 kB / 0.7455 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.6255, allocations: 0.594 MB / 0.7461 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6256, allocations: 3.938 kB / 0.7461 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006496/0.6262, allocations: 415.4 kB / 0.7465 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.6272, allocations: 242.1 kB / 0.7467 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.6296, allocations: 1.594 MB / 0.7482 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.63, allocations: 420.7 kB / 0.7486 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003879/0.6304, allocations: 141.3 kB / 0.7488 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.6305, allocations: 71.47 kB / 0.7488 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.6305, allocations: 0.75 kB / 0.7488 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of Templates: time 0.02479/0.6553, allocations: 16.27 MB / 0.7647 GB, free: 6.414 MB / 0.6075 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 -s ida -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: 6.029077068087645]