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.001342/0.001342, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001839/0.001839, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.133/1.133, allocations: 118.6 MB / 378.2 MB, free: 1.496 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 482.9 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.511e-05, allocations: 2.312 kB / 482.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.2067/0.2067, allocations: 130.2 MB / 0.5987 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.2227, allocations: 10.28 MB / 0.6087 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006403/0.2233, allocations: 43.62 kB / 0.6088 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.2244, allocations: 273.9 kB / 0.609 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.2265, allocations: 0.621 MB / 0.6096 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.229, allocations: 0.7428 MB / 0.6103 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.2307, allocations: 1.065 MB / 0.6114 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.231, allocations: 98.2 kB / 0.6115 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.2323, allocations: 0.5765 MB / 0.612 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009135/0.2332, allocations: 438.9 kB / 0.6125 GB, free: 316 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.2334, allocations: 56 kB / 0.6125 GB, free: 260 kB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.2358, allocations: 0.916 MB / 0.6134 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.236, allocations: 167.4 kB / 0.6136 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004677/0.2365, allocations: 239.4 kB / 0.6138 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.2391, allocations: 1.184 MB / 0.615 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2391, allocations: 3.938 kB / 0.615 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2391, allocations: 0 / 0.615 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.724e-05/0.2391, allocations: 0 / 0.615 GB, free: 13.75 MB / 0.5417 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.00261/0.2417, allocations: 1.041 MB / 0.616 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2418, allocations: 12.03 kB / 0.616 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.2422, allocations: 140.3 kB / 0.6161 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2432, allocations: 0.4953 MB / 0.6166 GB, free: 12 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.2434, allocations: 148.4 kB / 0.6167 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.2435, allocations: 52.31 kB / 0.6168 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.2449, allocations: 0.7064 MB / 0.6175 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.2449, allocations: 7.953 kB / 0.6175 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/0.245, allocations: 16 kB / 0.6175 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.245, allocations: 24.98 kB / 0.6175 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.2465, allocations: 0.6792 MB / 0.6182 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.2505, allocations: 1.885 MB / 0.62 GB, free: 8.387 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.2518, allocations: 0.5331 MB / 0.6206 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006932/0.2525, allocations: 291.5 kB / 0.6208 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001714/0.2542, allocations: 332.2 kB / 0.6212 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.2543, allocations: 43.06 kB / 0.6212 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=62): time 2.425e-06/0.2543, allocations: 0 / 0.6212 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of matching and sorting (n=64): time 0.004772/0.2591, allocations: 1.836 MB / 0.623 GB, free: 5.305 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.2591, allocations: 59.91 kB / 0.623 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005134/0.2596, allocations: 397.9 kB / 0.6234 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.2597, allocations: 37.7 kB / 0.6235 GB, free: 4.789 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.2599, allocations: 277.4 kB / 0.6237 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.2602, allocations: 226 kB / 0.6239 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.2604, allocations: 110.3 kB / 0.624 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002266/0.2606, allocations: 370.8 kB / 0.6244 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/0.2612, allocations: 225.2 kB / 0.6246 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.2618, allocations: 305.1 kB / 0.6249 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.263, allocations: 0.553 MB / 0.6254 GB, free: 2.699 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.263, allocations: 7.984 kB / 0.6255 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001927/0.2649, allocations: 0.8254 MB / 0.6263 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2649, allocations: 8 kB / 0.6263 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.2649, allocations: 4 kB / 0.6263 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000538/0.2655, allocations: 136.8 kB / 0.6264 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.266, allocations: 111.8 kB / 0.6265 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.2694, allocations: 2.326 MB / 0.6288 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.2698, allocations: 24.08 kB / 0.6288 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/0.2699, allocations: 31.98 kB / 0.6288 GB, free: 15.12 MB / 0.5573 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.0003327/0.2702, allocations: 201.6 kB / 0.629 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.2705, allocations: 87.62 kB / 0.6291 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.2727, allocations: 0.977 MB / 0.6301 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.2727, allocations: 12 kB / 0.6301 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2728, allocations: 4 kB / 0.6301 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.2728, allocations: 3.984 kB / 0.6301 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/0.2757, allocations: 1.417 MB / 0.6315 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.2758, allocations: 4 kB / 0.6315 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.2763, allocations: 95.86 kB / 0.6316 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004798/0.2768, allocations: 136.7 kB / 0.6317 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.2768, allocations: 23.92 kB / 0.6317 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.2801, allocations: 2.261 MB / 0.6339 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2801, allocations: 0 / 0.6339 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.2828, allocations: 1.208 MB / 0.6351 GB, free: 8.516 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.2831, allocations: 111.6 kB / 0.6352 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-05/0.2832, allocations: 15.95 kB / 0.6352 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.2836, allocations: 15.98 kB / 0.6352 GB, free: 8.375 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.2837, allocations: 52.41 kB / 0.6353 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/0.2837, allocations: 19.98 kB / 0.6353 GB, free: 8.305 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000445/0.2842, allocations: 306.9 kB / 0.6356 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.2842, allocations: 4 kB / 0.6356 GB, free: 8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001121/0.2853, allocations: 303.3 kB / 0.6359 GB, free: 7.703 MB / 0.5573 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.00076/0.286, allocations: 410 kB / 0.6363 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001924/0.288, allocations: 0.7983 MB / 0.6371 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.288, allocations: 384 / 0.6371 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.2891, allocations: 0.5319 MB / 0.6376 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.2904, allocations: 256.9 kB / 0.6378 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.2935, allocations: 1.326 MB / 0.6391 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.2939, allocations: 314.1 kB / 0.6394 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000475/0.2944, allocations: 136.6 kB / 0.6396 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.2946, allocations: 64.47 kB / 0.6396 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of SimCode: time 9.31e-07/0.2946, allocations: 0 / 0.6396 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of Templates: time 0.2/0.4946, allocations: 14.67 MB / 0.6539 GB, free: 168.4 MB / 0.5573 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/jenkins/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.740088901016861]