Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001541/0.001541, allocations: 110.2 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.001727/0.001727, allocations: 216.9 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6815/0.6815, allocations: 94.55 MB / 407.8 MB, free: 9.234 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_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_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.002352/0.002352, allocations: 94.33 kB / 0.5562 GB, free: 38.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1137, allocations: 73.05 MB / 0.6275 GB, free: 36 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4284/0.5421, allocations: 150.1 MB / 0.7741 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.5527, allocations: 12.2 MB / 0.7861 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005914/0.5532, allocations: 29.5 kB / 0.7861 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007498/0.554, allocations: 300.7 kB / 0.7864 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.5552, allocations: 0.57 MB / 0.7869 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.5569, allocations: 0.7294 MB / 0.7876 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008965/0.5578, allocations: 0.9481 MB / 0.7886 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.558, allocations: 102.8 kB / 0.7887 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.5585, allocations: 415.1 kB / 0.7891 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000566/0.5591, allocations: 482.9 kB / 0.7895 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.744e-05/0.5591, allocations: 52.09 kB / 0.7896 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.5609, allocations: 1.079 MB / 0.7906 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.561, allocations: 148.2 kB / 0.7908 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.5613, allocations: 332 kB / 0.7911 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.5626, allocations: 1.121 MB / 0.7922 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.5626, allocations: 0 / 0.7922 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5626, allocations: 3.938 kB / 0.7922 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.5626, allocations: 0 / 0.7922 GB, free: 1.715 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.001738/0.5643, allocations: 1.022 MB / 0.7932 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.5644, allocations: 10.22 kB / 0.7932 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.5645, allocations: 73.89 kB / 0.7933 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.5651, allocations: 452.1 kB / 0.7937 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.5652, allocations: 149.2 kB / 0.7938 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.5653, allocations: 49.3 kB / 0.7939 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008616/0.5662, allocations: 0.6601 MB / 0.7945 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.5662, allocations: 2.906 kB / 0.7945 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.5662, allocations: 18.25 kB / 0.7945 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.5663, allocations: 26.03 kB / 0.7946 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009455/0.5672, allocations: 0.6821 MB / 0.7952 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.5702, allocations: 2.397 MB / 0.7976 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009603/0.5711, allocations: 0.5937 MB / 0.7981 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.5716, allocations: 328.9 kB / 0.7985 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.5729, allocations: 314 kB / 0.7988 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.5729, allocations: 44.03 kB / 0.7988 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.204e-06/0.5729, allocations: 0 / 0.7988 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003301/0.5762, allocations: 1.939 MB / 0.8007 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.5763, allocations: 58.28 kB / 0.8008 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.5766, allocations: 434.7 kB / 0.8012 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.5767, allocations: 39.11 kB / 0.8012 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.5768, allocations: 258.1 kB / 0.8015 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.5769, allocations: 225.3 kB / 0.8017 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.5771, allocations: 110.3 kB / 0.8018 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5772, allocations: 371.7 kB / 0.8021 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.5776, allocations: 255.6 kB / 0.8024 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.578, allocations: 335 kB / 0.8027 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000851/0.5789, allocations: 0.6168 MB / 0.8033 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5789, allocations: 1.969 kB / 0.8033 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001283/0.5802, allocations: 0.8463 MB / 0.8041 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5802, allocations: 9.031 kB / 0.8041 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.5802, allocations: 6.953 kB / 0.8041 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003649/0.5805, allocations: 129.9 kB / 0.8043 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.581, allocations: 117.5 kB / 0.8044 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.5835, allocations: 2.358 MB / 0.8067 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.5838, allocations: 27.56 kB / 0.8067 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.5839, allocations: 30.17 kB / 0.8067 GB, free: 12.83 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.0002417/0.5841, allocations: 183 kB / 0.8069 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.5842, allocations: 68.77 kB / 0.807 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.5859, allocations: 1.027 MB / 0.808 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.5859, allocations: 8.281 kB / 0.808 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5859, allocations: 4.688 kB / 0.808 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5859, allocations: 5.359 kB / 0.808 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.5882, allocations: 1.626 MB / 0.8096 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.5882, allocations: 2.531 kB / 0.8096 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.5887, allocations: 96.02 kB / 0.8097 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003396/0.589, allocations: 134.6 kB / 0.8098 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.589, allocations: 16.34 kB / 0.8098 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.5915, allocations: 2.302 MB / 0.8121 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5915, allocations: 3.406 kB / 0.8121 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.5934, allocations: 1.262 MB / 0.8133 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.5934, allocations: 54.14 kB / 0.8134 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.911e-05/0.5935, allocations: 20.77 kB / 0.8134 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.5938, allocations: 24.47 kB / 0.8134 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.5939, allocations: 48.44 kB / 0.8134 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.594, allocations: 25.45 kB / 0.8135 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003379/0.5943, allocations: 333.1 kB / 0.8138 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5943, allocations: 2.688 kB / 0.8138 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008197/0.5951, allocations: 285.3 kB / 0.8141 GB, free: 9.121 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.0005459/0.5957, allocations: 394.9 kB / 0.8144 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.5971, allocations: 0.8582 MB / 0.8153 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5971, allocations: 2.219 kB / 0.8153 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008536/0.598, allocations: 0.56 MB / 0.8158 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009093/0.5989, allocations: 203 kB / 0.816 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.6013, allocations: 1.472 MB / 0.8175 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.6017, allocations: 0.9018 MB / 0.8183 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.6019, allocations: 71.61 kB / 0.8184 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.6019, allocations: 0 / 0.8184 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of Templates: time 0.01819/0.6201, allocations: 14.55 MB / 0.8326 GB, free: 13.86 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,turbine.m_flow,turbine1.m_flow,turbine1.omega,turbine1.phi Variables in the result:time,turbine.m_flow,turbine1.m_flow,turbine1.omega,turbine1.phi [Calling sys.exit(0), Time elapsed: 9.005462592933327]