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.00183/0.00183, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002004/0.002004, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.656/1.656, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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 1.134/1.134, allocations: 118.6 MB / 378.2 MB, free: 1.441 MB / 346.7 MB " [Timeout remaining time 178] Using package ThermofluidStream with version 1.4.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: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 482.9 MB, free: 8.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.139e-05, allocations: 4.984 kB / 482.9 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.2549/0.2549, allocations: 160.7 MB / 0.6285 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.2736, allocations: 11.64 MB / 0.6398 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.275, allocations: 63.38 kB / 0.6399 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.277, allocations: 0.5274 MB / 0.6404 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003284/0.2803, allocations: 0.9893 MB / 0.6414 GB, free: 2.555 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.2831, allocations: 0.8482 MB / 0.6422 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002612/0.2857, allocations: 1.569 MB / 0.6437 GB, free: 128 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3672/0.6528, allocations: 202.4 kB / 0.6439 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002338/0.6552, allocations: 0.8595 MB / 0.6448 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.6563, allocations: 0.578 MB / 0.6453 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.6565, allocations: 76.88 kB / 0.6454 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/0.6603, allocations: 1.228 MB / 0.6466 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002687/0.6606, allocations: 207.1 kB / 0.6468 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007151/0.6613, allocations: 372.4 kB / 0.6472 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.6652, allocations: 1.692 MB / 0.6488 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6652, allocations: 4.109 kB / 0.6488 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6652, allocations: 1.219 kB / 0.6488 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.159e-05/0.6653, allocations: 0 / 0.6488 GB, free: 14.52 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003516/0.6688, allocations: 1.651 MB / 0.6504 GB, free: 29.64 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.6688, allocations: 12.67 kB / 0.6504 GB, free: 29.64 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.6692, allocations: 210.2 kB / 0.6506 GB, free: 29.55 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.6707, allocations: 0.8377 MB / 0.6515 GB, free: 29.25 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.6707, allocations: 58.38 kB / 0.6515 GB, free: 29.25 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.6709, allocations: 73.98 kB / 0.6516 GB, free: 29.25 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.672, allocations: 0.7222 MB / 0.6523 GB, free: 29.13 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.672, allocations: 4.25 kB / 0.6523 GB, free: 29.13 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.6721, allocations: 34 kB / 0.6523 GB, free: 29.12 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.6721, allocations: 15.56 kB / 0.6523 GB, free: 29.12 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/0.6729, allocations: 485.5 kB / 0.6528 GB, free: 29.12 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.6765, allocations: 2.443 MB / 0.6552 GB, free: 28.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.6775, allocations: 0.5064 MB / 0.6557 GB, free: 28.16 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.6778, allocations: 216.2 kB / 0.6559 GB, free: 28.15 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/0.6796, allocations: 0.9818 MB / 0.6569 GB, free: 27.79 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.6796, allocations: 43.3 kB / 0.6569 GB, free: 27.75 MB / 0.573 GB Notification: Performance of pre-optimization done (n=55): time 1.964e-06/0.6796, allocations: 0.9375 kB / 0.6569 GB, free: 27.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=56): time 0.003249/0.6828, allocations: 1.564 MB / 0.6584 GB, free: 27.31 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.6829, allocations: 57.16 kB / 0.6585 GB, free: 27.25 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.6839, allocations: 0.9038 MB / 0.6594 GB, free: 27.04 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.684, allocations: 35.28 kB / 0.6594 GB, free: 27.01 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/0.6844, allocations: 0.5751 MB / 0.66 GB, free: 26.78 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.6845, allocations: 207.8 kB / 0.6602 GB, free: 26.64 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.6847, allocations: 116.7 kB / 0.6603 GB, free: 26.62 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002562/0.6849, allocations: 0.5041 MB / 0.6608 GB, free: 26.14 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.6852, allocations: 150.4 kB / 0.6609 GB, free: 26.14 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.6855, allocations: 268.2 kB / 0.6612 GB, free: 26.03 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/0.6862, allocations: 472.9 kB / 0.6616 GB, free: 25.91 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6862, allocations: 7.781 kB / 0.6616 GB, free: 25.91 MB / 0.573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0013/0.6875, allocations: 0.6841 MB / 0.6623 GB, free: 25.79 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.6875, allocations: 5.438 kB / 0.6623 GB, free: 25.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.6875, allocations: 5.938 kB / 0.6623 GB, free: 25.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.6881, allocations: 147.5 kB / 0.6624 GB, free: 25.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.6885, allocations: 97.28 kB / 0.6625 GB, free: 25.78 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.6915, allocations: 2.455 MB / 0.6649 GB, free: 24.05 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.692, allocations: 15.91 kB / 0.6649 GB, free: 24.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.692, allocations: 27.69 kB / 0.665 GB, free: 24.04 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (54): * Single equations (assignments): 53 * 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.0004221/0.6925, allocations: 261.1 kB / 0.6652 GB, free: 23.88 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.6928, allocations: 129.7 kB / 0.6653 GB, free: 23.82 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.6945, allocations: 0.9068 MB / 0.6662 GB, free: 23.67 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.6946, allocations: 6.406 kB / 0.6662 GB, free: 23.67 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6946, allocations: 3.359 kB / 0.6662 GB, free: 23.67 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.6946, allocations: 2.953 kB / 0.6662 GB, free: 23.67 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.6976, allocations: 1.537 MB / 0.6677 GB, free: 23.31 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6976, allocations: 1.5 kB / 0.6677 GB, free: 23.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.6979, allocations: 84.06 kB / 0.6678 GB, free: 23.31 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005872/0.6985, allocations: 145.5 kB / 0.668 GB, free: 23.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/0.6986, allocations: 22.62 kB / 0.668 GB, free: 23.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.7012, allocations: 2.454 MB / 0.6704 GB, free: 21.55 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7012, allocations: 5.203 kB / 0.6704 GB, free: 21.55 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.7033, allocations: 1.044 MB / 0.6714 GB, free: 21.23 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004123/0.7037, allocations: 136.2 kB / 0.6715 GB, free: 21.18 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.674e-05/0.7038, allocations: 12.22 kB / 0.6715 GB, free: 21.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.7041, allocations: 12.58 kB / 0.6716 GB, free: 21.18 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.7042, allocations: 53.62 kB / 0.6716 GB, free: 21.17 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.7043, allocations: 23.11 kB / 0.6716 GB, free: 21.17 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009636/0.7052, allocations: 0.5955 MB / 0.6722 GB, free: 21.02 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.7052, allocations: 1.531 kB / 0.6722 GB, free: 21.02 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001362/0.7066, allocations: 350.6 kB / 0.6725 GB, free: 20.98 MB / 0.573 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.00096/0.7076, allocations: 498.6 kB / 0.673 GB, free: 20.85 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.709, allocations: 0.6703 MB / 0.6737 GB, free: 20.65 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.709, allocations: 0 / 0.6737 GB, free: 20.65 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008277/0.7098, allocations: 499.9 kB / 0.6741 GB, free: 20.45 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.7115, allocations: 364.2 kB / 0.6745 GB, free: 20.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.715, allocations: 1.709 MB / 0.6762 GB, free: 19.59 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.7156, allocations: 451.1 kB / 0.6766 GB, free: 19.48 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006001/0.7162, allocations: 153.7 kB / 0.6767 GB, free: 19.43 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.7163, allocations: 84.69 kB / 0.6768 GB, free: 19.42 MB / 0.573 GB Notification: Performance of SimCode: time 1.352e-06/0.7164, allocations: 0.875 kB / 0.6768 GB, free: 19.42 MB / 0.573 GB Notification: Performance of Templates: time 0.03177/0.7481, allocations: 18.6 MB / 0.695 GB, free: 17.15 MB / 0.573 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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_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: 7.5529338819906116]