Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.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.001282/0.001282, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00138/0.00138, allocations: 214 kB / 22.25 MB, free: 5.258 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.801 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.7393/0.7393, allocations: 100.9 MB / 413.3 MB, free: 2.879 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.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine") [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.002384/0.002384, allocations: 84 kB / 0.5646 GB, free: 35.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1173, allocations: 74.61 MB / 0.6374 GB, free: 6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4343/0.5515, allocations: 129.1 MB / 0.7635 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.563, allocations: 11.04 MB / 0.7743 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006765/0.5637, allocations: 32.03 kB / 0.7743 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008151/0.5645, allocations: 264.2 kB / 0.7746 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.5659, allocations: 0.5549 MB / 0.7751 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.5679, allocations: 0.7168 MB / 0.7758 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.5689, allocations: 0.9472 MB / 0.7767 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.5691, allocations: 103.4 kB / 0.7768 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005545/0.5697, allocations: 413.7 kB / 0.7772 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000578/0.5703, allocations: 461.9 kB / 0.7777 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.586e-05/0.5704, allocations: 53.44 kB / 0.7777 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.5722, allocations: 0.9029 MB / 0.7786 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.5723, allocations: 152.2 kB / 0.7788 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.5726, allocations: 274.4 kB / 0.779 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.5741, allocations: 1.098 MB / 0.7801 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5741, allocations: 1.406 kB / 0.7801 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5741, allocations: 0.9375 kB / 0.7801 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.5741, allocations: 0 / 0.7801 GB, free: 3.09 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002041/0.5762, allocations: 1.02 MB / 0.7811 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5762, allocations: 9.75 kB / 0.7811 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.5764, allocations: 90.36 kB / 0.7812 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007558/0.5772, allocations: 454.7 kB / 0.7816 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.5773, allocations: 147.8 kB / 0.7818 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.668e-05/0.5774, allocations: 51.08 kB / 0.7818 GB, free: 18.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.5784, allocations: 0.7067 MB / 0.7825 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.5785, allocations: 3.094 kB / 0.7825 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.5785, allocations: 24.05 kB / 0.7825 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.5785, allocations: 19.19 kB / 0.7825 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.5796, allocations: 0.6801 MB / 0.7832 GB, free: 18.03 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.5825, allocations: 1.903 MB / 0.7851 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.5835, allocations: 0.5803 MB / 0.7856 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.584, allocations: 329.4 kB / 0.7859 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.5853, allocations: 307.3 kB / 0.7862 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.5854, allocations: 43.19 kB / 0.7863 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.314e-06/0.5854, allocations: 1.094 kB / 0.7863 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003532/0.5889, allocations: 1.943 MB / 0.7882 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.5889, allocations: 63.34 kB / 0.7882 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.5892, allocations: 366.1 kB / 0.7886 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.5893, allocations: 35.55 kB / 0.7886 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.5894, allocations: 256.7 kB / 0.7889 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.5895, allocations: 232.1 kB / 0.7891 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.5897, allocations: 110.3 kB / 0.7892 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.5898, allocations: 374 kB / 0.7896 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.5902, allocations: 257 kB / 0.7898 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.5906, allocations: 332.4 kB / 0.7901 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/0.5915, allocations: 0.619 MB / 0.7907 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5915, allocations: 0 / 0.7907 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001341/0.5928, allocations: 0.8438 MB / 0.7915 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.5928, allocations: 7.5 kB / 0.7916 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.5928, allocations: 8.688 kB / 0.7916 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/0.5932, allocations: 131.9 kB / 0.7917 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.5936, allocations: 111.7 kB / 0.7918 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.596, allocations: 2.32 MB / 0.7941 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.5963, allocations: 22.06 kB / 0.7941 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.592e-05/0.5963, allocations: 27.25 kB / 0.7941 GB, free: 14.68 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.5966, allocations: 193.3 kB / 0.7943 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.5967, allocations: 69.3 kB / 0.7944 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.5982, allocations: 1.027 MB / 0.7954 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5983, allocations: 5.906 kB / 0.7954 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5983, allocations: 2.719 kB / 0.7954 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5983, allocations: 4 kB / 0.7954 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.6004, allocations: 1.49 MB / 0.7968 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.6004, allocations: 4.453 kB / 0.7968 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.6008, allocations: 99.72 kB / 0.7969 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003008/0.6011, allocations: 131.3 kB / 0.797 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.6011, allocations: 20.98 kB / 0.7971 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.6035, allocations: 2.251 MB / 0.7993 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6035, allocations: 6.234 kB / 0.7993 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.6053, allocations: 1.269 MB / 0.8005 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.6054, allocations: 46.53 kB / 0.8006 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.6055, allocations: 13.34 kB / 0.8006 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.6057, allocations: 22.03 kB / 0.8006 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.6058, allocations: 46.08 kB / 0.8006 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.6059, allocations: 26.78 kB / 0.8007 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002829/0.6061, allocations: 288.5 kB / 0.8009 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6061, allocations: 0 / 0.8009 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008684/0.607, allocations: 289.4 kB / 0.8012 GB, free: 11.98 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (turbine.m_flow,turbine1.m_flow,turbine1.phi,turbine1.omega) * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005681/0.6076, allocations: 400.6 kB / 0.8016 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.6089, allocations: 0.8532 MB / 0.8024 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6089, allocations: 0 / 0.8024 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008004/0.6097, allocations: 0.5655 MB / 0.803 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007583/0.6105, allocations: 157.4 kB / 0.8031 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.6128, allocations: 1.429 MB / 0.8045 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.613, allocations: 303.4 kB / 0.8048 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003428/0.6134, allocations: 129.7 kB / 0.8049 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.6135, allocations: 61.94 kB / 0.805 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.6135, allocations: 0 / 0.805 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.01971/0.6332, allocations: 13.67 MB / 0.8183 GB, free: 6.219 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.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.934731416404247]