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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6207/0.6207, allocations: 94.59 MB / 399.1 MB, free: 15.75 MB / 334.1 MB " [Timeout remaining time 179] 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=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 0.002474/0.002474, allocations: 79.88 kB / 0.5448 GB, free: 12.06 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4023, allocations: 71.84 MB / 0.615 GB, free: 4.078 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.1935/0.5958, allocations: 150.1 MB / 0.7615 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.6121, allocations: 12.19 MB / 0.7734 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006151/0.6127, allocations: 19.88 kB / 0.7734 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.6138, allocations: 298.1 kB / 0.7737 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.6155, allocations: 0.5632 MB / 0.7743 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.6178, allocations: 0.7192 MB / 0.775 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.6192, allocations: 0.9376 MB / 0.7759 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.6195, allocations: 109.7 kB / 0.776 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007901/0.6203, allocations: 406.4 kB / 0.7764 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008791/0.6212, allocations: 490.2 kB / 0.7769 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.6213, allocations: 56 kB / 0.7769 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.6237, allocations: 1.06 MB / 0.7779 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.6239, allocations: 151.4 kB / 0.7781 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004349/0.6243, allocations: 322.3 kB / 0.7784 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.6264, allocations: 1.117 MB / 0.7795 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6264, allocations: 0 / 0.7795 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6264, allocations: 4 kB / 0.7795 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.909e-05/0.6264, allocations: 0 / 0.7795 GB, free: 11.93 MB / 0.6075 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.002469/0.6289, allocations: 1.089 MB / 0.7806 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.6289, allocations: 8.031 kB / 0.7806 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.6291, allocations: 72.52 kB / 0.7806 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.63, allocations: 0.5175 MB / 0.7811 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.6301, allocations: 96.52 kB / 0.7812 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.6302, allocations: 51.98 kB / 0.7813 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.6315, allocations: 0.6519 MB / 0.7819 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.6315, allocations: 0 / 0.7819 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.6316, allocations: 20 kB / 0.7819 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/0.6316, allocations: 17 kB / 0.7819 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.6329, allocations: 0.6714 MB / 0.7826 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004149/0.6371, allocations: 2.459 MB / 0.785 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.6384, allocations: 0.5918 MB / 0.7856 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006634/0.6391, allocations: 334.2 kB / 0.7859 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00293/0.642, allocations: 2.612 MB / 0.7885 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.642, allocations: 39.12 kB / 0.7885 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.335e-06/0.642, allocations: 0 / 0.7885 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=64): time 0.004661/0.6467, allocations: 2.164 MB / 0.7906 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.6467, allocations: 59.97 kB / 0.7907 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/0.6473, allocations: 438.1 kB / 0.7911 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.6473, allocations: 33.7 kB / 0.7911 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.6476, allocations: 253.6 kB / 0.7914 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.6478, allocations: 238 kB / 0.7916 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.648, allocations: 110.2 kB / 0.7917 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.6482, allocations: 374.8 kB / 0.792 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.6487, allocations: 253.1 kB / 0.7923 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/0.6494, allocations: 328.6 kB / 0.7926 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.6505, allocations: 0.6064 MB / 0.7932 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6505, allocations: 8 kB / 0.7932 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001801/0.6523, allocations: 0.8388 MB / 0.794 GB, free: 12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.6524, allocations: 10.5 kB / 0.794 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.6524, allocations: 4 kB / 0.794 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004684/0.6529, allocations: 128.7 kB / 0.7942 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.6534, allocations: 112 kB / 0.7943 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003372/0.6568, allocations: 2.47 MB / 0.7967 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.6572, allocations: 16.03 kB / 0.7967 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.725e-05/0.6573, allocations: 31.97 kB / 0.7967 GB, free: 9.098 MB / 0.6231 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.0003485/0.6576, allocations: 193.7 kB / 0.7969 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.6578, allocations: 59.62 kB / 0.797 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.66, allocations: 1.032 MB / 0.798 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.66, allocations: 8 kB / 0.798 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.66, allocations: 4 kB / 0.798 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.66, allocations: 3.984 kB / 0.798 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.663, allocations: 1.65 MB / 0.7996 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.663, allocations: 0 / 0.7996 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.6636, allocations: 99.86 kB / 0.7997 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/0.664, allocations: 132.7 kB / 0.7998 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.664, allocations: 19.98 kB / 0.7998 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/0.667, allocations: 2.408 MB / 0.8022 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.667, allocations: 0 / 0.8022 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.6695, allocations: 1.246 MB / 0.8034 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.6696, allocations: 132.7 kB / 0.8035 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.6697, allocations: 12 kB / 0.8035 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.6701, allocations: 19.98 kB / 0.8036 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.6702, allocations: 44.5 kB / 0.8036 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/0.6703, allocations: 23.98 kB / 0.8036 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004517/0.6707, allocations: 338.9 kB / 0.804 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6707, allocations: 0 / 0.804 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009727/0.6717, allocations: 283.4 kB / 0.8042 GB, free: 1.145 MB / 0.6231 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.0007314/0.6724, allocations: 406.3 kB / 0.8046 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.6743, allocations: 0.8568 MB / 0.8054 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6743, allocations: 4 kB / 0.8054 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.6754, allocations: 0.5518 MB / 0.806 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.6764, allocations: 211.9 kB / 0.8062 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.6793, allocations: 1.431 MB / 0.8076 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.6799, allocations: 0.9073 MB / 0.8085 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004502/0.6804, allocations: 140.7 kB / 0.8086 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.6805, allocations: 63.41 kB / 0.8087 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/0.6805, allocations: 0 / 0.8087 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of Templates: time 0.02679/0.7073, allocations: 14.01 MB / 0.8223 GB, free: 14.52 MB / 0.6544 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.1817342061549425]