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.001532/0.001532, 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.001667/0.001667, allocations: 213.2 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.7019/0.7019, allocations: 100.3 MB / 413.5 MB, free: 3.672 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.002372/0.002372, allocations: 84.78 kB / 0.5645 GB, free: 35.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1141, allocations: 74.47 MB / 0.6372 GB, free: 7.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.4246/0.5387, allocations: 150.1 MB / 0.7838 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.5499, allocations: 12.19 MB / 0.7957 GB, free: 15 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006404/0.5505, allocations: 33.34 kB / 0.7958 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008285/0.5513, allocations: 297.2 kB / 0.796 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.5527, allocations: 0.5653 MB / 0.7966 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.5546, allocations: 0.7262 MB / 0.7973 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008953/0.5554, allocations: 0.9487 MB / 0.7982 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.5557, allocations: 104.1 kB / 0.7983 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.5561, allocations: 410.3 kB / 0.7987 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005762/0.5567, allocations: 496.5 kB / 0.7992 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.358e-05/0.5568, allocations: 53.75 kB / 0.7992 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.5588, allocations: 1.071 MB / 0.8003 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.5589, allocations: 151.1 kB / 0.8004 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.5592, allocations: 332 kB / 0.8007 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.5606, allocations: 1.114 MB / 0.8018 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5606, allocations: 0 / 0.8018 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5606, allocations: 0 / 0.8018 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.5606, allocations: 0 / 0.8018 GB, free: 14.12 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.002035/0.5626, allocations: 1.019 MB / 0.8028 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.5627, allocations: 14.75 kB / 0.8028 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.5628, allocations: 75.78 kB / 0.8029 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.5636, allocations: 453.2 kB / 0.8034 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.5637, allocations: 147.6 kB / 0.8035 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/0.5638, allocations: 53.94 kB / 0.8035 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009439/0.5648, allocations: 0.6701 MB / 0.8042 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.5648, allocations: 2.969 kB / 0.8042 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.5649, allocations: 16.59 kB / 0.8042 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.5649, allocations: 20.47 kB / 0.8042 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.566, allocations: 0.6841 MB / 0.8049 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.5692, allocations: 2.399 MB / 0.8072 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.5703, allocations: 0.5924 MB / 0.8078 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.5708, allocations: 329.8 kB / 0.8081 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.5723, allocations: 312.1 kB / 0.8084 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.5723, allocations: 36.94 kB / 0.8085 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.114e-06/0.5723, allocations: 0 / 0.8085 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.003587/0.5759, allocations: 1.947 MB / 0.8104 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.5759, allocations: 57.09 kB / 0.8104 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.5763, allocations: 433.6 kB / 0.8108 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.5764, allocations: 34.89 kB / 0.8109 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.5765, allocations: 258.6 kB / 0.8111 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.5767, allocations: 228.3 kB / 0.8113 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.5769, allocations: 113.6 kB / 0.8114 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5771, allocations: 373.4 kB / 0.8118 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.5776, allocations: 255.3 kB / 0.812 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005725/0.5782, allocations: 336.1 kB / 0.8124 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.5792, allocations: 0.6178 MB / 0.813 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5792, allocations: 0 / 0.813 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001599/0.5808, allocations: 0.8361 MB / 0.8138 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5808, allocations: 8.594 kB / 0.8138 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.5808, allocations: 5.688 kB / 0.8138 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/0.5812, allocations: 137.2 kB / 0.8139 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.5817, allocations: 111.8 kB / 0.814 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.5845, allocations: 2.363 MB / 0.8163 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.5849, allocations: 22.2 kB / 0.8164 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.5849, allocations: 31.28 kB / 0.8164 GB, free: 7.238 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.0002837/0.5852, allocations: 196 kB / 0.8166 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5853, allocations: 60.83 kB / 0.8166 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.5874, allocations: 1.037 MB / 0.8177 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5874, allocations: 4.938 kB / 0.8177 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5874, allocations: 6.438 kB / 0.8177 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.5874, allocations: 3.984 kB / 0.8177 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.59, allocations: 1.627 MB / 0.8193 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.59, allocations: 2.375 kB / 0.8193 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.5904, allocations: 95.38 kB / 0.8194 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003598/0.5908, allocations: 128.1 kB / 0.8195 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.5908, allocations: 23.77 kB / 0.8195 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/0.5933, allocations: 2.303 MB / 0.8217 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5933, allocations: 4.062 kB / 0.8217 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.5954, allocations: 1.251 MB / 0.823 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.5955, allocations: 62.11 kB / 0.823 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.5956, allocations: 14.75 kB / 0.823 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.5959, allocations: 19.55 kB / 0.8231 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.596, allocations: 47.69 kB / 0.8231 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.596, allocations: 27.3 kB / 0.8231 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003686/0.5964, allocations: 329.1 kB / 0.8234 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5964, allocations: 0 / 0.8234 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000879/0.5972, allocations: 292.1 kB / 0.8237 GB, free: 2.133 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.000594/0.5978, allocations: 390.5 kB / 0.8241 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.5994, allocations: 0.8609 MB / 0.8249 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5994, allocations: 0 / 0.8249 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008701/0.6002, allocations: 0.5604 MB / 0.8255 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009164/0.6012, allocations: 210.6 kB / 0.8257 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.6036, allocations: 1.477 MB / 0.8271 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.6041, allocations: 0.8989 MB / 0.828 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.6043, allocations: 71.14 kB / 0.8281 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.6043, allocations: 0 / 0.8281 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of Templates: time 0.01784/0.6221, allocations: 14.55 MB / 0.8423 GB, free: 5.613 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 -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] "" 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.045185586903244]