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.001826/0.001826, allocations: 84.98 kB / 19.76 MB, free: 2.023 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.001495/0.001495, allocations: 157.4 kB / 23.01 MB, free: 4.961 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.7604/0.7604, allocations: 74.9 MB / 334.7 MB, free: 15.51 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.00274/0.00274, allocations: 85.72 kB / 496.4 MB, free: 29.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1369, allocations: 73.03 MB / 0.5561 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1742/0.3111, allocations: 129.1 MB / 0.6822 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01677/0.3279, allocations: 11.04 MB / 0.6929 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006537/0.3286, allocations: 27.75 kB / 0.693 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.3297, allocations: 270.2 kB / 0.6932 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.3315, allocations: 0.5515 MB / 0.6938 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.334, allocations: 0.7199 MB / 0.6945 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.3355, allocations: 0.9492 MB / 0.6954 GB, free: 336 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.3358, allocations: 98.22 kB / 0.6955 GB, free: 232 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3107/0.6465, allocations: 408.8 kB / 0.6959 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009093/0.6475, allocations: 461.3 kB / 0.6963 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.6476, allocations: 54.16 kB / 0.6964 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.6497, allocations: 0.9013 MB / 0.6973 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.6499, allocations: 152.6 kB / 0.6974 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.6503, allocations: 272.9 kB / 0.6977 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.6523, allocations: 1.097 MB / 0.6987 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6523, allocations: 0 / 0.6987 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6523, allocations: 0 / 0.6987 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.444e-05/0.6524, allocations: 2.656 kB / 0.6987 GB, free: 4.477 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002399/0.6548, allocations: 1.011 MB / 0.6997 GB, free: 19.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.6548, allocations: 12 kB / 0.6997 GB, free: 19.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.655, allocations: 89.58 kB / 0.6998 GB, free: 19.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008522/0.6559, allocations: 452.3 kB / 0.7003 GB, free: 19.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.656, allocations: 143.3 kB / 0.7004 GB, free: 19.58 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.6561, allocations: 54.75 kB / 0.7004 GB, free: 19.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.6573, allocations: 0.7068 MB / 0.7011 GB, free: 19.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.6573, allocations: 4.094 kB / 0.7011 GB, free: 19.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.6574, allocations: 20.39 kB / 0.7012 GB, free: 19.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.6574, allocations: 22.27 kB / 0.7012 GB, free: 19.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.6585, allocations: 0.6801 MB / 0.7018 GB, free: 19.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.662, allocations: 1.897 MB / 0.7037 GB, free: 18.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.6632, allocations: 0.584 MB / 0.7043 GB, free: 18.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.6638, allocations: 327.3 kB / 0.7046 GB, free: 18.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.6654, allocations: 307.3 kB / 0.7049 GB, free: 18.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.6654, allocations: 38.56 kB / 0.7049 GB, free: 18.85 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.445e-06/0.6654, allocations: 1.031 kB / 0.7049 GB, free: 18.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=64): time 0.0045/0.6699, allocations: 1.95 MB / 0.7068 GB, free: 18.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.67, allocations: 59.31 kB / 0.7069 GB, free: 18.47 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.6705, allocations: 364.8 kB / 0.7072 GB, free: 18.36 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.6706, allocations: 34.61 kB / 0.7072 GB, free: 18.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.6707, allocations: 267.1 kB / 0.7075 GB, free: 18.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.6709, allocations: 231.5 kB / 0.7077 GB, free: 18.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.6711, allocations: 111.5 kB / 0.7078 GB, free: 18.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.6713, allocations: 364.2 kB / 0.7082 GB, free: 17.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.6718, allocations: 258.6 kB / 0.7084 GB, free: 17.71 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.6724, allocations: 333.7 kB / 0.7087 GB, free: 17.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.6737, allocations: 0.6166 MB / 0.7093 GB, free: 17.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6737, allocations: 1.625 kB / 0.7093 GB, free: 17.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002051/0.6757, allocations: 0.8477 MB / 0.7102 GB, free: 17.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.6758, allocations: 7.125 kB / 0.7102 GB, free: 17.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.6758, allocations: 7.125 kB / 0.7102 GB, free: 17.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004987/0.6763, allocations: 131.2 kB / 0.7103 GB, free: 17.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.6769, allocations: 114.3 kB / 0.7104 GB, free: 17.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/0.6797, allocations: 2.315 MB / 0.7127 GB, free: 16.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.6802, allocations: 21.22 kB / 0.7127 GB, free: 16.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.6803, allocations: 23.45 kB / 0.7127 GB, free: 16.14 MB / 0.6075 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.0003636/0.6806, allocations: 201.9 kB / 0.7129 GB, free: 16.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/0.6809, allocations: 63.62 kB / 0.713 GB, free: 16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.6828, allocations: 1.029 MB / 0.714 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.6828, allocations: 6.969 kB / 0.714 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6828, allocations: 2.219 kB / 0.714 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.6828, allocations: 4.953 kB / 0.714 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.6854, allocations: 1.486 MB / 0.7154 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.6854, allocations: 4.781 kB / 0.7155 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.6859, allocations: 99.2 kB / 0.7155 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003537/0.6862, allocations: 135.1 kB / 0.7157 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.6863, allocations: 21.22 kB / 0.7157 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.6888, allocations: 2.257 MB / 0.7179 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6888, allocations: 1.031 kB / 0.7179 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.6909, allocations: 1.256 MB / 0.7191 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.691, allocations: 55.47 kB / 0.7192 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/0.6911, allocations: 13.53 kB / 0.7192 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.6915, allocations: 18.56 kB / 0.7192 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.6916, allocations: 48.36 kB / 0.7193 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.6916, allocations: 20.8 kB / 0.7193 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000311/0.6919, allocations: 285.8 kB / 0.7195 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6919, allocations: 6.094 kB / 0.7196 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009596/0.6929, allocations: 296.3 kB / 0.7198 GB, free: 13.88 MB / 0.6075 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.0006579/0.6935, allocations: 384.2 kB / 0.7202 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.6952, allocations: 0.8607 MB / 0.721 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6952, allocations: 2.688 kB / 0.721 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009135/0.6961, allocations: 0.566 MB / 0.7216 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/0.697, allocations: 152.3 kB / 0.7217 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.6995, allocations: 1.424 MB / 0.7231 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.6998, allocations: 306.5 kB / 0.7234 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004135/0.7002, allocations: 128.8 kB / 0.7235 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.7004, allocations: 67.83 kB / 0.7236 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.7004, allocations: 3.094 kB / 0.7236 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of Templates: time 0.01967/0.72, allocations: 12.87 MB / 0.7362 GB, free: 11.19 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 -s ida -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] Reference file matches [Calling sys.exit(0), Time elapsed: 6.44773193995934]