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.00144/0.00144, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.001587/0.001587, allocations: 162.5 kB / 22.45 MB, free: 5.375 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.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.9689/0.9689, allocations: 116 MB / 375.2 MB, free: 7.523 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5537 GB, free: 13.79 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.323e-05, allocations: 2.984 kB / 0.5537 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1711/0.1712, allocations: 130.1 MB / 0.6808 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0142/0.1854, allocations: 10.25 MB / 0.6908 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006652/0.186, allocations: 35.69 kB / 0.6909 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009919/0.187, allocations: 273.9 kB / 0.6911 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.2814/0.4685, allocations: 0.6048 MB / 0.6917 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.4707, allocations: 0.7381 MB / 0.6924 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.4723, allocations: 1.054 MB / 0.6935 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.4726, allocations: 105.8 kB / 0.6936 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.4738, allocations: 0.5699 MB / 0.6941 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000793/0.4746, allocations: 441.7 kB / 0.6945 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.4747, allocations: 52.97 kB / 0.6946 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.4769, allocations: 0.9112 MB / 0.6955 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.4771, allocations: 160.5 kB / 0.6956 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.4774, allocations: 235.6 kB / 0.6959 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.4796, allocations: 1.176 MB / 0.697 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4796, allocations: 0 / 0.697 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4796, allocations: 0.9688 kB / 0.697 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.4796, allocations: 0 / 0.697 GB, free: 6.777 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.002325/0.482, allocations: 1.032 MB / 0.698 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.482, allocations: 9.641 kB / 0.698 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.4823, allocations: 90.27 kB / 0.6981 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.4831, allocations: 478.2 kB / 0.6986 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.914e-05/0.4832, allocations: 144.6 kB / 0.6987 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-05/0.4833, allocations: 50.75 kB / 0.6988 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.4845, allocations: 0.7102 MB / 0.6995 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.4845, allocations: 9.438 kB / 0.6995 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.4845, allocations: 16.19 kB / 0.6995 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/0.4846, allocations: 22.62 kB / 0.6995 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.4858, allocations: 0.6811 MB / 0.7002 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003428/0.4893, allocations: 1.868 MB / 0.702 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.4906, allocations: 0.5403 MB / 0.7025 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000681/0.4913, allocations: 294.4 kB / 0.7028 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/0.493, allocations: 317.3 kB / 0.7031 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.493, allocations: 39.12 kB / 0.7031 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 2.405e-06/0.493, allocations: 1.156 kB / 0.7031 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=64): time 0.004096/0.4971, allocations: 1.808 MB / 0.7049 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.4971, allocations: 58.91 kB / 0.705 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.4975, allocations: 385.9 kB / 0.7053 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.4976, allocations: 35.7 kB / 0.7054 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.4977, allocations: 262.1 kB / 0.7056 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.4978, allocations: 227.8 kB / 0.7058 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.498, allocations: 114 kB / 0.7059 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.4981, allocations: 365.9 kB / 0.7063 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.4985, allocations: 229.4 kB / 0.7065 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.499, allocations: 304.6 kB / 0.7068 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009457/0.4999, allocations: 0.5598 MB / 0.7073 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4999, allocations: 0 / 0.7073 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001505/0.5014, allocations: 0.7901 MB / 0.7081 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5014, allocations: 6.938 kB / 0.7081 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5015, allocations: 3.438 kB / 0.7081 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/0.5019, allocations: 133.7 kB / 0.7083 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.5023, allocations: 116.8 kB / 0.7084 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.5045, allocations: 2.311 MB / 0.7106 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.5049, allocations: 23.67 kB / 0.7106 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.505, allocations: 26.66 kB / 0.7107 GB, free: 2.391 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.0002748/0.5053, allocations: 192.5 kB / 0.7109 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.5055, allocations: 73.91 kB / 0.7109 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.5072, allocations: 0.9873 MB / 0.7119 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.5072, allocations: 5.188 kB / 0.7119 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5072, allocations: 4.203 kB / 0.7119 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.5072, allocations: 3.047 kB / 0.7119 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.5094, allocations: 1.406 MB / 0.7133 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.5095, allocations: 10.47 kB / 0.7133 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.5099, allocations: 100.5 kB / 0.7134 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/0.5103, allocations: 134 kB / 0.7135 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.5103, allocations: 22.42 kB / 0.7135 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.5123, allocations: 2.253 MB / 0.7157 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5123, allocations: 3.438 kB / 0.7157 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.5141, allocations: 1.167 MB / 0.7169 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.5143, allocations: 114 kB / 0.717 GB, free: 236 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.5144, allocations: 16.34 kB / 0.717 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.5147, allocations: 22.25 kB / 0.717 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.5148, allocations: 48.91 kB / 0.7171 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.5149, allocations: 23.81 kB / 0.7171 GB, free: 232 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002462/0.5151, allocations: 298.6 kB / 0.7174 GB, free: 144 kB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5151, allocations: 0 / 0.7174 GB, free: 144 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009339/0.516, allocations: 297.5 kB / 0.7177 GB, free: 108 kB / 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.0006722/0.5167, allocations: 407.8 kB / 0.718 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.5182, allocations: 0.7997 MB / 0.7188 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5182, allocations: 1.062 kB / 0.7188 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008771/0.5191, allocations: 0.532 MB / 0.7193 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.5203, allocations: 228.5 kB / 0.7196 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.5227, allocations: 1.289 MB / 0.7208 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.5229, allocations: 315.3 kB / 0.7211 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003915/0.5233, allocations: 142 kB / 0.7213 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.5235, allocations: 61.45 kB / 0.7213 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.5235, allocations: 0 / 0.7213 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of Templates: time 0.02194/0.5454, allocations: 14.38 MB / 0.7354 GB, free: 13.29 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/jenkins/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: 6.569150600582361]