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.002065/0.002065, allocations: 78.25 kB / 19.75 MB, free: 2.055 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.00258/0.00258, allocations: 160.4 kB / 23.01 MB, free: 4.949 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.373/1.373, allocations: 177.2 MB / 203.4 MB, free: 9.277 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.7273/0.7273, allocations: 79.61 MB / 339.4 MB, free: 11.53 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.002499/0.002499, allocations: 83.78 kB / 0.4923 GB, free: 26.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1118, allocations: 74.59 MB / 0.5652 GB, free: 6.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1587/0.2705, allocations: 129 MB / 0.6912 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.2883/0.5588, allocations: 10.99 MB / 0.7019 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005103/0.5593, allocations: 32.38 kB / 0.702 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007287/0.56, allocations: 262.6 kB / 0.7022 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.5613, allocations: 0.5552 MB / 0.7028 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.5632, allocations: 0.7131 MB / 0.7035 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000958/0.5641, allocations: 0.9529 MB / 0.7044 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.5643, allocations: 99.72 kB / 0.7045 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006675/0.565, allocations: 0.5554 MB / 0.705 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.5656, allocations: 459.1 kB / 0.7055 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.002e-05/0.5657, allocations: 55.81 kB / 0.7055 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.5672, allocations: 0.9002 MB / 0.7064 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.5674, allocations: 152.8 kB / 0.7065 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.5677, allocations: 273.7 kB / 0.7068 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.569, allocations: 1.102 MB / 0.7079 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.569, allocations: 3.25 kB / 0.7079 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.569, allocations: 0.9375 kB / 0.7079 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.569, allocations: 2.312 kB / 0.7079 GB, free: 3.898 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.002014/0.5711, allocations: 1.015 MB / 0.7089 GB, free: 19.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.5711, allocations: 10.47 kB / 0.7089 GB, free: 19.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.5713, allocations: 93.84 kB / 0.709 GB, free: 19.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008198/0.5721, allocations: 449.2 kB / 0.7094 GB, free: 19.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.5723, allocations: 150.9 kB / 0.7095 GB, free: 19 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.293e-05/0.5724, allocations: 50.33 kB / 0.7096 GB, free: 18.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5735, allocations: 0.7138 MB / 0.7103 GB, free: 18.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.5735, allocations: 0 / 0.7103 GB, free: 18.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.5736, allocations: 17.94 kB / 0.7103 GB, free: 18.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.5736, allocations: 26.45 kB / 0.7103 GB, free: 18.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.5748, allocations: 0.6768 MB / 0.711 GB, free: 18.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.5782, allocations: 1.902 MB / 0.7129 GB, free: 18.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.5795, allocations: 0.5918 MB / 0.7134 GB, free: 18.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.5802, allocations: 329 kB / 0.7137 GB, free: 18.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.5818, allocations: 303.9 kB / 0.714 GB, free: 18.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.5818, allocations: 45.03 kB / 0.7141 GB, free: 18.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.385e-06/0.5818, allocations: 1.312 kB / 0.7141 GB, free: 18.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=64): time 0.003915/0.5857, allocations: 1.942 MB / 0.716 GB, free: 17.92 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5858, allocations: 58.53 kB / 0.716 GB, free: 17.85 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.5861, allocations: 370.5 kB / 0.7164 GB, free: 17.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.5862, allocations: 41.06 kB / 0.7164 GB, free: 17.7 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.5863, allocations: 255.7 kB / 0.7167 GB, free: 17.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.5865, allocations: 227.6 kB / 0.7169 GB, free: 17.42 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.5866, allocations: 114.3 kB / 0.717 GB, free: 17.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.5868, allocations: 360.5 kB / 0.7173 GB, free: 17.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.5873, allocations: 259.7 kB / 0.7176 GB, free: 17.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.5877, allocations: 334.6 kB / 0.7179 GB, free: 17.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000885/0.5886, allocations: 0.6187 MB / 0.7185 GB, free: 16.97 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5886, allocations: 0 / 0.7185 GB, free: 16.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001458/0.5901, allocations: 0.8477 MB / 0.7193 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5901, allocations: 10 kB / 0.7193 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.5901, allocations: 5.672 kB / 0.7194 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.5905, allocations: 130 kB / 0.7195 GB, free: 16.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.591, allocations: 111.7 kB / 0.7196 GB, free: 16.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.5936, allocations: 2.316 MB / 0.7218 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.594, allocations: 17.72 kB / 0.7219 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.594, allocations: 27.5 kB / 0.7219 GB, free: 15.52 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.0002712/0.5943, allocations: 200 kB / 0.7221 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.5945, allocations: 67.44 kB / 0.7221 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.5963, allocations: 1.027 MB / 0.7231 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5963, allocations: 6.875 kB / 0.7232 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5963, allocations: 3.625 kB / 0.7232 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5963, allocations: 5.812 kB / 0.7232 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.5986, allocations: 1.491 MB / 0.7246 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.5986, allocations: 7.469 kB / 0.7246 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.599, allocations: 101.6 kB / 0.7247 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003724/0.5994, allocations: 129.4 kB / 0.7248 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.5995, allocations: 19.47 kB / 0.7249 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.6018, allocations: 2.254 MB / 0.7271 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6018, allocations: 0 / 0.7271 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.6037, allocations: 1.265 MB / 0.7283 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.6038, allocations: 46.97 kB / 0.7283 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.6039, allocations: 18.2 kB / 0.7284 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.6042, allocations: 18.53 kB / 0.7284 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.6043, allocations: 48.75 kB / 0.7284 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.6043, allocations: 24.33 kB / 0.7285 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000266/0.6046, allocations: 292.9 kB / 0.7287 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6046, allocations: 0.8125 kB / 0.7287 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008506/0.6054, allocations: 283.7 kB / 0.729 GB, free: 13.23 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.0005624/0.606, allocations: 393.4 kB / 0.7294 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.6074, allocations: 0.8602 MB / 0.7302 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6075, allocations: 0.75 kB / 0.7302 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008581/0.6083, allocations: 0.5608 MB / 0.7308 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.6091, allocations: 169.2 kB / 0.7309 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.6113, allocations: 1.42 MB / 0.7323 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.6116, allocations: 305.9 kB / 0.7326 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003446/0.6119, allocations: 133.3 kB / 0.7327 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.6121, allocations: 62.59 kB / 0.7328 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.6121, allocations: 0 / 0.7328 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Templates: time 0.01766/0.6297, allocations: 12.87 MB / 0.7454 GB, free: 10.42 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 gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -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.886652587912977]