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.001719/0.001719, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001673/0.001673, allocations: 157.8 kB / 23.01 MB, free: 5.078 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.339/1.339, allocations: 177.2 MB / 203.4 MB, free: 9.262 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.7063/0.7063, allocations: 79.61 MB / 339.4 MB, free: 11.5 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.002393/0.002393, allocations: 79.66 kB / 0.4923 GB, free: 26.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1182, allocations: 74.59 MB / 0.5652 GB, free: 6.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4529/0.5711, allocations: 142.8 MB / 0.7046 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.5823, allocations: 11.84 MB / 0.7162 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009054/0.5832, allocations: 53.75 kB / 0.7162 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.5846, allocations: 0.5081 MB / 0.7167 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.5865, allocations: 0.8866 MB / 0.7176 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.5885, allocations: 0.8023 MB / 0.7184 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.5903, allocations: 1.368 MB / 0.7197 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003864/0.5907, allocations: 193.6 kB / 0.7199 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.592, allocations: 0.8416 MB / 0.7207 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007494/0.5927, allocations: 0.6247 MB / 0.7213 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.5929, allocations: 75.78 kB / 0.7214 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.5951, allocations: 1.218 MB / 0.7226 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.5953, allocations: 195.9 kB / 0.7228 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.5957, allocations: 422 kB / 0.7232 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.5976, allocations: 1.576 MB / 0.7247 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5976, allocations: 0 / 0.7247 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5976, allocations: 0 / 0.7247 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.5976, allocations: 1.031 kB / 0.7247 GB, free: 3.5 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.002064/0.5996, allocations: 1.394 MB / 0.7261 GB, free: 18.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.5997, allocations: 11.41 kB / 0.7261 GB, free: 18.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.5999, allocations: 138.5 kB / 0.7262 GB, free: 18.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.601, allocations: 0.7034 MB / 0.7269 GB, free: 18.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.601, allocations: 53.91 kB / 0.727 GB, free: 18.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.6011, allocations: 68.84 kB / 0.727 GB, free: 18.39 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.6022, allocations: 0.7438 MB / 0.7278 GB, free: 18.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.6022, allocations: 0 / 0.7278 GB, free: 18.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.6022, allocations: 31.66 kB / 0.7278 GB, free: 18.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.6022, allocations: 16.5 kB / 0.7278 GB, free: 18.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/0.6031, allocations: 0.647 MB / 0.7284 GB, free: 18.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.6055, allocations: 1.743 MB / 0.7302 GB, free: 17.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009565/0.6065, allocations: 0.5267 MB / 0.7307 GB, free: 17.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.6068, allocations: 227.7 kB / 0.7309 GB, free: 17.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/0.6082, allocations: 0.8975 MB / 0.7318 GB, free: 17.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.6082, allocations: 42.5 kB / 0.7318 GB, free: 17.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=55): time 1.843e-06/0.6082, allocations: 0.9375 kB / 0.7318 GB, free: 17.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56): time 0.002763/0.611, allocations: 1.563 MB / 0.7333 GB, free: 17.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.6111, allocations: 61.03 kB / 0.7334 GB, free: 17.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/0.6117, allocations: 0.6536 MB / 0.734 GB, free: 16.94 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.6117, allocations: 32.27 kB / 0.7341 GB, free: 16.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.6119, allocations: 457.4 kB / 0.7345 GB, free: 16.72 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.612, allocations: 198.8 kB / 0.7347 GB, free: 16.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.6121, allocations: 93.95 kB / 0.7348 GB, free: 16.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6123, allocations: 324.5 kB / 0.7351 GB, free: 16.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.6126, allocations: 165.3 kB / 0.7352 GB, free: 16.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.6129, allocations: 230 kB / 0.7355 GB, free: 16.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.6135, allocations: 431 kB / 0.7359 GB, free: 16.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6135, allocations: 0 / 0.7359 GB, free: 16.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001079/0.6146, allocations: 0.652 MB / 0.7365 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.6146, allocations: 10.5 kB / 0.7365 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6146, allocations: 0 / 0.7365 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.615, allocations: 109.6 kB / 0.7366 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.6153, allocations: 100.4 kB / 0.7367 GB, free: 16.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.6172, allocations: 1.897 MB / 0.7386 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.6175, allocations: 16.73 kB / 0.7386 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.6176, allocations: 21.23 kB / 0.7386 GB, free: 14.84 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.0002795/0.6179, allocations: 207.2 kB / 0.7388 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.618, allocations: 96.28 kB / 0.7389 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.6194, allocations: 0.8626 MB / 0.7397 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6194, allocations: 9.344 kB / 0.7397 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6194, allocations: 3.5 kB / 0.7397 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.6194, allocations: 3.703 kB / 0.7398 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.6214, allocations: 1.337 MB / 0.7411 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6214, allocations: 2.156 kB / 0.7411 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.6217, allocations: 91.05 kB / 0.7411 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000314/0.622, allocations: 116.8 kB / 0.7413 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.6221, allocations: 17.67 kB / 0.7413 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.6239, allocations: 1.892 MB / 0.7431 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6239, allocations: 3.188 kB / 0.7431 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.6254, allocations: 0.978 MB / 0.7441 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.6255, allocations: 79.06 kB / 0.7442 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.173e-05/0.6256, allocations: 14.34 kB / 0.7442 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.6259, allocations: 16.42 kB / 0.7442 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/0.6259, allocations: 50.33 kB / 0.7442 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.626, allocations: 22.81 kB / 0.7443 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004689/0.6264, allocations: 480.8 kB / 0.7447 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6264, allocations: 0 / 0.7447 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000816/0.6273, allocations: 338 kB / 0.745 GB, free: 12.57 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.0006028/0.6279, allocations: 487.5 kB / 0.7455 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.6289, allocations: 0.5973 MB / 0.7461 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6289, allocations: 3.938 kB / 0.7461 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.6295, allocations: 414.2 kB / 0.7465 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009197/0.6304, allocations: 245.3 kB / 0.7467 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.6325, allocations: 1.591 MB / 0.7483 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.6329, allocations: 423.3 kB / 0.7487 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003912/0.6333, allocations: 141.9 kB / 0.7488 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.6334, allocations: 76.38 kB / 0.7489 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of SimCode: time 7.22e-07/0.6334, allocations: 0 / 0.7489 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Templates: time 0.02369/0.6571, allocations: 16.27 MB / 0.7648 GB, free: 6.805 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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: 5.964747901074588]