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.00122/0.00122, 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.001311/0.001311, allocations: 167.3 kB / 23.01 MB, free: 4.602 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.322/1.322, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.7161/0.7161, allocations: 79.62 MB / 339.4 MB, free: 10.98 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.002414/0.002414, allocations: 85.38 kB / 0.4924 GB, free: 26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1095, allocations: 74.58 MB / 0.5652 GB, free: 6 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1586/0.2681, allocations: 129.1 MB / 0.6913 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.2852/0.5533, allocations: 11.03 MB / 0.7021 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004839/0.5538, allocations: 33.64 kB / 0.7021 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007633/0.5545, allocations: 260.5 kB / 0.7023 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.5558, allocations: 0.5518 MB / 0.7029 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.5577, allocations: 0.7191 MB / 0.7036 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.5587, allocations: 0.953 MB / 0.7045 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.559, allocations: 99.17 kB / 0.7046 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006013/0.5596, allocations: 413.8 kB / 0.705 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006658/0.5602, allocations: 459.3 kB / 0.7054 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.238e-05/0.5603, allocations: 53.44 kB / 0.7055 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.562, allocations: 0.9014 MB / 0.7064 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.5622, allocations: 152.8 kB / 0.7065 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.5624, allocations: 272.5 kB / 0.7068 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.5638, allocations: 1.103 MB / 0.7079 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5638, allocations: 4.531 kB / 0.7079 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5638, allocations: 0 / 0.7079 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.5638, allocations: 2.031 kB / 0.7079 GB, free: 3.43 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.00191/0.5657, allocations: 1.017 MB / 0.7089 GB, free: 18.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.5658, allocations: 12 kB / 0.7089 GB, free: 18.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.566, allocations: 87.41 kB / 0.709 GB, free: 18.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007392/0.5667, allocations: 448.8 kB / 0.7094 GB, free: 18.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.5668, allocations: 146.9 kB / 0.7095 GB, free: 18.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.71e-05/0.5669, allocations: 53.03 kB / 0.7096 GB, free: 18.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.568, allocations: 0.7086 MB / 0.7103 GB, free: 18.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.568, allocations: 4.891 kB / 0.7103 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.5681, allocations: 20.81 kB / 0.7103 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/0.5681, allocations: 24.19 kB / 0.7103 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.5692, allocations: 0.6849 MB / 0.711 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003258/0.5725, allocations: 1.895 MB / 0.7128 GB, free: 17.85 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.5737, allocations: 0.5863 MB / 0.7134 GB, free: 17.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006229/0.5743, allocations: 332.5 kB / 0.7137 GB, free: 17.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/0.5758, allocations: 309.2 kB / 0.714 GB, free: 17.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.5758, allocations: 41.66 kB / 0.7141 GB, free: 17.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.454e-06/0.5758, allocations: 1.062 kB / 0.7141 GB, free: 17.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=64): time 0.003728/0.5796, allocations: 1.938 MB / 0.7159 GB, free: 17.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.5796, allocations: 64.09 kB / 0.716 GB, free: 17.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.58, allocations: 367 kB / 0.7164 GB, free: 17.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.58, allocations: 35.64 kB / 0.7164 GB, free: 17.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.5802, allocations: 260.4 kB / 0.7166 GB, free: 17.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.5803, allocations: 235.7 kB / 0.7169 GB, free: 16.95 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.5804, allocations: 106.9 kB / 0.717 GB, free: 16.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5806, allocations: 369.1 kB / 0.7173 GB, free: 16.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.581, allocations: 255 kB / 0.7176 GB, free: 16.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.5815, allocations: 334.5 kB / 0.7179 GB, free: 16.55 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008832/0.5823, allocations: 0.6195 MB / 0.7185 GB, free: 16.49 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5823, allocations: 0 / 0.7185 GB, free: 16.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001405/0.5837, allocations: 0.8466 MB / 0.7193 GB, free: 16.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5838, allocations: 6.062 kB / 0.7193 GB, free: 16.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.5838, allocations: 6.156 kB / 0.7193 GB, free: 16.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003763/0.5841, allocations: 132 kB / 0.7195 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.5846, allocations: 114.7 kB / 0.7196 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.5871, allocations: 2.302 MB / 0.7218 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.5874, allocations: 25.12 kB / 0.7218 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.5874, allocations: 24.22 kB / 0.7219 GB, free: 15.04 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.0002473/0.5877, allocations: 197.6 kB / 0.722 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.5878, allocations: 72.42 kB / 0.7221 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.5895, allocations: 1.029 MB / 0.7231 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5895, allocations: 12.64 kB / 0.7231 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5895, allocations: 3.969 kB / 0.7231 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5895, allocations: 4.312 kB / 0.7231 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.5916, allocations: 1.486 MB / 0.7246 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.5916, allocations: 7.625 kB / 0.7246 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.592, allocations: 97.38 kB / 0.7247 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/0.5923, allocations: 136.4 kB / 0.7248 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.5924, allocations: 20.16 kB / 0.7248 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.5946, allocations: 2.252 MB / 0.727 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5946, allocations: 1.844 kB / 0.727 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.5964, allocations: 1.268 MB / 0.7283 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.5964, allocations: 45.91 kB / 0.7283 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.5965, allocations: 14.36 kB / 0.7283 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.5968, allocations: 21.53 kB / 0.7284 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.5969, allocations: 47.72 kB / 0.7284 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.5969, allocations: 23.5 kB / 0.7284 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002443/0.5972, allocations: 290.3 kB / 0.7287 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.5972, allocations: 0 / 0.7287 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008118/0.598, allocations: 288.2 kB / 0.729 GB, free: 12.75 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.000519/0.5985, allocations: 393.2 kB / 0.7293 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.5998, allocations: 0.8562 MB / 0.7302 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5998, allocations: 2.719 kB / 0.7302 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.6006, allocations: 0.5669 MB / 0.7307 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.6013, allocations: 160.2 kB / 0.7309 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.6034, allocations: 1.427 MB / 0.7323 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.6036, allocations: 305.4 kB / 0.7326 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003151/0.6039, allocations: 131.2 kB / 0.7327 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.604, allocations: 60.36 kB / 0.7328 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.604, allocations: 0.875 kB / 0.7328 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of Templates: time 0.01761/0.6217, allocations: 12.87 MB / 0.7453 GB, free: 9.941 MB / 0.6075 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 -s ida -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/jenkins1/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.827898934017867]