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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.Turbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|turbine.m_flow|turbine1.m_flow|turbine1.omega|turbine1.phi",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 110.9 kB / 16.37 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 189.9 kB / 17.3 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6709/0.6709, allocations: 89.48 MB / 380.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 79.88 kB / 459.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1163, allocations: 67.3 MB / 0.5146 GB, free: 7.227 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.3345/0.4509, allocations: 149.2 MB / 0.6604 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01388/0.4648, allocations: 11.99 MB / 0.6721 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.4652, allocations: 7.938 kB / 0.6721 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007891/0.466, allocations: 282.2 kB / 0.6724 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.4672, allocations: 0.5282 MB / 0.6729 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.4692, allocations: 0.7149 MB / 0.6736 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008396/0.47, allocations: 0.8625 MB / 0.6744 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.4703, allocations: 165 kB / 0.6746 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004474/0.4707, allocations: 358.8 kB / 0.6749 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.4713, allocations: 462.4 kB / 0.6754 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.4714, allocations: 54.62 kB / 0.6754 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.4732, allocations: 1.053 MB / 0.6764 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.4734, allocations: 143.5 kB / 0.6766 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.4737, allocations: 306.5 kB / 0.6769 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.475, allocations: 1.034 MB / 0.6779 GB, free: 76 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.475, allocations: 0 / 0.6779 GB, free: 76 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.092e-06/0.475, allocations: 0 / 0.6779 GB, free: 76 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.475, allocations: 3.984 kB / 0.6779 GB, free: 72 kB / 0.5137 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.001778/0.4768, allocations: 0.9978 MB / 0.6788 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.4768, allocations: 8.031 kB / 0.6789 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.477, allocations: 64.19 kB / 0.6789 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.4775, allocations: 391.7 kB / 0.6793 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.9e-05/0.4776, allocations: 88.95 kB / 0.6794 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.678e-05/0.4777, allocations: 56.47 kB / 0.6794 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.4787, allocations: 0.6664 MB / 0.6801 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4787, allocations: 4 kB / 0.6801 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.4788, allocations: 20 kB / 0.6801 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.4788, allocations: 20.98 kB / 0.6801 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.4799, allocations: 0.6714 MB / 0.6808 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/0.4833, allocations: 2.418 MB / 0.6831 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.4845, allocations: 0.6399 MB / 0.6838 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.4851, allocations: 350.4 kB / 0.6841 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/0.4874, allocations: 2.616 MB / 0.6867 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.4874, allocations: 44.91 kB / 0.6867 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.064e-06/0.4875, allocations: 0 / 0.6867 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.003958/0.4914, allocations: 2.128 MB / 0.6888 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.4915, allocations: 111.4 kB / 0.6889 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.4919, allocations: 353.7 kB / 0.6892 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.4919, allocations: 37.7 kB / 0.6893 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.4921, allocations: 213.4 kB / 0.6895 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.4923, allocations: 224.8 kB / 0.6897 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.4924, allocations: 106.2 kB / 0.6898 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4926, allocations: 366.7 kB / 0.6901 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004647/0.4931, allocations: 257.1 kB / 0.6904 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.4936, allocations: 346.2 kB / 0.6907 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009967/0.4946, allocations: 0.6104 MB / 0.6913 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4946, allocations: 0.75 kB / 0.6913 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001453/0.4961, allocations: 0.8346 MB / 0.6921 GB, free: 452 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4961, allocations: 4 kB / 0.6921 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.4961, allocations: 4 kB / 0.6921 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004117/0.4965, allocations: 141.3 kB / 0.6923 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.497, allocations: 105.7 kB / 0.6924 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.4996, allocations: 2.466 MB / 0.6948 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.4999, allocations: 19.98 kB / 0.6948 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.5, allocations: 24.55 kB / 0.6948 GB, free: 13.54 MB / 0.545 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.0002257/0.5002, allocations: 197.7 kB / 0.695 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.5003, allocations: 51.34 kB / 0.695 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.5021, allocations: 1.02 MB / 0.696 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.5021, allocations: 8 kB / 0.696 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5021, allocations: 4 kB / 0.696 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5021, allocations: 5.156 kB / 0.6961 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.5045, allocations: 1.624 MB / 0.6976 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.5045, allocations: 6.531 kB / 0.6976 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.505, allocations: 103.9 kB / 0.6977 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003472/0.5054, allocations: 125.3 kB / 0.6979 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/0.5054, allocations: 25.2 kB / 0.6979 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.5077, allocations: 2.408 MB / 0.7002 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5078, allocations: 0 / 0.7002 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.5097, allocations: 1.234 MB / 0.7014 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.5098, allocations: 124.5 kB / 0.7016 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.5099, allocations: 20 kB / 0.7016 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.5102, allocations: 19.92 kB / 0.7016 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.868e-05/0.5103, allocations: 40.5 kB / 0.7016 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.5103, allocations: 24.86 kB / 0.7017 GB, free: 6.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002718/0.5106, allocations: 283.1 kB / 0.7019 GB, free: 5.992 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5106, allocations: 0 / 0.7019 GB, free: 5.992 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008799/0.5115, allocations: 280 kB / 0.7022 GB, free: 5.719 MB / 0.545 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.0007478/0.5123, allocations: 396.7 kB / 0.7026 GB, free: 5.336 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.5138, allocations: 0.8843 MB / 0.7034 GB, free: 4.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5138, allocations: 0 / 0.7034 GB, free: 4.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008785/0.5147, allocations: 0.5793 MB / 0.704 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009006/0.5156, allocations: 197.7 kB / 0.7042 GB, free: 3.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.5178, allocations: 1.323 MB / 0.7055 GB, free: 2.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.5182, allocations: 0.8799 MB / 0.7063 GB, free: 1.422 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003659/0.5186, allocations: 132.6 kB / 0.7065 GB, free: 1.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.5187, allocations: 55.41 kB / 0.7065 GB, free: 1.246 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.5187, allocations: 0 / 0.7065 GB, free: 1.246 MB / 0.545 GB Notification: Performance of Templates: time 0.02013/0.5388, allocations: 13.49 MB / 0.7197 GB, free: 3.934 MB / 0.5606 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches